Tagged Questions
13
votes
3answers
309 views
Need help creating a custom aux file read/write routine to suit my needs
I require two new commands, \createreference and \citereference, to work with. They should work as shown in the following examples:
\createreference{john}{John Q. Citizen} should write the text “John ...
7
votes
4answers
434 views
How to write a command to file
I am trying to write to a auxillary file using
\newwrite\tempfile
[...]
\immediate\openout\tempfile=list.tex
\immediate\write\tempfile{Text to write to file}
\immediate\closeout\tempfile
It works ...