bug#81648: 32.0.50; Running LaTeX on files with non-ASCII chars in the name

Arash Esbati <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Stefan Monnier <[email protected]> writes:

>> Currently, the invokation does:
>>
>>   pdflatex \\nonstopmode\\input \ä.tex
>
> How 'bout
>
>     pdflatex -interaction=nonstopmode ä.tex
>
> instead?

In general, I think this is a good idea.  Just from reading the
docstrings:

,----[ C-h v tex-start-commands RET ]
| tex-start-commands is a variable defined in ‘tex-mode.el’.
| 
| Its value is "\\nonstopmode\\input"
| 
| TeX commands to use when starting TeX.
| They are shell-quoted and precede the input file name, with a separating space.
| If nil, no commands are used.  See the documentation of ‘tex-command’.
`----

and

,----[ C-h v tex-start-options RET ]
| tex-start-options is a variable defined in ‘tex-mode.el’.
| 
| Its value is ""
| 
| TeX options to use when starting TeX.
| These immediately precede the commands in ‘tex-start-commands’
| and the input file name, with no separating space and are not shell-quoted.
| If nil, TeX runs with no options.  See the documentation of ‘tex-command’.
`----

You want to change the default values of the above, i.e., adding stuff
to `tex-start-options' and setting `tex-start-commands' to ""?

> [ And maybe we should also use `-file-line-error` while at it?  ]

Does tex-mode.el process that information in any fashion?

> Of course, all these variants need to be cross-producted by
> lualatex/xelatex/...  I don't know which ones work better overall.

From my experience, lualatex tends to be different from pdflatex here
and there, but not in this particular case.

Best, Arash
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.