Document ClassesErrors when using a class given by my Uni

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
jpl90
Posts: 3
Joined: Sat Feb 15, 2014 3:02 am

Errors when using a class given by my Uni

Post by jpl90 »

Hi, people. I'm Juan Pablo. I'm new as a user, but I've been learning and reading posts here for quite a long time. My Latex level is not yet that good, but I'm quite comfortable with basic commands and what I need to make articles and that stuff...

My problem is the following one:
I'm writing a project in one computer, Windows XP, using TeXnicCenter and pdf2latex.exe to compile. Everything was perfect, and I had also made a backup and compiled the whole project in another computer, Win 7 and EXACTLY the same software (in fact, from the same setup files).

Then, my tutor gave me a couple of files to fit with the format used at Uni, and I could adapt them without a problem in the old computer. The problem was that when I tried it on the new computer, it returns errors, making it impossible to compile.

In the log, it starts with a warning and continues with many errors, until it makes an emergency stop.

Code: Select all

Class scrbook Warning: \float@addtolists detected!
and immediately after that, some errors:

Code: Select all

! Incomplete \iffalse; all text was ignored after line 1.
<inserted text> 
                \fi 
l.114 \include{erklaerung}
and other very similar errors.

Does anyone have an idea? I've already tried with latex.exe and doesn't work. It's weird that the files are exactly the same in the two computers, as well as the software.

Thank you very much in advance.

Juan Pablo

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Errors when using a class given by my Uni

Post by Johannes_B »

Hi, it is hard to tell anything from the very few information you were giving.

I guess you were using the net installer, which is giving you the newest available packages.

I think your new computer has the new version of KOMA installed (v. 3.12). Put a \listfiles in the very first line of your main document. Run it on both machines and compare the log files.

Ann update to the devel version of KOMA could help, but, as i said before, hard to tell without a minimal working example.

I notice, you might be a German speaking fellow, you should also check out TeXwelt.de

Wo kann ich die neueste KOMA-Version runterladen?
Was sind Hilfsdateien und wo finde ich diese?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
jpl90
Posts: 3
Joined: Sat Feb 15, 2014 3:02 am

Re: Errors when using a class given by my Uni

Post by jpl90 »

Great! Yes, I think that should be the problem. Sorry for giving so little information. Honestly, I didn't really know what was relevant and what would have been too much without sense.

Exactly, as I understood, here I have v3.12 and in the other computer, v3.11b. In the other computer I installed it definitely before December 2013.

I think the easiest way is to download the old version of KOMA and use the files just like that, like in the other computer. I'm still trying to look for the old version, I couldn't find it yet. And, if not, try to adapt the code given at Uni to the packages in the new version of KOMA, I guess.

Thank you very much!

EDIT:
I already found and installed v3.11b. Everything goes perfect now. Thank you again!
Post Reply