10 May 2013 10:44
Use of TEXMFOUTPUT on Windows
Stephen Brooking <stephen.brooking <at> googlemail.com>
2013-05-10 08:44:32 GMT
2013-05-10 08:44:32 GMT
Hi,
I'm trying to use TEXMFOUTPUT to enable me to write this sort of thing in
my LaTeX document, and it not complain about not being able to write the
file:
\begin{document}
\section{A section}
Some text in a section
\newwrite\tempfile
\immediate\openout\tempfile=C:/docs/test.tex
\immediate\write\tempfile{Some text}
\immediate\closeout\tempfile
\end{document}
At the moment I get this error:
! I can't write on file `C:/docs/test.tex'
kpsewhich tells me that TEXMFOUTPUT is set to what I think it is:
>kpsewhich --var-value=TEXMFOUTPUT
C:/docs
If I remove the path in my document like this:
\begin{document}
(Continue reading)
RSS Feed