[ pdftex-Bugs-302 ] -jobname doesn't overcome texput
Bugs item #302, was opened at 2005-03-01 13:06 You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=302&group_id=106 Category: None Group: v1.21a Status: Open Resolution: None Priority: 5 Submitted By: John Denker (jsd) Assigned to: Nobody (None) Summary: -jobname doesn't overcome texput Initial Comment: Hi -- Suppose I want to pipe commands into pdflatex: echo '\typeout{---\jobname---}' | \ pdflatex --jobname foo You might expect that to type out ---foo--- but instead it types out ---texput--- I observe that --jobname works just fine for any filename I can think of, just not when the filename is absent entirely. I can offer two workarounds: 1) It's not documented, but nevertheless possible to \def\jobname{foo}. 2) Of course it's possible to stuff the commands into tmp.tex and then pdflatex --jobname foo tmp.tex Because these workarounds exist, I would rate this as a very low-priority bug. But it had me surprised and confused for a while. Given the overall high quality of the product, I thought I'd bring it to your attention. ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=302&group_id=106
Hi, the bug report below seems to be a more general thing, affecting also e. g. tex. Maybe it's something for Olaf? Regards, Hartmut On Tue, 1 Mar 2005 noreply@sarovar.org wrote:
Bugs item #302, was opened at 2005-03-01 13:06 You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=302&group_id=106
Category: None Group: v1.21a Status: Open Resolution: None Priority: 5 Submitted By: John Denker (jsd) Assigned to: Nobody (None) Summary: -jobname doesn't overcome texput
Initial Comment: Hi --
Suppose I want to pipe commands into pdflatex: echo '\typeout{---\jobname---}' | \ pdflatex --jobname foo
You might expect that to type out ---foo--- but instead it types out ---texput---
I observe that --jobname works just fine for any filename I can think of, just not when the filename is absent entirely.
I can offer two workarounds: 1) It's not documented, but nevertheless possible to \def\jobname{foo}.
2) Of course it's possible to stuff the commands into tmp.tex and then pdflatex --jobname foo tmp.tex
Because these workarounds exist, I would rate this as a very low-priority bug. But it had me surprised and confused for a while. Given the overall high quality of the product, I thought I'd bring it to your attention.
----------------------------------------------------------------------
You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=302&group_id=106
participants (2)
-
Hartmut Henkel
-
noreply@sarovar.org