diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-13 00:11:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-13 00:11:09 +0000 |
commit | 57c3fea48ee17ecf9aaf708519e4301906a31b2f (patch) | |
tree | 84e834c2221b8ca796392b5bbc56ce8b6bebbec0 /Master/texmf-dist/tex/latex/volumes/nowtoaux.sty | |
parent | 0f14293bc34ef7c1c902b00f6a2f6c1cb5e7a966 (diff) |
volumes
git-svn-id: svn://tug.org/texlive/trunk@1444 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/volumes/nowtoaux.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/volumes/nowtoaux.sty | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/volumes/nowtoaux.sty b/Master/texmf-dist/tex/latex/volumes/nowtoaux.sty new file mode 100644 index 00000000000..e2d06d39536 --- /dev/null +++ b/Master/texmf-dist/tex/latex/volumes/nowtoaux.sty @@ -0,0 +1,43 @@ +%% +%% This is file `nowtoaux.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% volumes.dtx (with options: `nowtoaux') +%% +%% Copyright (C) 2003 Frank Küster. +%% +%% All rights reserved. +\ProvidesPackage{nowtoaux}[2004/06/14 v1.0 write to the aux file immediately] +\long\def\immediateaddtocontents#1#2{% + \immediate@protected@write\@auxout + {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble}% + {\string\@writefile{#1}{#2}} +} +\long\def \immediate@protected@write#1#2#3{% + \begingroup + \let\thepage\relax + #2% + \let\protect\@unexpandable@protect + \edef\reserved@a{\immediate\write#1{#3}}% + \reserved@a + \endgroup + \if@nobreak\ifvmode\nobreak\fi\fi +} +\long\def\writeaux#1{% + \protected@write\@auxout + {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble}% + {#1} +} +\long\def\immediatewriteaux#1{% + \immediate@protected@write\@auxout + {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble}% + {#1} +} +\long\def\macrotoaux#1{% + \immediatewriteaux{\string#1} +} +\endinput +%% +%% End of file `nowtoaux.sty'. |