LyXusthesis.layout / usthesis.lyx no longer working?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Chavoux
Posts: 3
Joined: Sat Mar 30, 2019 9:15 pm

usthesis.layout / usthesis.lyx no longer working?

Post by Chavoux »

Hi all,

I wrote my thesis using the usthesis class / layout / .lyx file, but can no longer export to .pdf (using pdflatex). My computer crashed and I had to re-install Linux (and all my programs, including LaTeX and LyX). Now, when trying to show/update pdf, I get the error message:
"Package babel Error: Unknown option `afrikaans'. Either you misspelled it (babel) or the language definition file afrikaans.ldf was not found."

"afrikaans" is one of the languages used by the usthesis class, but I cannot find it in CTAN or in the debian repository.

I suppose that I missed something during the re-installation of LyX / LaTeX?

Thanks in advance,
Chavoux

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

usthesis.layout / usthesis.lyx no longer working?

Post by Stefan Kottwitz »

Hi Chavoux,

welcome to the forum!

Perhaps you installed an older version of babel. Some version added Afrikaans support, a version of Dutch. (You could load Dutch instead)

Can you perhaps post your .log file here, as attachment? The Attachments link is below the text edit field, when writing a post.

Stefan
LaTeX.org admin
Chavoux
Posts: 3
Joined: Sat Mar 30, 2019 9:15 pm

usthesis.layout / usthesis.lyx no longer working?

Post by Chavoux »

Hi Stefan,

Thanks for the welcome!

Attached is the Error message in LyX itself (as screenshot) and the output that shows when I click on "View Complete Log" (saved as pdfTeX.log). It looks like a Babel error to me (Line 178). Also attached the configure.log in my .lyx/ directory. I am not sure to which log file you refer?

As a workaround I could change the usthesis class / style / layout files so it does not require Afrikaans anymore, since I actually only need Afrikaans for a single page (the Summary/Abstract in Afrikaans) and my spelling and grammar of Afrikaans is good enough to do without the spell-checking, but I have no idea how to do this (in the usthesis.afr? usthesis.cls? usthesis.layout? usthesis.lyx? somewhere else?). Of course, then I will also have to do without the Afrikaans hyphenation, but for a single page, I can survive without it.

Thanks for the help. I think I might actually have a newer version of LyX now than before (when everything was still working), but I am not sure, since the laptop crashed.

Cheers
Chavoux
Attachments
configure.log
(75.94 KiB) Downloaded 298 times
pdfTeX.log
(152.43 KiB) Downloaded 248 times
LyX_error_20190402_164711.png
LyX_error_20190402_164711.png (211.38 KiB) Viewed 10002 times
Chavoux
Posts: 3
Joined: Sat Mar 30, 2019 9:15 pm

usthesis.layout / usthesis.lyx no longer working?

Post by Chavoux »

I still have no idea exactly which package saved me... in the end I installed texlive-lang-all (500+ MB!) and my problem was fixed. I had texlive-lang-african, texlive-lang-english, and texlive-lang-other installed before, which did not solve my problem (although Afrikaans hyphenation is found in texlive-lang-other). I will later (once my thesis corrections are all done!) uninstall the texlive-lang-* packages one by one until I find the guilty party.

But this is just to help somebody else who might get stuck with this.
georgeo
Posts: 2
Joined: Fri Feb 14, 2020 1:25 pm

usthesis.layout / usthesis.lyx no longer working?

Post by georgeo »

Chavoux wrote:I still have no idea exactly which package saved me... in the end I installed texlive-lang-all (500+ MB!) and my problem was fixed. I had texlive-lang-african, texlive-lang-english, and texlive-lang-other installed before, which did not solve my problem (although Afrikaans hyphenation is found in texlive-lang-other). I will later (once my thesis corrections are all done!) uninstall the texlive-lang-* packages one by one until I find the guilty party.

But this is just to help somebody else who might get stuck with this.
Did you have any luck finding out which package was needed?
georgeo
Posts: 2
Joined: Fri Feb 14, 2020 1:25 pm

usthesis.layout / usthesis.lyx no longer working?

Post by georgeo »

It might be the texlive-lang-european package
Post Reply