Am 29.12.23 um 18:08 schrieb Rich Shepard:
I've updated a document written originally in 2010. When I try to compile it using pdflatex an error that \chead has already been defined (and there's no
\chead in the new document.)

Looking at the error log (attached) I see that the 13 years between versions
has seen many changes in KOMA-Script that are beyond my knowledge to
resolve.

There's no immediate need for correcting this revised doc; after the new
year is when I'll make use of it.

You are loading:

(/usr/local/texlive/2023/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
Package: fancyhdr 2022/11/09 v4.1 Extensive control of page headers and footers

[...]

) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.st

[...]

! LaTeX Error: Command \chead already defined.
               Or name \end... illegal, see p.192 of the manual.

---------------------------------------

That makes no sense! Both define \chead ...
Use only fancyhdr _or_ scrlayer-scrpage, but not both. I prefer scrlayer-scrpage

Herbert
--
lyx-users mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to