X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=blobdiff_plain;f=mlastyle.dtx;h=a36447ba96cd8b64badf27b67ad4ef82e60ae16e;hp=c469d4beb378ea5feb74114f4b20aa5b9ade261a;hb=bf44439596cc2255a442b423bfbb57d7c84909b7;hpb=2e1e0e12a311a7c91c274399fc004b41e59aad24 diff --git a/mlastyle.dtx b/mlastyle.dtx index c469d4b..a36447b 100644 --- a/mlastyle.dtx +++ b/mlastyle.dtx @@ -22,10 +22,12 @@ % %<*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", @@ -33,22 +35,31 @@ @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}}, - year = 2000, - month = "11~"#dec, - version = {4.0}, - url = {CTAN://info/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 @@ -60,10 +71,10 @@ Schlegl}, \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}% @@ -290,7 +301,7 @@ Schlegl}, % \surname{Pope} % % \maketitle -% \nocite{*} +% % \tableofcontents % % \section{Introduction} @@ -412,13 +423,13 @@ Schlegl}, % %\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 @@ -460,8 +471,9 @@ Schlegl}, % 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} @@ -470,8 +482,8 @@ Schlegl}, %\begin{verbatim} %@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",