[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] lualatex needs --jobname option
From: |
Ralf Angeli |
Subject: |
Re: [Bug-AUCTeX] lualatex needs --jobname option |
Date: |
Tue, 14 Jun 2011 22:43:25 +0200 |
* Manuel Pégourié-Gonnard (2011-05-28) writes:
> Full disclosure: I'm not an AucTeX user (actually I'm an evil
> vimist).
Well, nobody is perfect. (c;
> But I'm also a TeX Live maintainer, and since it seems some
> decisions we made in TeX Live have an impact on AucTeX, I thought it
> we be good to communicate about it.
Thanks for that.
> So, currently (and with the next release of TeX Live), compiling files
> from AucTeX with lualatex doesn't work as expected. It was discussed
> at least two times on TeX Live or LuaTeX-related lists, and at least
> once here:
> http://lists.gnu.org/archive/html/bug-auctex/2011-02/msg00001.html
> with a proper fix found: use the --jobname option. That is, the
> invocation
>
> lualatex --jobname=foo '\input foo.tex'
>
> always works. It also works with latex, pdflatex or xelatex, even if
> the --jobname part is redundant for anything but lualatex. So I'd like
> to suggest adding --jobname to the default TeX invocation in AucTeX so
> that your users stop having this problem with luatex, without having
> to wait for luatex 0.71.
I've tried the --jobname switch with a file that contains a space in its
name. I guess that the file name has to be quoted in this case.
Unfortunately I could not find a way to quote the name which works with
both
$ ~/texlive/2010/bin/x86_64-linux/lualatex --version
This is LuaTeX, Version beta-0.60.2-2010071218 (TeX Live 2010) (rev 3736)
and
$ lualatex --version
This is LuaTeX, Version beta-0.70.1-2011052000
The first one is from a local copy of TeX Live 2010 and the second one
is the version which is available in Debian/sid right now.
This is what I've tried with a file called "luatex test.tex":
First with LuaTeX 0.60.
$ /home/angeli/texlive/2010/bin/x86_64-linux/lualatex -interaction=nonstopmode
"\input" \"luatex\ test.tex\"
This is LuaTeX, Version beta-0.60.2-2010071218 (TeX Live 2010) (rev 3736)
[...]
Output written on texput.pdf (1 page, 10924 bytes).
Transcript written on texput.log.
Okay, here we have the problem with the job name.
$ /home/angeli/texlive/2010/bin/x86_64-linux/lualatex --jobname=\"luatex\
test\" -interaction=nonstopmode "\input" \"luatex\ test.tex\"
This is LuaTeX, Version beta-0.60.2-2010071218 (TeX Live 2010) (rev 3736)
[...]
! LaTeX Error: Missing \begin{document}.
[...]
Output written on luatex test.pdf (1 page, 12492 bytes).
Transcript written on "luatex test.log".
This does not work.
$ /home/angeli/texlive/2010/bin/x86_64-linux/lualatex --jobname="luatex test"
-interaction=nonstopmode "\input" \"luatex\ test.tex\"
This is LuaTeX, Version beta-0.60.2-2010071218 (TeX Live 2010) (rev 3736)
[...]
Output written on luatex test.pdf (1 page, 10924 bytes).
Transcript written on "luatex test.log".
So, this seems to work.
Now for LuaTeX 0.70.
$ lualatex -interaction=nonstopmode "\input" \"luatex\ test.tex\"
This is LuaTeX, Version beta-0.70.1-2011052000
[...]
! LaTeX Error: Missing \begin{document}.
[...]
Output written on luatex test.pdf (1 page, 12686 bytes).
Transcript written on "luatex test.log".
No problem with the job name, but elsewhere.
$ lualatex --jobname=\"luatex\ test\" -interaction=nonstopmode "\input"
\"luatex\ test.tex\"
This is LuaTeX, Version beta-0.70.1-2011052000
[...]
Output written on luatex test.pdf (1 page, 11284 bytes).
Transcript written on "luatex test.log".
Okay, this seems to work.
$ lualatex --jobname="luatex test" -interaction=nonstopmode "\input" \"luatex\
test.tex\"
This is LuaTeX, Version beta-0.70.1-2011052000
[...]
! LaTeX Error: Missing \begin{document}.
[...]
Output written on luatex test.pdf (1 page, 12686 bytes).
Transcript written on "luatex test.log".
Does not work.
So without --jobname both versions fail; differently, though.
When supplying --jobname, LuaTeX 0.60 only works with --jobname="luatex
test" and LuaTeX 0.70 only with --jobname=\"luatex\ test\".
Do you happen to know a way of quoting which works with both versions?
--
Ralf
- Re: [Bug-AUCTeX] lualatex needs --jobname option,
Ralf Angeli <=