summaryrefslogtreecommitdiff
path: root/macros/inrstex/inrstex/writdos.tex
blob: 124ef3b99c4f79eb6cedab938633f12722711ec0 (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
% This is a file that modifies the file nameing conventions in INRSTeX
% for IBM DOS 3.0 ... It works in conjunction with a command file that
% renames old versions of files produced by INRSTeX. The convention is 
% to add "@" to the beginning of the filename. This has the advantage of
% leaving the extensions intact but has the disadvantage of 
% truncating 8 letter filenames. The "@" is not sacrosanct. 

% if a job is aborted, the old files may be made current with 
%  rename @<jobname>.* <jobname>.* 

% There are several places in INRSTeX that require changes. 

\catcode`\@=11

%  ------ auto.tex -----

% \inputtagfiles={\inputwithcheck {\jobname.tag}}
\inputtagfiles={\inputwithcheck {@\jobname.tag}} % will have been renamed


% -------- tocform.tex ------

%\def\c@k#1{\csname if#1list\endcsname \jobname.#1;-1 \else \jobname.#1 \fi}
%\def\newlistfilename#1{\ifnotdefined \jobname.#1 \else \c@k{#1} \fi}
             % VAX/VMS \c@k is necessary because of the way TeX expands 

\def\c@k#1{\csname if#1list\endcsname @\jobname.#1 \else \jobname.#1 \fi}
\def\newlistfilename#1{\ifnotdefined \jobname.#1 \else \c@k{#1} \fi}
                      % \c@k is necessary because of the way TeX expands 

% ----------- cite.tex ---------

% This does not need changing as long as the citation list ALWAYS follows
% the citations. If this is not the case, then an old version will have to
% used. This might lead to other problems later. 

% \citetagfilename = {\jobname.ctg} %compatible Ugh!

\catcode `\@=12