kellertuer / Kartei

Eine Karteikartenklasse für LaTeX
48 stars 23 forks source link

LaTeX compilation fails #19

Open thureduehrsen opened 2 years ago

thureduehrsen commented 2 years ago

After successfully using your package for over a year, I was going back to an old project of mine and tried compiling it. This is the result:

This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./tgi-lernkarten-master.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-01-09> xparse <2020-03-03> (./kartei.cls
Document Class: kartei 2011/12/31 Karteikarten in LaTeX, Version 1.8b2
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2020/09/21 v3.32 KOMA-Script document class (article)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlogo.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/tocbasic.sty)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrsize12pt.clo)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/typearea.sty
DIV calculation for typearea with good linewidth.
))

! LaTeX Error: File `scrpage2.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
./kartei.cls:134: Emergency stop.
<read *> 

l.134 \RequirePackage
                     {xargs}^^M
./kartei.cls:134:  ==> Fatal error occurred, no output PDF file produced!
Transcript written on ../tgi-lernkarten-master.log.

I am using Debian GNU/Linux 11.

Reading this StackExchange answer suggests simply replacing scrpage2 with scrlayer-scrpage in the file kartei.cls should work, and it does indeed work.

Thanks for looking into this.

kellertuer commented 2 years ago

See #16, scrpage2is superseeded by scrlayer-scrpage, so if you have a new LaTeX version which maybe does not have the old package anymore, this class will not work for now. As stated in #16 I currently do not have the capacity for the rework, which seems to be probably a complete rewrite of this class, so quite some work.