Re: Compiling error in updated document

2023-12-29 Thread Rich Shepard

On Fri, 29 Dec 2023, Rich Shepard wrote:


Can I remove fancyhdr.sty from within LyX?


Answer: Yep!

I changed the page style from fancy to default. That solved that problem.

There's a new one; time for a new thread.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compiling error in updated document

2023-12-29 Thread Rich Shepard

On Fri, 29 Dec 2023, Herbert Voss wrote:


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


Herbert,

While fancyhdr.sty was used in the original version, it's not in the revised
version. I saw that in the original, yet the Preamble seen in LyX contains:
\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\usepackage{xurl}

Can I remove fancyhdr.sty from within LyX?

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compiling error in updated document

2023-12-29 Thread Herbert Voss



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
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compiling error in updated document

2023-12-29 Thread Steve Litt
Rich Shepard said on Fri, 29 Dec 2023 09:08:13 -0800 (PST)

>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.

I'd suggest an MWE.

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Compiling error in updated document

2023-12-29 Thread 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.

Help is needed, but enjoy the holiday first. :-)

Regards,

RichThis is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded 
format=pdflatex 2023.11.19)  29 DEC 2023 08:56
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**best-available-science.tex
(./best-available-science.tex
LaTeX2e <2023-11-01>
L3 programming layer <2023-11-09>

(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2023/07/07 v3.41 KOMA-Script document class (report)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2023/07/07 v3.41 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2023/07/07 v3.41 KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2023/07/07 v3.41 KOMA-Script package (file load hooks)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
Package: scrlfile-hook 2023/07/07 v3.41 KOMA-Script package (using LaTeX hooks)

(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlogo.sty
Package: scrlogo 2023/07/07 v3.41 KOMA-Script package (logo)
))) (/usr/local/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
\KV@toks@=\toks17
)
Applying: [2021/05/01] Usage of raw or classic option list on input line 252.
Already applied: [/00/00] Usage of raw or classic option list on input line
 368.
)) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2023/07/07 v3.41 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip48
\scr@dte@tocline@numbox=\box51
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `toc' on input line 135.
Package scrreprt Info: You've used standard option `11pt'.
(scrreprt) This is correct!
(scrreprt) Internally I'm using `fontsize=11pt'.
(scrreprt) If you'd like to set the option with \KOMAoptions,
(scrreprt) you'd have to use `fontsize=11pt' there
(scrreprt) instead of `11pt', too.

Class scrreprt Warning: You've used deprecated option `abstracton'.
(scrreprt)  Usage of this option indicates an old document
(scrreprt)  and changes compatibility level using
(scrreprt)  `abstract=true,version=first,
(scrreprt)  enabledeprecatedfontcommands' that may result
(scrreprt)  in further warnings.
(scrreprt)  If you don't want this, you should simply
(scrreprt)  replace option `abstracton' by `abstract=true'.

Class scrreprt Info: Switching compatibility level to `first'.

Class scrreprt Warning: Switching back to an old KOMA-Script release does
(scrreprt)  not mean, that KOMA-Script is fully compatible with
(scrreprt)  the old release. If you need full compatibility
(scrreprt)  to an old KOMA-Script release, you should use that
(scrreprt)  old KOMA-Script release. However, in that case you
(scrreprt)  could also need old releases of other packages and
(scrreprt)  even of the LaTeX kernel.
(scrreprt)  You should also note, that the KOMA-Script developers
(scrreprt)  refuse support for documents using `version=first'.
(scrreprt)  We recommend to eliminate all deprecated options
(scrreprt)  and commands. We also recommend to not use option
(scrreprt)  `version', i.e., with other values than `last'.


Class scrreprt Warning: deprecated option `enabledeprecatedfontcommands'.
(scrreprt)  Note, that this option was already depreacted when
(scrreprt)  it has been defined. Support for old font commands
(scrreprt)  has been removed from KOMA-Script more than one
(scrreprt)  decade ago. It is not recommended to use them any
(scrreprt)  longer. Therefore usage of this class option also
(scrreprt)  is not recommended.

Class scrreprt Info: File `scrsize11pt.clo' used to setup font sizes on input l
ine 2688.
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrsize11pt.clo
File: scrsize11pt.clo 2023/07/07 v3.41 KOMA-Script font size class option (11pt
)
)