X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=blobdiff_plain;f=mlastyle.dtx;h=8d84354c840a64f95aed4d52dfef72ff26517574;hp=63a0acb49bd1306a5744c4d6a40a2f38402879f2;hb=885902a5184cdb79f6b255093279a45cbc5e95d6;hpb=0fc73daffde8ec23fde9b4973570b760f1b9ccfc diff --git a/mlastyle.dtx b/mlastyle.dtx index 63a0acb..8d84354 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} @@ -289,7 +308,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 +406,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,6 +465,7 @@ % 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, @@ -454,6 +473,10 @@ % \emph{\LaTeX\/})} instead of \examp[.]{(Lamport, \emph{\LaTeX: A Document % Preparation System\/})} % +% 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} % % \section{Implementation}