It's me again. This time I have the following problem: I cannot make a list of words in an external file. I will explain it better with the following example:
Code: Select all
\documentclass[a4paper,12pt]{report}
\begin{document}
Hello, world.
\newwrite\temp
\immediate\openout\temp=Rel
\immediate\write\temp{Annex A}
Some text.
\immediate\write\temp{Annex B}
\immediate\closeout\temp
\input{Rel}
\end{document}
Annex A
Annex B
However, what I get is the two expressions written at the same line: Annex A Annex B.
There may be a way to write the two expressions in a list with the same
\immediate\write
command, but the question is that the information of the expression Annex B depends on what is written in Some text.. That is why I break up the code in two \immediate\write
commands.Well, sorry for the long text, and thank you again!
Felipe