Am Donnerstag, 19. November 2015, 18:48:53 schrieb jfbu: > to be > robust with respect to future enlargement of output streams for this task ?
\newrite\terminal
\immediate\write\terminal{Test}
As long, as you do not open the new write, it will write to terminal and log
file. BTW: For LaTeX you should simply use \typeout. So for generic code you
may use something like:
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname typeout\endcsname\relax
\newwrite\@typeout
\def\typeout{\immediate\write\@typeout}
\fi
signature.asc
Description: This is a digitally signed message part.
