LaTeX forum ⇒ Assignments, Laboratory books and reportsClass labbook

University homework, exams and laboratory work
thedomay
Posts: 2
Joined: Mon Feb 18, 2019 12:56 am

Class labbook

Postby thedomay » Mon Feb 18, 2019 1:15 am

Hey!

I just tried to use the laboratory books and boy, it did not end well.

There seems to be a problem with \experiment, as I get a bunch of errors whenever I include it. Most of them are rather generic and probably errors thrown because of some main error , except for this one:

Paragraph ended before \fk@@getatdashsep@list was complete.

Other commands from the custom labbook class, like \labday work perfectly fine.
On CTAN someone commented that the package broke with TEXLive-2018. :<

I hope someone with more knowledge about document classes can help to fix it, as I don't know what to try :(

thedomay
Posts: 2
Joined: Mon Feb 18, 2019 12:56 am

Postby thedomay » Mon Feb 18, 2019 4:31 pm

Hey again!

I managed to look for better keywords in my google search, and found a solution myself:

Quick work-around:
Using \UseRawInputEncoding before \documentclass.

The proper solution would apparently be to replace all § (used as delimiters) in the class..

User avatar
Stefan Kottwitz
Site Admin
Posts: 9444
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Feb 19, 2019 12:12 pm

Hi thedomay,

welcome to the forum!

Thank you for letting us know the solution you found. Yes, it's due to a change in the new LaTeX kernel that utf8 is now used by default as the input encoding. That came with TeX Live 2018, but would happen with MiKTeX at some version as well. That labbook class has an ANSI encoded § though, so it breaks. It should never happen that a class uses non-ASCII characters because it requires a specific encoding and can break in any other encoding. I hope the class author will fix it at some time.

Though \UseRawInputEncoding fixes the issue, I hope you won't encounter another encoding issue as consequence.

Stefan
Site admin

User avatar
Vel
Site Moderator
Posts: 456
Joined: Fri Jun 29, 2012 1:20 am

Postby Vel » Mon Feb 25, 2019 12:59 pm

Thanks for posting about this! Unfortunately I can't be everywhere at once so it's very useful when users report that templates are no longer working after a new release so I can fix things up quickly.

I've just implemented a fix for this issue for the 2 templates that use this class using the second solution from: https://tex.stackexchange.com/questions ... d-document

You should be able to use the labbook.cls file from the 2 lab book templates on the website for your lab book now.
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com


Return to “Assignments, Laboratory books and reports”

Who is online

Users browsing this forum: No registered users and 0 guests