%
%<*driver>
\begin{filecontents}{mlastyle.bib}
+@PREAMBLE{"\def\BibTeX{\rmfamily B\kern -.05em\textsc {i\kern -.025emb}\kern -.08emT\kern -.1667em\lower .7ex\hbox {E}\kern -.125emX}"}
+
@BOOK{handbook,
AUTHOR = "Joseph Gibaldi",
TITLE = "MLA Handbook for Writers of Research Papers",
- TITLE = "MLA Handbook",
+ KEY = "MLA Handbook",
EDITION = "Sixth",
ADDRESS = "New York",
PUBLISHER = "MLA",
YEAR = "2003"}
-@BOOK{latex,
+@BOOK{latexdps,
AUTHOR = "Leslie Lamport",
- TITLE = "\LaTeX: A Document Preparation System",
- KEY = "\LaTeX",
+ TITLE = "{\LaTeX}: A Document Preparation System",
+ KEY = "{\LaTeX}",
EDITION = "Second",
ADDRESS = "Reading",
PUBLISHER = "Addison-Wesley",
YEAR = "1994"}
+
+@MANUAL{lshort,
+ AUTHOR = "Tobias Oetker and Hubert Partl and Irene Hyna and Elisabeth
+Schlegl",
+ TITLE = "The Not So Short Introduction to {\LaTeXe}",
+ KEY = "Not So Short",
+ YEAR = "2000",
+ MONTH = dec,
+ VERSION = "4.0",
+ ACCESSDATE = "1~"#nov#"~2003",
+ URL = "CTAN://info/lshort/"}
+
+@MANUAL{btxdoc,
+ AUTHOR = "Oren Patashnik",
+ TITLE = "{\BibTeX ing}",
+ YEAR = "1988",
+ MONTH = feb,
+ ACCESSDATE = "1~"#nov#"~2003",
+ URL = "CTAN://biblio/bibtex/distribs/doc/btxdoc.tex"}
\end{filecontents}
\documentclass[draft]{ltxdoc}
\iffalse
\else
\usepackage[compat]{mlastyle}
\bibliographystyle{plain}
- \addtolength{\headsep}{-5pt}
+ %\addtolength{\headsep}{-5pt}
%\addtolength{\headheight}{-12pt}
- \addtolength{\topmargin}{-17pt}
- \addtolength{\textheight}{22pt}
+ %\addtolength{\topmargin}{-17pt}
+ %\addtolength{\textheight}{22pt}
\IfFileExists{ulem.sty}{\usepackage[normalem]{ulem}}{\let\uline\emph}
\fi
\IfFileExists{times.sty}%
%\begin{verbatim}
%\begin{thebibliography}{}
%
-%\bibitem[Lamport]{latex}
+%\bibitem[Lamport]{latexdps}
%Lamport, Leslie.
-%\newblock {\em \LaTeX: A Document Preparation System}.
+%\newblock \emph{\LaTeX: A Document Preparation System}.
%\newblock 2nd.~ed.
%\newblock Reading: Addison-Wesley, 1994.
%
%\end{thebibliography}\end{verbatim}
% In this example, |Lamport| is the author's last name (for use in
-% citations) and |latex| is the marker used to reference it (see
+% citations) and |latexdps| is the marker used to reference it (see
% section~\ref{sec:parenthetical}).
%
% For information on automatically generating the list of works cited with
% parentheses are omitted by \DescribeMacro{\citeN}|\citeN|. This was
% intended for use in cross references, but it can also help in citing
% multiple works. The result of
-% |(\citeN[42]{texbook}|\texttt{; }|\citeN[69]{latex})|
+% |(\citeN[42]{texbook}|\texttt{; }|\citeN[69]{latexdps})|
% would be something like \examp[.]{(Knuth 42; Lamport 69)}
%
% \subsubsection{Using {\rm \BibTeX}} \label{sec:bibtex}
% and \Lopt{style} modes and a bibliography style of |plain| in
% \Lopt{format} and \Lopt{compat} modes.
%
-% Use of \BibTeX{} is also beyond the scope of this document; instead,
-% another example is provided. To use it, substitute
+% Use of \BibTeX{} is also beyond the scope of this document; consult
+% Patashnik\citeC{btxdoc} for an introduction.
+% Briefly, to use the following example, substitute
% |\bibliography|\marg{filename} for the |thebibliography| environment.
% Then create \meta{filename}\file{.bib} with the contents below.
% Generating the document entails running \file{latex} on the \file{.tex}
% file, \file{bibtex} on the resulting \file{.aux} file, then \file{latex}
% twice more.
%\begin{verbatim}
-%@BOOK{latex,
+%@BOOK{latexdps,
% AUTHOR = "Leslie Lamport",
-% TITLE = "\LaTeX: A Document Preparation System",
-% KEY = "\LaTeX",
+% TITLE = "{\LaTeX}: A Document Preparation System",
+% KEY = "{\LaTeX}",
% EDITION = "Second",
% ADDRESS = "Reading",
% PUBLISHER = "Addison-Wesley",
% In \package{mlastyle}, The |KEY| field serves the additional purpose of
% specifying an abbreviated title. This is unnecessary in the above
% example. If an additional book by Leslie Lamport was included, however,
-% the |KEY| field would allow |\cite{latex}| to yield \examp{(Lamport,
+% the |KEY| field would allow |\cite{latexdps}| to yield \examp{(Lamport,
% \emph{\LaTeX\/})} instead of \examp[.]{(Lamport, \emph{\LaTeX: A
% Doc\-um\-ent Pre\-pa\-ra\-tion Sys\-tem\/})}
%
% \begin{macrocode}
{ \def\thebibliography#1{\newpage\section*{\refname}
\list{\@biblabel{\@arabic\c@enumiv}}%
- {\settowidth\labelwidth{\@biblabel{#1}}}
- \leftmargin\labelwidth
- \advance\leftmargin\labelsep
- \itemindent-\leftmargin
- \def\newblock{}
- \usecounter{enumiv}
- \sloppy%\sfcode`\.=1000\relax
- \catcode`/=13\let/=\mlastyle@slash}}
+ {\settowidth\labelwidth{\@biblabel{#1}}}
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \itemindent-\leftmargin
+ \def\newblock{}
+ \usecounter{enumiv}
+ %\catcode`\/=13\global\let/=\mlastyle@slash
+ \sloppy%\sfcode`\.=\@m
+ }}
% \end{macrocode}
% Report/book class.
% \begin{macrocode}
{ \def\thebibliography#1{\chapter*{\bibname}
\list{\@biblabel{\@arabic\c@enumiv}}%
- {\settowidth\labelwidth{\@biblabel{#1}}}
- \leftmargin\labelwidth
- \advance\leftmargin\labelsep
- \itemindent-\leftmargin
- \def\newblock{}
- \usecounter{enumiv}
- \sloppy%\sfcode`\.=1000\relax
- \catcode`/=13\let/=\mlastyle@slash}}
+ {\settowidth\labelwidth{\@biblabel{#1}}}
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \itemindent-\leftmargin
+ \def\newblock{}
+ \usecounter{enumiv}
+ %\catcode`/=13\let/=\mlastyle@slash
+ \sloppy%\sfcode`\.=\@m
+ }}
% \end{macrocode}
% \end{environment}
% \begin{macrocode}