Re: Use of TEXMFOUTPUT on Windows
Stephen Brooking <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <[email protected]> |
Ulrike Fischer <list <at> nililand.de> writes:
>
> Am Fri, 10 May 2013 09:44:32 +0100 schrieb Stephen Brooking:
>
> > 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
>
> Don't use such absolute pathes. This is a security risk. Write the
> files in some subfolder of your main document.
>
The trouble I have with that is that I'm using LyX, and it wants to put all
the output files in a temporary directory. So writing to files/test.tex,
for example, will write the file to a directory within the temporary
hierarchy, rather than a subfolder of the main document. Maybe this
therefore comes to be a question for LyX.
However, if I have control over TEXMFOUTPUT, why is this still a security risk?
Also, any idea why TEXMFOUTPUT doesn't seem to be having the effect that I
would expect?
Thanks and regards,
Steve
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may