blob: e2d06d39536298a9fce32593bbf3973cf438aeda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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'.
|