[tex-live] TL2018: UTF-8 characters in file names with pdflatex
jfbu
jfbu at free.fr
Wed Jul 25 09:48:14 CEST 2018
Le 25 juil. 2018 à 09:07, Dr. Werner Fink <werner at suse.de> a écrit :
> That is
>
> pdflatex DieÜbung.tex
>
> works but
>
> pdflatex -file-line-error -interaction=nonstopmode "\input DieÜbung.tex"
>
> does not.
> As the last line is common used by texi tools and also by
> GNU Emacs AucTex this cause bug reports.
Hi
about GNU Emacs AucTeX,
the dev version has workarounds already incorporated
commit cad042f02e3e919876b474572e6cb375ed551dcb
Author: Ikumi Keita <ikumi at ikumi.que.jp>
Date: Thu May 31 16:01:59 2018 +0900
Add note and test about the change involving non-ascii file name
* doc/changes.texi (News in 12.2): Add note that support for standard
LaTeX without e-TeX extension is now very limited.
* tests/tex/command-expansion.el (TeX-command-detokenize): New test to
check whether \input and \detokenize are supplied when necessary.
commit 3b1ffcd8c3387f67fd9be5e1da73d780dffbdd51
Author: Ikumi Keita <ikumi at ikumi.que.jp>
Date: Mon May 28 14:46:52 2018 +0900
TL 2018 non-ascii file name fix for preview-latex
* preview.el.in (preview-LaTeX-command): Wrap file name after implicit
\input in \detokenize{}.
(preview-cache-preamble): Arrange the ini file code so that non-ascii
file name can be used with generated format file. Be careful not to
lose capability of handling file name with space.
(preview-undump-replacements): Use new TeX macro defined in the above
ini file code to accept even unusual file name with non-ascii
character or space.
Delegate quoting of format name to `TeX-inline-preview-internal' so
that non-ascii character will not be quoted twice.
(TeX-inline-preview-internal): Adjust to the above change.
commit a8ea1273fd95da5702fe95ad3f41d151b621bc72
Author: Ikumi Keita <ikumi at ikumi.que.jp>
Date: Mon May 28 14:39:26 2018 +0900
Accept non-ascii file name in accord with change in TL 2018
* tex.el (TeX-expand-list-builtin): Add new entry %T. Same as %t,
except to enclose with \detokenize{} for non UTF-8 LaTeX when \input
is supplmented.
Adjust the entries %` and %' so that \input is supplemented only when
any TeX code is present between them and leave the bind to
`TeX-command-text' for later examination.
The bind to `TeX-command-pos' is no longer retained.
(TeX-command-list): Use %T for "LaTeX".
Adjust "TeX" and "AmSTeX" as the same with "LaTeX" in the aspect that
user can supply one's own TeX code, as well as any command line
options, through `TeX-command-extra-options'.
* tex-buf.el (TeX--master-or-region-file-with-extra-quotes): New
function to act as a wrapper of `TeX-master-file' and
`TeX-region-file' inside `TeX-command-expand'.
(TeX-command-expand): Use the above function as the value of `file'
and get rid of tricky temporal overriding of `file' with lambda form.
(TeX-region-create): Make the first line parsing of %&FORMAT
construct, if any, to be valid even for region compilation.
Discard text properties when constructing the content of _region_.tex.
Drop bind check for `buffer-file-coding-system'.
* tests/tex/command-expansion.el (TeX-command-expansion): Reflect the
change that \input is not necessarily supplemented now by %`-%' pair
in `TeX-command-expand'.
Best,
Jean-François
More information about the tex-live
mailing list