bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47455: 27.1; bibtex mode - citation key generation - non-ascii chara


From: Arash Esbati
Subject: bug#47455: 27.1; bibtex mode - citation key generation - non-ascii characters
Date: Tue, 01 Jun 2021 11:14:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50

Brian Elmegaard via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:

> Thanks for looking into this.
> I understand your reasoning about this being an issue with the tools
> used.  In auctex I can also enter \newcommand{\ü}{u} without being
> warned that it will not work with latex.

It's not about LaTeX as the macro package, it's about the underlying
engine.  This example

    \documentclass[10pt]{article}
    \newcommand\ü{foo}
    \begin{document}
    \ü bar
    \end{document}

works when your run lualatex on it, but chokes with pdflatex.  The
reason is described in ltnews30.pdf:

    Improving Unicode handling in pdfTEX

    [...]  What is not possible when using an 8-bit engine such as
    pdfTEX is to use characters other than ascii letters as part of a
    command name. This is due to the fact that all other characters in
    such engines are not single character tokens, but in fact consist of
    a sequence of bytes and this is not supported in command names.

So yes, it about the tools used :-)

Best, Arash





reply via email to

[Prev in Thread] Current Thread [Next in Thread]