From 2e1e0e12a311a7c91c274399fc004b41e59aad24 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 16 Nov 2003 17:51:45 +0000 Subject: [PATCH] Added lshort bibliography entry commented out /'s active definition --- mlastyle.dtx | 56 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 34 insertions(+), 22 deletions(-) diff --git a/mlastyle.dtx b/mlastyle.dtx index cf298a5..c469d4b 100644 --- a/mlastyle.dtx +++ b/mlastyle.dtx @@ -31,7 +31,7 @@ PUBLISHER = "MLA", YEAR = "2003"} -@BOOK{latex, +@BOOK{latexdps, AUTHOR = "Leslie Lamport", TITLE = "\LaTeX: A Document Preparation System", KEY = "\LaTeX", @@ -39,6 +39,16 @@ 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}}, + year = 2000, + month = "11~"#dec, + version = {4.0}, + url = {CTAN://info/lshort/} +} \end{filecontents} \documentclass[draft]{ltxdoc} \iffalse @@ -280,7 +290,7 @@ % \surname{Pope} % % \maketitle -% +% \nocite{*} % \tableofcontents % % \section{Introduction} @@ -400,7 +410,7 @@ %\begin{verbatim} %\begin{thebibliography}{} % -%\bibitem[Lamport]{latex} +%\bibitem[Lamport]{latexdps} %Lamport, Leslie. %\newblock {\em \LaTeX: A Document Preparation System}. %\newblock 2nd.~ed. @@ -436,7 +446,7 @@ % 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} @@ -458,7 +468,7 @@ % 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", @@ -470,7 +480,7 @@ % 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\/})} % @@ -788,27 +798,29 @@ % \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} -- 2.30.2