LyX ⇒ usthesis.layout / usthesis.lyx no longer working?
usthesis.layout / usthesis.lyx no longer working?
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
usthesis.layout / usthesis.lyx no longer working?
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
usthesis.layout / usthesis.lyx no longer working?
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 313 times
-
- pdfTeX.log
- (152.43 KiB) Downloaded 264 times
-
- LyX_error_20190402_164711.png (211.38 KiB) Viewed 10149 times
usthesis.layout / usthesis.lyx no longer working?
But this is just to help somebody else who might get stuck with this.
usthesis.layout / usthesis.lyx no longer working?
Did you have any luck finding out which package was needed?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.