krono / swathesis

An unofficial LaTeX class for writing theses at the Software Architecture Group, Hasso-Plattner-Institut, University of Potsdam, Germany.
LaTeX Project Public License v1.3c
21 stars 18 forks source link

Thesis template does not compile on recent TeX Live (+ workaround) #41

Closed f4lco closed 1 year ago

f4lco commented 5 years ago

I would like to point out that it is not possible to compile the thesis template on a recent version of TeX Live, and to propose a temporary workaround.

$ swth create
...
$ swth go
Beware of Dragons!
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
! Package Listings Error: Numbers none unknown.

l.36 ...Error{Listings}{Numbers #1 unknown}\@ehc}}
! Emergency stop.
 ...
l.36 ...Error{Listings}{Numbers #1 unknown}\@ehc}}
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on redacted.log.
INFO - This is Biber 2.12
INFO - Logfile is 'redacted.blg'
ERROR - Cannot find control file 'redacted.bcf'! - Did latex run successfully on your .tex file before you ran biber?
INFO - ERRORS: 1
Whoops

I suppose this is due to incompatible changes in dependent packages as per this TeX StackExchange question. Possible solution would be to update the lstlinebgrd package to cope with the changes in listings.

My current workaround this to downgrade the listings package using the TeX Live Utility, and to defer any changes to the setup until completion of my thesis ;) Apparently Rev. 37534 is operational. After the downgrade the document compiles.

image

krono commented 2 years ago

It seems to be known without proper workaround. I see no proper solution besides dropping it...

f4lco commented 2 years ago

To my understanding, patching lstlinebgrd is possible... 😂 I wonder if it was much of an effort for somebody proficient in Tex.

krono commented 2 years ago

lstlinebgrd is effectively unmaintained at the moment. The "old" version of listing is not available in TL2020 or TL2021, so it is rather impracticable to patch.

krono commented 1 year ago

Dear Issue, you have been a good issue. Sleep well