Re: [NTG-context] special character in filename
only Hans can decide if this can/should be changed I won't argue for any changes, just thought to ask about it. A simple "yes, can be done" or "no, its a really bad idea" is perfectly enough for me.
I'll think about a workaround outside context. Cheers, Adam
On Sat, 5 Mar 2011, Reviczky, Adam wrote:
only Hans can decide if this can/should be changed I won't argue for any changes, just thought to ask about it.
I'll think about a workaround outside context.
The "error" is with the backend. luatex (and pdftex and even tex) do not like filenames with a ~ in it. luatex test\~1.tex tries to compile a file called test.tex! If you want to compile test~1.tex, you need luatex "test\string~1.tex" In ConteXt, a wrapper script mtx-context calls luatex with appropriate settings of format, etc. So, with context test\~1.tex mtx-context will call luatex --fmt=... --lua=.. "test~1.tex" which, as mentioned above, tries to compile test.tex. But you can use the same workaround context "test\\string~1.tex" and the file test~1.tex is correctly compiled.
A simple "yes, can be done" or "no, its a really bad idea" is perfectly enough for me.
I don't understand why tex (the engine) ignores ~. I will call it a bug. Aditya
"Reviczky, Adam"
only Hans can decide if this can/should be changed I won't argue for any changes, just thought to ask about it. A simple "yes, can be done" or "no, its a really bad idea" is perfectly enough for me.
See also section 1.7 on page 11 of the ConTeXt manual¹. Feel free, to send enhancements/patches for the manual here or to the mailing list for the manual². ¹ http://pmrb.free.fr/contextref.pdf ² contextman-reference@lists.foundry.supelec.fr. -- Peter
participants (3)
-
Aditya Mahajan
-
pmlists@free.fr
-
Reviczky, Adam