josephwright / beamer

A LaTeX class for producing presentations and slides
Other
1.41k stars 142 forks source link

beamer and utf8x inputenc leads to Runaway argument error #842

Closed ebuchlin closed 1 year ago

ebuchlin commented 1 year ago

Hello,

Beamer and inputenc with utf8x encoding have recently become incompatible, with this file:

\documentclass{beamer}
\usepackage[utf8x]{inputenc}

\begin{document}
\end{document}

producing errors starting by:

! Argument of � has an extra }.
<inserted text> 
                \par 
l.4 \begin{document}

Runaway argument?
! Paragraph ended before � was complete.
<to be read again> 
                   \par 
l.4 \begin{document}

! Argument of � has an extra }.
<inserted text> 
                \par 
l.4 \begin{document}

Runaway argument?
! Paragraph ended before � was complete.
<to be read again> 
                   \par 
l.4 \begin{document}

! Argument of � has an extra }.
<inserted text> 
                \par 
l.4 \begin{document}
(...)

A similar code worked last month. It still works with utf8 instead of utf8x. It still works with utf8x but with another class such as article (so it is not a utf8x inputenc-specific issue).

About my system:

josephwright commented 1 year ago

There are significant technical issues with the utf8x code, and it is not recommended for use at all. I do not plan to make any changes in beamer to try to keep it working.

ebuchlin commented 1 year ago

OK, I will use utf8 instead... Still an additional information for readers of this issue: although the packages seem not to have changed from last summer (at least), I have recently updated from Ubuntu 22.04 to 22.10.

josephwright commented 1 year ago

@ebuchlin It's not your Ubunut version that's important, it's the LaTeX kernel release that you have; that will likely have been updated

josephwright commented 1 year ago

BTW, your example compiles fine with the latest TeX Live installation (TL'22 or TL'23-pretest)