Re: Need KOMA-Script scrbook help

2023-06-16 Thread Rich Shepard

On Fri, 16 Jun 2023, Rich Shepard wrote:


I am suitably embarrassed for not seeing this; I assumed it was in a
standard environment and didn't check. Mea culpa!


Herbert,

There are still chapter header and ToC issues (no chapter numbers in the
header or ToC). I'll wait until I finish reformatting the book before
addressing layout issues.

Carpe weekend,

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


Re: Need KOMA-Script scrbook help

2023-06-16 Thread Rich Shepard

On Fri, 16 Jun 2023, Herbert Voss wrote:


your first \addcontensline in ERT is superflous, The preface is in the TOC
by default as long as it is a numbered chapter.


Herbert,

I thought so, but didn't see it in the ToC


Your mainmatter is inside  the paragraph layout for quotation. Use
standard and everything will be fine.


I am suitably embarrassed for not seeing this; I assumed it was in a
standard environment and didn't check. Mea culpa!

Many thanks,

Rich

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


Re: Colors in dark theme

2023-06-16 Thread Ricardo Berlasso
El vie, 16 jun 2023 a las 21:39, Paolo M ()
escribió:

> It is difficult to edit math expressions, with dark theme, since text is
> dark blue on black, before rendering.  Color combination will improve, next
> release?
>

Yes. I'm using a development build of LyX 2.4 on Plasma desktop with dark
theme (openSUSE Leap) and it's really nice.

Regards,



> thank you
>
> --
> --- Paolo M. Pumilia - 347 231 54 96.
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Colors in dark theme

2023-06-16 Thread Paolo M
It is difficult to edit math expressions, with dark theme, since text is
dark blue on black, before rendering.  Color combination will improve, next
release?
thank you

-- 
--- Paolo M. Pumilia - 347 231 54 96.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Need KOMA-Script scrbook help

2023-06-16 Thread Herbert Voss



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

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


Need KOMA-Script scrbook help

2023-06-16 Thread 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.

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.

Regards,

Rich#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrbook
\begin_preamble
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\usepackage{lipsum}
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "palatino" "default"
\font_sans "uop" "default"
\font_typewriter "lmtt" "default"
\font_math "auto" "auto"
\font_default_family rmdefault
\use_non_tex_fonts false
\font_sc true
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures false
\graphics default
\default_output_format pdf2
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize executivepaper
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 0
\use_package esint 0
\use_package mathdots 1
\use_package mathtools 0
\use_package mhchem 1
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine biblatex
\cite_engine_type authoryear
\biblio_style plainnat
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date true
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\paperwidth 6in
\paperheight 9in
\leftmargin 0.75in
\topmargin 0.9in
\rightmargin 0.75in
\bottommargin 0.9in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle headings
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
frontmatter
\end_layout

\end_inset


\end_layout

\begin_layout Title
Document Title
\end_layout

\begin_layout Subtitle
And the sub-title
\end_layout

\begin_layout Author
A.N.
 Author
\end_layout

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Standard
\begin_inset FloatList figure

\end_inset


\end_layout

\begin_layout Standard
\begin_inset FloatList table

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
addcontentsline{toc}{chapter}{Preface}
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
Preface
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[19-21]
\end_layout

\end_inset


\end_layout

\begin_layout Quote
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
mainmatter
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
Introduction
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[3-9]
\end_layout

\end_inset


\end_layout

\begin_layout Section
First intro section
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[1-2]
\end_layout

\end_inset


\end_layout

\begin_layout Section
Second intro section
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[42-47]
\end_layout

\end_inset


\end_layout

\end_body
\end_document


mwe.tex
Description: TeX document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users