Need KOMA-Script scrbook help
Herbert Voss
Herbert.Voss at fu-berlin.de
Fri Jun 16 19:36:49 UTC 2023
Am 16.06.23 um 21:20 schrieb Rich Shepard:
> Environment: lyx-2.3.6.1, TL2023.
>
> I've been using KOMA-Script report, article, and letter2 classes for
> years
> and all work flawlessly.
>
> After examining available LaTeX frameworks for a book I'm converting
> from a
> monograph I've settled on the KOMA-Script book class; and I've read the
> scrguideen.pdf Part I. But, it's not working as expected. If there's a
> more
> appropriate source for KOMA-Script help please point me to it.
>
> The minimal (non)working example .lyx and .tex files are attached.
>
> Problem 1: \mainmatter is enclosed in \begin{quote} and \end{quote}. I
> don't
> see why. \frontmatter isn't and \backmatter in the book itself aren't so
> constrained.
Rich,
your first \addcontensline in ERT is superflous, The preface is in the
TOC by default
as long as it is a numbered chapter. Your mainmatter is inside the
paragraph layout for
quotation. Use standard and everything will be fine.
>
> Problem 2: When I try to compile the mwe.lyx using pdflatex it fails
> with an
> error involving 'data' which is not present. The book from which the
> mwe was
> extracted has no problems producing a PDF using pdflatex.
>
I have no problem with your example. LyX 2.4.0 Beta2 which should be no
difference to 2.3.6.1
Herbert
More information about the lyx-users
mailing list