X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=blobdiff_plain;f=mlastyle.dtx;h=cf298a55732116a81d037c1abde55268b3473c0b;hp=d6566af6307128bfa527d2948651cabd3362ce72;hb=15cf12ff3e625f8efa81ce8dd28036446e7fa5f3;hpb=5b3dc9b27b402c491d4b5d154267609edd1f8c16 diff --git a/mlastyle.dtx b/mlastyle.dtx index d6566af..cf298a5 100644 --- a/mlastyle.dtx +++ b/mlastyle.dtx @@ -21,6 +21,25 @@ % [2003/11/09 v0.9 MLA format and documentation style] % %<*driver> +\begin{filecontents}{mlastyle.bib} +@BOOK{handbook, + AUTHOR = "Joseph Gibaldi", + TITLE = "MLA Handbook for Writers of Research Papers", + TITLE = "MLA Handbook", + EDITION = "Sixth", + ADDRESS = "New York", + PUBLISHER = "MLA", + YEAR = "2003"} + +@BOOK{latex, + AUTHOR = "Leslie Lamport", + TITLE = "\LaTeX: A Document Preparation System", + KEY = "\LaTeX", + EDITION = "Second", + ADDRESS = "Reading", + PUBLISHER = "Addison-Wesley", + YEAR = "1994"} +\end{filecontents} \documentclass[draft]{ltxdoc} \iffalse \usepackage[mla]{mlastyle} @@ -106,6 +125,7 @@ % \DoNotIndex{\G@refundefinedtrue} % \DoNotIndex{\ProcessOptions} % \DoNotIndex{\RequirePackage} +% \DoNotIndex{\UL@start,\UL@stop} % \DoNotIndex{\addtolength} % \DoNotIndex{\advance} % \DoNotIndex{\baselineskip} @@ -289,7 +309,7 @@ %\instructor{Professor Smith} %\course{English 101} %\date{1~Jan.\ 1970} -%\title{The Inherent Sadism of Compulsory English Classes} +%\title{The Sadism Inherent in Compulsory English Classes} % %\begin{document} %\maketitle @@ -387,7 +407,6 @@ %\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 % section~\ref{sec:parenthetical}). @@ -447,12 +466,17 @@ % ADDRESS = "Reading", % PUBLISHER = "Addison-Wesley", % YEAR = "1994"}\end{verbatim} +% % 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{lamport}| to yield \examp{(Lamport, -% \emph{\LaTeX\/})} instead of \examp[.]{(Lamport, \emph{\LaTeX: A Document -% Preparation System\/})} +% the |KEY| field would allow |\cite{latex}| to yield \examp{(Lamport, +% \emph{\LaTeX\/})} instead of \examp[.]{(Lamport, \emph{\LaTeX: A +% Doc\-um\-ent Pre\-pa\-ra\-tion Sys\-tem\/})} +% +% Note that only entries referenced by a citation are included in the list +% of works cited; to force the inclusion of an entry or all entries, use +% |\nocite|\marg{marker} and |\nocite{*}|, respectively. % % \StopEventually{\PrintChanges\bibliography{mlastyle}\PrintIndex} %