summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/index/plaintst.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/index/plaintst.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/index/plaintst.tex')
-rw-r--r--macros/latex/contrib/index/plaintst.tex52
1 files changed, 52 insertions, 0 deletions
diff --git a/macros/latex/contrib/index/plaintst.tex b/macros/latex/contrib/index/plaintst.tex
new file mode 100644
index 0000000000..0dd9f6e56d
--- /dev/null
+++ b/macros/latex/contrib/index/plaintst.tex
@@ -0,0 +1,52 @@
+%% For format this file, run the following commands:
+%%
+%% latex plaintst.tex
+%% bibtex plaintst.tex
+%% latex plaintst.tex
+%% latex plaintst.tex
+%% makeindex -o plaintst.and plaintst.adx
+%% makeindex -s bibref.ist -o plaintst.bnd plaintst.bdx
+%% latex plaintst.tex
+
+\documentclass{article}
+
+\errorcontextlines10
+
+\usepackage{bibref,autind}
+
+\newindex{aut}{adx}{and}{Name Index}
+
+\begin{document}
+
+\adjustcitation\cite
+
+\nocite*
+
+\cite{CantoneCP90,Adamowicz92}
+
+\cite[page 21]{AdlemanMa76}
+
+\cite{CaludeP83}
+
+\newpage
+
+Second page.
+
+\cite{Adamowicz92}
+
+\cite[foo]{Baker68}
+
+\newpage
+
+Third page.
+
+\cite{Adamowicz92}
+
+\newpage
+
+\bibliographystyle{xplain}
+\bibliography{test}
+
+\printindex[aut]
+
+\end{document}