pdflatex: cannot find scrpage2.sty

Jürgen Spitzmüller spitz at lyx.org
Mon Dec 20 16:26:01 UTC 2021


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.

HTH,
Jürgen

> 
> TIA,
> 
> Rich

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20211220/7aacc2da/attachment.asc>


More information about the lyx-users mailing list