Hello, \openin and \input accept file names in braces (well, as <general text>) while \openout does not: luatex '\immediate \openout 12 = {abc} \end' makes a file named "{abc}.tex" and not "abc". I'm using LuaTeX, Version beta-0.79.1 (TeX Live 2014) (rev 4971). Is this by design or a bug ? Best regards, Bruno
On 3/7/2015 10:57 AM, Bruno Le Floch wrote:
Hello,
\openin and \input accept file names in braces (well, as <general text>) while \openout does not:
luatex '\immediate \openout 12 = {abc} \end'
makes a file named "{abc}.tex" and not "abc". I'm using LuaTeX, Version beta-0.79.1 (TeX Live 2014) (rev 4971). Is this by design or a bug ?
by design (\input is kind of special) .. we could look into alternatives for read/write/open/close when the input scanner is cleaned up (later this year after releasing for tl) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
by design (\input is kind of special) .. we could look into alternatives for read/write/open/close when the input scanner is cleaned up (later this year after releasing for tl)
Hans
Ok. FYI it's not only \input that accepts braced file names, but \openin also. Regards, Bruno
participants (2)
-
Bruno Le Floch
-
Hans Hagen