summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/eplain/base/test/hlcite.tex
blob: ec27c4e8fbe9ab4e310511a41608f8e56cb6d16f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
\input ../eplain
%\enablehyperlinks[nolinks]
%\enablehyperlinks[pdftex]
%\enablehyperlinks[dvipdfm]
\enablehyperlinks

\ifpdf
  \pdfpagewidth=8.5in
  \pdfpageheight=11in
\fi

\beginpackages
  \usepackage{color}
\endpackages

\hldestopts[bib]{raise=\ht\strutbox}
\hlopts![cite]{bstyle=U}


% Bibliography in front of the text.

%\beginsection{References.}\par   % Title for the bibliography.
%\bibliography{knuth,xampl} % Use knuth.bib (from Eplain) and xampl.bib
                            % (from BibTeX) for the labels.
%\bibliographystyle{plain}
%\vfil\eject


Two citations to Knuthian works:
  \cite[note]{surreal,concrete-math}.


\vfil\eject
Three citations:
  \cite[note]{surreal,article-crossref,whole-journal}.

One citation:
  \cite{article-crossref}.


% Bibliography after the text.

\vfil\eject
\beginsection{References.}\par   % Title for the bibliography.
\bibliography{knuth,xampl} % Use knuth.bib (from Eplain) and xampl.bib
                           % (from BibTeX) for the labels.
\bibliographystyle{plain}


\bye

% Local variables:
% compile-command: "rm -f hlcite.aux hlcite.bbl && tex --interact=nonstopmode hlcite && bibtex hlcite && tex --interact=nonstopmode hlcite && tex --interact=nonstopmode hlcite && dvipdfm -p letter hlcite"
% compile-command: "rm -f hlcite.aux hlcite.bbl && pdftex --interact=nonstopmode hlcite && bibtex hlcite && pdftex --interact=nonstopmode hlcite && pdftex --interact=nonstopmode hlcite"
% End: