pdflatex: cannot find scrpage2.sty
Wolfgang Engelmann
engelmann at uni-tuebingen.de
Mon Dec 20 17:02:42 UTC 2021
Am 20.12.21 um 17:26 schrieb Jürgen Spitzmüller via lyx-users:
> Am Montag, dem 20.12.2021 um 08:12 -0800 schrieb Rich Shepard via lyx-
> users:
>> Using the KOMA-Script letter template I've used before I cannot
>> compile a
>> letter using pdflatex. The LaTeX error is: File `scrpage2.sty' not
>> found.
>>
>> The file is present in /usr/share/texmf/tex/latex/koma-
>> script/scrpage2.sty
>> and the file's settings include it: \usepackage{scrpage2,url}.
>>
>> How do I direct LyX to the file's location?
>
> Try
>
> \usepackage{scrlayer-scrpage}
>
> instead. This package has superseded scrpage2. It should work as a
> drop-in replacement.
Is this taken care of if I select in Document Settings > Document class
> KOMA-script Book
(I use Version 2.4.0dev (not released yet)
Built from git commit hash 53ed3dc0
Qt Version (run-time): 5.15.2 on platform xcb
Qt Version (compile-time): 5.15.2
Python detected: python3 -tt)
or do I have to insert \usepackage{scrlayer-scrpage} in the preamble?
Wolfgang
>
> HTH,
> Jürgen
>
>>
>> TIA,
>>
>> Rich
>
>
More information about the lyx-users
mailing list