diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-20 21:39:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-20 21:39:56 +0000 |
commit | 26a263f4b5fc1171444b7d04d05b1831317f36b5 (patch) | |
tree | 15266f5e3cdc85401c1a101380484d2a42546454 /Master/texmf-dist/tex/latex/mylatexformat | |
parent | 02b0b6f506ffda8c9043310519b3b4bdd18fdaac (diff) |
mylatexformat 3.3 (19jan11)
git-svn-id: svn://tug.org/texlive/trunk@21136 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mylatexformat')
-rw-r--r-- | Master/texmf-dist/tex/latex/mylatexformat/mylatexformat.ltx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/mylatexformat/mylatexformat.ltx b/Master/texmf-dist/tex/latex/mylatexformat/mylatexformat.ltx index a6706d7e980..629824038d0 100644 --- a/Master/texmf-dist/tex/latex/mylatexformat/mylatexformat.ltx +++ b/Master/texmf-dist/tex/latex/mylatexformat/mylatexformat.ltx @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% mylatexformat : 2011/01/18 v3.2 - Use mylatexformat.ltx to make a format based on the preamble of any LaTeX file +%% mylatexformat : 2011/01/19 v3.3 - Use mylatexformat.ltx to make a format based on the preamble of any LaTeX file %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -27,7 +27,7 @@ %%% mylatexformat.ltx %%% ^^^^^^^^^^^^^^^^^ %%% From an original idea by David Carlisle - mylatex.ltx 1994/09/27 -%%% ^^a9 lppl 2010-2011 - F Chervet - 2011/01/18 v3.2 +%%% ^^a9 lppl 2010-2011 - F Chervet - 2011/01/19 v3.3 %%% _____________________________________________________________________ %%% %%% Use this file to make a format based on the preamble of any LaTeX @@ -203,7 +203,7 @@ %% \document is changed or patched by some classes or packages %% (auxhook, etoolbox etc.) { - \def\x #1{\gdef\begin ##1{\MYLATEX@StopAtdocument{##1}#1}%^^f9 + \def\x #1{\gdef\begin ##1{\MYLATEX@StopAtdocument{##1}#1}% }\expandafter\x\expandafter{\begin{#1}}% } \def\MYLATEX@restore@begin{% @@ -211,7 +211,12 @@ \gdef\begin ####1{##1##3}% }\expandafter\MYLATEX@restore@begin\begin{##1}\@nil \global\let\MYLATEX@restore@begin \@undefined + \global\let\MYLATEX@StopAtdocument \@undefined }% \MYLATEX@restore@begin +\def\MYLATEX@StopAtdocument#1{% + \expandafter\ifx\csname#1\endcsname\document + \expandafter\endofdump\fi +}% \MYLATEX@StopAtdocument %% The version of \document to use on the initex run. %% Just preloads some fonts, puts back \document and \openout, %% sets up the banner to display the file list of files preloaded, @@ -233,8 +238,6 @@ }}% \let\openout \etex@primitive@openout% just in case - normally not necessary \MYLATEX@restore@begin -%% \let\begin \MYLATEX@ltx@begin -%% \let\MYLATEX@ltx@begin \@undefined \MYLATEX@cmap@hook \makeatother \everyjob\expandafter{\the\everyjob |