Dear all,
I recently switched from pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=latex)
to version pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2022/dev/Debian).
Since I did this, a lot of my LaTeX files, which used to compile for years without a problem, no longer compile.
The problem pops up when producing the .toc-file, when entries start with an accented character I get an error, e.g.:
! Missing number, treated as zero.
<to be read again>
\global
l.4 ...umberline {1.1}\'Sriipati (1019-1066)}{2}{}
%
I attached I small file test.tex to show the problem, the entry Śriipati, entered as \'Sriipati seems to cause the error.
I am using as command chain: latex test; latex test; dvips test; gv test.ps
Does anyone here know how to make this pdfTeX version behave as it was in the past, thus eliminating the errors?
kind regards,
Hugo
Fonts & Character Sets ⇒ pdftex 3.141592653-2.6-1.40.22 breaks when using accented characters
-
- Posts: 2
- Joined: Sun Jan 08, 2023 7:29 pm
pdftex 3.141592653-2.6-1.40.22 breaks when using accented characters
- Attachments
-
- test.tex
- (773 Bytes) Downloaded 609 times
-
- Posts: 2
- Joined: Sun Jan 08, 2023 7:29 pm
pdftex 3.141592653-2.6-1.40.22 breaks when using accented characters
I contacted the Dutch TeX Users forum (Nederlandstalige TeX Gebruikersgroep) and they found out the problem is related to the class "artikel3". Pieter Van Oostrum was so kind to have a look at it and solve the problem.
Here is his solution:
Make the following changes in the file artikel3.cls:
Replace
\newcommand*\toc@font[4]{%
#2{#3}#4\toc@fontsel#1}
by
\newcommand*\toc@font[4]{%
#2{#3}\toc@fontsel#1#4}
kind regards,
Hugo
Here is his solution:
Make the following changes in the file artikel3.cls:
Replace
\newcommand*\toc@font[4]{%
#2{#3}#4\toc@fontsel#1}
by
\newcommand*\toc@font[4]{%
#2{#3}\toc@fontsel#1#4}
kind regards,
Hugo