MiKTeX and proTeXtConfiguration problem. Miktex 2.9. openout_any parameter

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
medved7
Posts: 2
Joined: Mon Apr 20, 2015 8:31 am

Configuration problem. Miktex 2.9. openout_any parameter

Post by medved7 »

I have a tex script that creates a .bat file while translating a latex file with MikTex 2.9 x64. I get the error "Can't write on file ....bat". (The same script works with Miktex 2.4 without any questions.)

It seems that the problem is due to the "openout_any" parameter. But neither setting openout_any Windows environment variable to "a", nor adding line "openout_any=a" to miktex\config\texmf-defaults.ini file helps.

What am I to do?
Last edited by medved7 on Mon Apr 20, 2015 2:00 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10358
Joined: Mon Mar 10, 2008 9:44 pm

Configuration problem. Miktex 2.9. openout_any parameter

Post by Stefan Kottwitz »

Wecome to the forum!

Perhaps post a Infominimal working example, so we can test it on our MiKTeX installation, or with TeX Live.

Stefan
LaTeX.org admin
medved7
Posts: 2
Joined: Mon Apr 20, 2015 8:31 am

Re: Configuration problem. Miktex 2.9. openout_any parameter

Post by medved7 »

Thank you for your reply. But I have found the solution to the problem.
http://tex.stackexchange.com/a/2214
For Miktex one must use MIKTEX_ALLOWUNSAFEOUTPUTFILES=1 environment variable. Standart openout_any does not work.
Post Reply