#883 tex: -job-name is non-functional w/o file

open
TeX (59)
2012-10-17
2003-01-31
No
0 up votes | 0 down votes | 0%
0 comments

Hi Christian,

the latex option
-job-name
is non-functional when not running a file but reading from
stdin.

example:
C:>latex -job-name=testintro
This is TeX, Version 3.141592 (MiKTeX 2.2)
**\documentclass{article}
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for english,
german, ngerman, dumylang,
nohyphenation, loaded.

*\begin{document}
(C:\texmf\tex\latex\base\article.cls
Document Class: article 2001/04/21 v1.4e Standard
LaTeX document class
(C:\texmf\tex\latex\base\size10.clo))
No file texput.aux.

*Hello

*\end{document}
[1] (texput.aux)
Output written on texput.dvi (1 page, 220 bytes).
Transcript written on texput.log.

Discussion

  • Logged In: YES
    user_id=448088

    The following works as intended and creates a file testfile.dvi:

    latex -job-name=testfile
    '\documentclass{article}\begin{document}Hello\end{document}'

    So the bug really only occurs when not having any command or
    file-like parameter to (pdf)latex.
    But as effectively everything that is piped into latex can
    be used as argument, it works for me.

    Nevertheless a fix would be good, but has no priority at all
    (for me).