Re: -jobname broken?
Ulrike Fischer <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <[email protected]> |
Am Wed, 2 Sep 2015 17:36:23 -0400 schrieb Jason Gross:
> I'm adapting a script that was piping latex generated on the fly to the
> latex process.
>
> Oh, I see the issue is the initial \relax.
>
> Why is it that
>
> latex --jobname=foo
> \relax
> \documentclass{article}\begin{document}abc\end{document}
>
> creates texput.dvi in MikTeX, but foo.dvi in TeX Live?
Did you really try this? I get foo.dvi for both:
G:\Z-Test>latex --jobname=foo \relax
\documentclass{article}\begin{document}abc
\end{document}
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9)
entering extended mode
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m> and hyphenation patterns for 70 languages loaded.
(D:\MiKTeX2.9\tex\latex\base\article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document
class
(D:\MiKTeX2.9\tex\latex\base\size10.clo)) (foo.aux) [1] (foo.aux)
Output written on foo.dvi (1 page, 220 bytes).
Transcript written on foo.log.
There is a difference between the systems when you do the processing
in steps and add \relax at the **-prompt:
G:\Z-Test>latex --jobname=foo
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9)
**\relax
entering extended mode
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m> and hyphenation patterns for 70 languages loaded.
*\documentclass{article}\begin{document}a\end{document}
(D:\MiKTeX2.9\tex\latex\base\article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document
class
(D:\MiKTeX2.9\tex\latex\base\size10.clo)) (texput.aux) [1]
(texput.aux)
Output written on texput.dvi (1 page, 216 bytes).
Transcript written on texput.log.
This would give foo.dvi in texlive (and looks like a small bug to
me, so you could make a bug report.)
But the \relax is quite unnecessary here. You can start with
\documentclass directly:
G:\Z-Test>latex --jobname=foo
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9)
**\documentclass{article}\begin{document}a\end{document}
entering extended mode
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m> and hyphenation patterns for 70 languages loaded.
(D:\MiKTeX2.9\tex\latex\base\article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document
class
(D:\MiKTeX2.9\tex\latex\base\size10.clo)) (foo.aux) [1] (foo.aux)
Output written on foo.dvi (1 page, 216 bytes).
Transcript written on foo.log.
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml