Assignments, Laboratory books and reportsClass labbook

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

Class labbook

Post by thedomay »

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 :(

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
thedomay
Posts: 2
Joined: Mon Feb 18, 2019 12:56 am

Class labbook

Post by thedomay »

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: 10266
Joined: Mon Mar 10, 2008 9:44 pm

Class labbook

Post by Stefan Kottwitz »

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
LaTeX.org admin
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Class labbook

Post by Vel »

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
Post Reply