Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid utf-8 sequence with lualatex #5

Open
gerstorfer opened this issue Sep 17, 2023 · 1 comment
Open

Invalid utf-8 sequence with lualatex #5

gerstorfer opened this issue Sep 17, 2023 · 1 comment

Comments

@gerstorfer
Copy link

gerstorfer commented Sep 17, 2023

Compilation of hausarbeit-demo.tex throws the following error on up-to-date TL2023 using lualatex:

! String contains an invalid utf-8 sequence.
l.1087  | PageNo
                    x chapter          |           II. section     PageNo |
@gerstorfer gerstorfer changed the title Invalid utf-8 sequence Invalid utf-8 sequence with lualatex Sep 17, 2023
@sieversMartin
Copy link
Owner

sieversMartin commented Sep 18, 2023

Thanks for the report. This is caused by the old jurabook.cls which is encoded in latin1. Using a converted utf8 version solves the problem. One could try to contact the author/maintainer and ask him to allow an update which just changes the encoding. Alternatively a new class jurabook-utf8.cls could be uploaded to CTAN and then be used by hausarbeit-jura. A third option is to rewrite everything from scratch and use some up-to-date approaches.
jurabook.cls.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants