[tex-live] [win32] bibtex and makeindex - Forbidden to openfor writing

Akira Kakuto kakuto at fuk.kindai.ac.jp
Wed Sep 15 10:12:27 CEST 2010


Dear Thomas,

> Thank you for your tip. That's the reason.
> I could fix this by setting:
> 
> openout_any = r
> 
> in the top-level texmf.cnf file.
> 
> openout_any = a
> 
> schould work too. ;-)
> 
> But had no success to set the environment var like:
> 
> set TEXMFOUTPUT=%CD%\tmp;
> or
> set TEXMFOUTPUT=D:/mydoc/tmp;
> 
> and a relative path doesn't work either. E.g.
> set TEXMFOUTPUT=./tmp;
> 
> Does anybody knows the right syntax?
> Because I would prefer to set it in a script.

On windows, the restriction is chosen to be stronger than for Unix
because of several security reasons.
In the case of openout_any = p, a name with ':' is forbidden
irrespective of the value of TEXMFOUTPUT.
You can change temorarily the openout_any in your
batch script:
set OPENOUT_ANY=r
... ...

Thanks,
Akira



More information about the tex-live mailing list