diff options
author | Norbert Preining <preining@logic.at> | 2007-11-27 15:27:45 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-27 15:27:45 +0000 |
commit | 296f7e0921065722d9da9e2df000b3c3747a6cc0 (patch) | |
tree | 96f3caba95399697f8133df9ec8cfa18565fc5cb /Master/texmf-dist/tex/eplain/btxmac.tex | |
parent | 7e2204f4ea41a8f2ef3d1749332042f0b050d365 (diff) |
eplain 3.2 from CTAN
git-svn-id: svn://tug.org/texlive/trunk@5622 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/eplain/btxmac.tex')
-rw-r--r-- | Master/texmf-dist/tex/eplain/btxmac.tex | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/eplain/btxmac.tex b/Master/texmf-dist/tex/eplain/btxmac.tex index 4b7fda7c61e..c8772a176b2 100644 --- a/Master/texmf-dist/tex/eplain/btxmac.tex +++ b/Master/texmf-dist/tex/eplain/btxmac.tex @@ -1,6 +1,6 @@ %% @texfile{ %% author = "Karl Berry and Oren Patashnik", -%% version = "0.99k-18aug05", +%% version = "0.99k-09sep07", %% date = "19 August 2005", %% filename = "btxmac.tex", %% address = "tex-eplain@tug.org", @@ -513,7 +513,16 @@ % the \@citedef, we define \@citelabel{#1}, where #1 is the user's % label. % -\def\@citedef#1#2{\expandafter\gdef\csname\@citelabel{#1}\endcsname{#2}}% +% The group around the def will keep the save stack from overflowing: +% We are reading the .aux file inside a group. For undefined +% commands, \csname...\endcsname makes them equivalent to \relax +% locally in that group; when we globally redefine them, TeX enters +% the definitions on the save stack, once for each label. When done +% in the topmost group, this can overflow stack of any size, given +% sufficient number of label definitions. So, we put these +% \csname...\endcsname's inside another group, to pop the stack for +% every label. +\def\@citedef#1#2{{\expandafter\gdef\csname\@citelabel{#1}\endcsname{#2}}}% % % % Reading the .bbl file also produces the typeset bibliography. Please |