]> mj.ucw.cz Git - saga.git/blobdiff - macros.tex
Added bibliography.
[saga.git] / macros.tex
index 68bba1e84b8cdc0111a16271017280f1d1438fc5..206c037b52f8c46e06c5f05f1d860087155287ae 100644 (file)
@@ -2,6 +2,7 @@
 % (c) 2008 Martin Mares <mj@ucw.cz>
 
 \input epsf.tex
+\input btxmac.tex
 
 \catcode`@=11
 
@@ -30,7 +31,6 @@
 \def\<#1>{\leavevmode\hbox{\it #1\/}}
 \let\>=\noindent
 \def\qed{{\parfillskip=0pt\allowbreak\hfill\nobreak $\spadesuit$\par}}
-\let\endpart=\bye
 
 % Footnotes
 \newcount\footcnt
@@ -96,7 +96,7 @@
 \def\it{\fam\itfam\twelveit}
 \def\bo{\fam\bffam\twelveb}
 \def\bf{\fam\bffam\twelvebf}
-\def\tt{\fam\ttfam\twelvett\hyphenchar\currentfont=-1\relax}
+\def\tt{\fam\ttfam\twelvett\hyphenchar\twelvett=-1\relax}
 \def\sc{\twelvesc}
 \def\sl{\fam\slfam\twelvesl}
 
 \def\secref#1{\ref{sec#1}}
 \def\thmref#1{\ref{thm#1}}
 
+%%% Bibliography %%%
+
+\bibliographystyle{abbrv}
+\def\dumpbib{
+  \def\bblhook{\parskip=2pt plus 1pt minus 0.5pt}
+  \bibliography{biblio}
+}
+
+%%% Stand-alone chapters %%%
+
+\def\endpart{
+  \section{Bibliography}
+  \dumpbib
+  \vfill\supereject\end
+}
+
 %%% The End %%%
 
 \catcode`@=12