diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-04-21 10:05:36 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-04-21 10:05:36 +0000 |
| commit | 14273b61f0840e5539cd6fdf1c71f3146b536abe (patch) | |
| tree | 8752bebf5fa4d3972e071f905850ff2e3f9b95ea /test/data | |
| parent | d3c4b5da6a44a69fa6b2835aed3ae669b7204404 (diff) | |
| download | docutils-14273b61f0840e5539cd6fdf1c71f3146b536abe.tar.gz | |
latex2e writer: Shorter preamble and less dependencies;
Load packages and define macros only if required in the document.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@5906 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/data')
| -rw-r--r-- | test/data/ham.tex | 2 | ||||
| -rw-r--r-- | test/data/spam.sty | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/test/data/ham.tex b/test/data/ham.tex index 35e483f99..994e00a6d 100644 --- a/test/data/ham.tex +++ b/test/data/ham.tex @@ -1 +1 @@ -\AtBeginDocument{ham ham wonderful ham\\} +\newcommand{\ham}{wonderful ham} diff --git a/test/data/spam.sty b/test/data/spam.sty index 0954853bd..2288ae31c 100644 --- a/test/data/spam.sty +++ b/test/data/spam.sty @@ -1,4 +1,3 @@ \ProvidesPackage{spam} [2008/12/09 v0.2 simple silly test package] -\RequirePackage{parskip} -\AtBeginDocument{\@percentchar\ spam spam wonderfull spam\\} +\newcommand{\spam}{\@percentchar\ wonderfull spam} |
