Re: Preamble header issues

2021-10-11 Thread Rich Shepard

On Sat, 9 Oct 2021, Herbert Voss wrote:


headsepline=on should appear as option and not command!
\documentclass[headsepline=on,...]{scrartcl}


Okay.

In the 2021-06-25 version of the KOMA-Script PDF, Section 5.4 describes how
to set up headers and footers using, for example, \lehead{Report Title}. I'm
not seeing how to use \rohead*{scrheadings content} to display the section
number.

Section 5.5 describes the use of automark (and automark*) to place section
numbers in the header. If I have \lehead{Report Title} and \rohead{Report
Title} and add \automark{section} will that place the section number on the
left side of odd-number pages and the right side of even-number pages?

TIA,

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


Re: Preamble header issues

2021-10-10 Thread Herbert Voss




Am 10.10.21 um 17:43 schrieb Rich Shepard:

On Sun, 10 Oct 2021, Herbert Voss wrote:


do you have
\pagestyle{scrheadings}
in the documents preamble setting? If yes, then send again an example 
file


#
I do now. Still no page numbers.


Rich,

without an example file I need a crystal ball ...





Now I need to understand the relationship between the LyX Page Layout ->
Page Style selection and adding \pagestyle{} in the preamble. If the 
former

is set to 'plain' does the preamble define the page style?


The last definition wins. As far as I rember the "LyX" preamble
is set before the users preamble.


Herbert

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


Re: Preamble header issues

2021-10-10 Thread Rich Shepard

On Sun, 10 Oct 2021, Herbert Voss wrote:


do you have
\pagestyle{scrheadings}
in the documents preamble setting? If yes, then send again an example file


Herbert,

I do now. Still no page numbers.

Now I need to understand the relationship between the LyX Page Layout ->
Page Style selection and adding \pagestyle{} in the preamble. If the former
is set to 'plain' does the preamble define the page style?

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


Re: Preamble header issues

2021-10-10 Thread Rich Shepard

On Sun, 10 Oct 2021, Herbert Voss wrote:


mathpazo _is_ Palatino with math support!
from the documentation:
Loading this package changes the default roman font family to Adobe Palatino, 
and the virtual ‘mathpazo’ fonts will be used for math. These virtual fonts 
are made up basically from Palatino Italic, with the missing math symbols 
coming from the CM and Pazo math fonts.


Herbert,

So I've just learned. There are other Palatino/Paladio text/math typefaces
such as newpx and Gyre. I've no idea how any of them might differ in
appearance.

Thanks very much,

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


Re: Preamble header issues

2021-10-10 Thread Rich Shepard

On Sun, 10 Oct 2021, Rich Shepard wrote:


I didn't realize that. I like that typeface so I'll look for a replacement.


I've changed the preamble to use newpxtext and newpxmath. BUT, page numbers
are still not present on the PDF pages.

Am I correct in assuming that now I add KOMA-Script report headers and
footers in the preamble to add text and page numbers?

TIA,

Rich

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


Re: Preamble header issues

2021-10-10 Thread Rich Shepard

On Sun, 10 Oct 2021, Herbert Voss wrote:


mathpazo is for text _and_ math. palatino is an obsolet package.


Herbert,

I didn't realize that. I like that typeface so I'll look for a replacement.


No idea, I simply installed it for Ubuntu. You can have a look into the
LyX file with a simple editor, then you'll see the preamble setting and
can import it into your example document.


That's what I did in emacs. Mine says lyx-2.3 created the file and the
lyxformat is 544; your's says lyx-2.4 created the file and the lyxformat is
608. Strange.

Thanks,

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


Re: Preamble header issues

2021-10-10 Thread Herbert Voss




Am 10.10.21 um 16:00 schrieb Rich Shepard:

On Sun, 10 Oct 2021, Herbert Voss wrote:


\cleardoublepddpage
it is \cleardoubleoddpage

However,

\usepackage{palatino}
\usepackage{mathpazo}


I've used palatino as the body text typeface since the late 1990s, and 
the

mathpazo for math inserts. I had no idea they conflicted.


mathpazo is for text _and_ math. palatino is an obsolet package.




attached your now working mwe.


I try to open it in lyx-2.3.6.1 here and an error message box pops up
telling me that it's a newer version of lyx and lyx2lyx can't convert 
it. I

don't find a newer version on the lyx web site's download -> source page.
What lyx version is it?


No idea, I simply installed it for Ubuntu. You can have a look into
the LyX file with a simple editor, then you'll see the preamble setting
and can import it into your example document.


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


Re: Preamble header issues

2021-10-10 Thread Rich Shepard

On Sun, 10 Oct 2021, Herbert Voss wrote:


\cleardoublepddpage
it is \cleardoubleoddpage


Herbert,

Thanks for catching the typo.


In the documents preamble (Document->Setting->Preamble)
you also had the wrong
\pagestyle{default}


Thought I had changed that to plain.


However,
\usepackage{palatino}
\usepackage{mathpazo}


I've used palatino as the body text typeface since the late 1990s, and the
mathpazo for math inserts. I had no idea they conflicted.


attached your now working mwe.


I try to open it in lyx-2.3.6.1 here and an error message box pops up
telling me that it's a newer version of lyx and lyx2lyx can't convert it. I
don't find a newer version on the lyx web site's download -> source page.
What lyx version is it?

Thanks,

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


Re: Preamble header issues

2021-10-10 Thread Steve Litt
Rich Shepard said on Fri, 8 Oct 2021 12:33:00 -0700 (PDT)

>On Fri, 8 Oct 2021, Paul A. Rubin wrote:
>
>> Your last \usepackage has an opening parenthesis that should be an
>> opening brace.  
>
>Paul,
>
>Ah, they are difficult to distinguish with the light typeface stroke
>on a white background.

I don't know about the other threads in this thread, but long ago I
solved the light typeface on white background by switching to TeX Gyre
Schola, TeX Gyre Heros, and TeX Gyre Cursor fonts. On the Doc settings
fonts window, I had to check "Use non-TeX fonts", and had to compile it
with LuaTeX and LuaLaTeX.

These Century Schoolbook lookalikes look great on paper too.

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Preamble header issues

2021-10-10 Thread Herbert Voss
Rich Shepard schrieb:
> On Sat, 9 Oct 2021, Dr Eberhard W Lisse wrote:
>
>> you need to figure out a way of updating KOMA Script to the latest
>> version
>> (the versions coming with the linux distributions are years behind).
>
> EL,
>
> Installed here are
> texlive-2020.200608-x86_64-2_SBo
> texlive-extra-2020.200608-x86_64-1_SBo
>
> These are only a year behind the current release.
>
>> And if that doesn't work you need to post a MWE here, and I mean MINIMAL
>> :-)-O
>
> See attached. What puzzles me is that pdflatex produces output but also
> shows errors. And there are no page numbers. Sigh.

You had some problems:

\cleardoublepddpage

it is \cleardoubleoddpage

In the documents preamble (Document->Setting->Preamble)
you also had the wrong

\pagestyle{default}


However,

\usepackage{palatino}

makes no sense, it is superseeded by the following

\usepackage{mathpazo}

attached your now working mwe.

Herbert




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


Re: Preamble header issues

2021-10-09 Thread Charlie


Dr Eberhard W Lisse informed me regarding: Re: Preamble header
issues on Sat, 9 Oct 2021 23:36:30 +0200

> "Only a year" means a lot in computer terms, and not only coma script
> has been updated significantly in the meantime.

Replied thus:

Probably only pointing out that you accidentally placed an "s"
behind year in you post.

Charlie

East Gippsland Wildlife Rehabilitators Inc..
   http://www.egwildlife.com.au/

-- 
Registered Linux User:- 329524

***
The thinking process atrophies if your mind is made up. ___Anon

***
Debian GNU/Linux - Magic indeed.
-
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Preamble header issues

2021-10-09 Thread Dr Eberhard W Lisse

Rich,

"Only a year" means a lot in computer terms, and not only coma script
has been updated significantly in the meantime.

Secondly, that was actually not a minimal working example.

An MWE reduces ALL additional choices to the defaults, empties out the
preamble, one line by one and removes all additional commands until the
only remaining text and commands (re)produce the error.

Often that makes one see the problem before even asking for help.

However, it appears that you totally unnecessarily (in my not so humble
view) add several lines to the preamble.

The fonts can be chosen in LyX, as can the Clear Page command (where you
had a typo (\cleardoublepddpage)) and the default page style which when
chosen from the pull down translates, as Herbert pointed out absolutely
correctly, to 'plain'.

I hate ERT but haven't figured out yet how to (re)move the page
numbering changes (into the preamble).

Please find enclosed.

I myself like the NoTo fonts, but if I was using something like
Palatino I would use the (free) TexGyre fonts (I think Pagella is the
one).

greetings, el

On 2021-10-09 22:42 , Rich Shepard wrote:
> On Sat, 9 Oct 2021, Dr Eberhard W Lisse wrote:
>
>> you need to figure out a way of updating KOMA Script to the latest
>> version (the versions coming with the linux distributions are years
>> behind).
>
> EL,
>
> Installed here are
> texlive-2020.200608-x86_64-2_SBo
> texlive-extra-2020.200608-x86_64-1_SBo
>
> These are only a year behind the current release.
>
>> And if that doesn't work you need to post a MWE here, and I mean
>> MINIMAL :-)-O
>
> See attached.  What puzzles me is that pdflatex produces output but
> also shows errors.  And there are no page numbers.  Sigh.
>
> Thanks,
>
> 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 scrreprt
\begin_preamble
\usepackage{scrlayer-scrpage}
\addtokomafont{pageheadfoot}{\small}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "palatino" "default"
\font_sans "avant" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format pdf2
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 0
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 2cm
\topmargin 4cm
\bottommargin 2cm
\headsep 1.5cm
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle default
\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 Title
This is a report
\end_layout

\begin_layout Publishers
Prepared for:
\begin_inset Newline newline
\end_inset

Regulatory Agency
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
pagenumbering{roman}
\end_layout

\end_inset


\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Standard
\begin_inset FloatList figure

\end_inset


\begin_inset Newpage clearpage
\end_inset


\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
pagenumbering{arabic}
\end_layout

\begin_layout Plain Layout


\backslash
setcounter{page}{1}
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
Introduction
\end_layout

\begin_layout Section
Need
\end_layout

\begin_layout Standard
I need to be able to compile this report with pdflatex and have the pages
 numbered.
\end_layout

\begin_layout Standard
It will compile, despite showing an error, but there are no page numbers.
\end_layout

\begin_layout Standard
\begin_inset Newpage newpage
\end_inset


\end_layout

\begin_layout Standard
Here's more jibberish.
\end_layout

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


Re: Preamble header issues

2021-10-09 Thread Rich Shepard

On Sat, 9 Oct 2021, Rich Shepard wrote:


See attached. What puzzles me is that pdflatex produces output but also
shows errors. And there are no page numbers. Sigh.


Error display attached.

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


Re: Preamble header issues

2021-10-09 Thread Rich Shepard

On Sat, 9 Oct 2021, Herbert Voss wrote:


the default pagestyle is plain, not default.


Herbert,

Oh. I changed it to plain.


headsepline=on should appear as option and not command!
\documentclass[headsepline=on,...]{scrartcl}


Both headsspline and footsepline are commented out in the preamble.

Changing pagestyle from default to plain still shows the error box, with
pagestyle as default although it was changed in the saved .lyx file. Still
no page numbers. See mwe.lyx attached to my previous response.

Regards,

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


Re: Preamble header issues

2021-10-09 Thread Rich Shepard

On Sat, 9 Oct 2021, Dr Eberhard W Lisse wrote:


you need to figure out a way of updating KOMA Script to the latest version
(the versions coming with the linux distributions are years behind).


EL,

Installed here are
texlive-2020.200608-x86_64-2_SBo
texlive-extra-2020.200608-x86_64-1_SBo

These are only a year behind the current release.


And if that doesn't work you need to post a MWE here, and I mean MINIMAL
:-)-O


See attached. What puzzles me is that pdflatex produces output but also
shows errors. And there are no page numbers. Sigh.

Thanks,

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 scrreprt
\begin_preamble
\date{}
\usepackage{palatino}
\usepackage{mathpazo}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{default}
%\headsepline=on
%\footsepline=on
\addtokomafont{pageheadfoot}{\small}
%\lofoot{Title of the Book}
%\rofoot{Page \thepage\ of \pageref{LastPage}}
%\pagestyle{scrheadings}
%\renewcommand*{\chapterpagestyle}{scrheadings}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "palatino" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format pdf2
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 0
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 2cm
\topmargin 4cm
\bottommargin 2cm
\headsep 1.5cm
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle default
\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 Title
This is a report
\end_layout

\begin_layout Publishers
Prepared for:
\begin_inset Newline newline
\end_inset

Regulatory Agency
\end_layout

\begin_layout Date
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
today
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
pagenumbering{roman}
\end_layout

\end_inset


\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 ERT
status open

\begin_layout Plain Layout


\backslash
cleardoublepddpage
\end_layout

\begin_layout Plain Layout


\backslash
pagenumbering{arabic}
\end_layout

\begin_layout Plain Layout


\backslash
setcounter{page}{1}
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
Introduction
\end_layout

\begin_layout Section
Need
\end_layout

\begin_layout Standard
I need to be able to compile this report with pdflatex and have the pages
 numbered.
\end_layout

\begin_layout Standard
It will compile, despite showing an error, but there are no page numbers.
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
newpage
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Here's more jibberish.
\end_layout

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


Re: Preamble header issues

2021-10-09 Thread Herbert Voss


> On Fri, 8 Oct 2021, Rich Shepard wrote:

>
>> Ah, they are difficult to distinguish with the light typeface stroke
>> on a white background.  It was the \usepackage{scrlayer-scrpage};
>> fixing that did not resolve the problem of pdflatex not finding that
>> .sty file.
>
> Now I'm back to these issues:
>
> Package scrlayer-scrpage Info: auto-selection of
> `pagestyleset=KOMA-Script'.
> ! Undefined control sequence.
>  \undefinedpagestyle
>
> l.24 \pagestyle{default}


the default pagestyle is plain, not default.





>
> The control sequence at the end of the top line of your error message
> was never \def'ed.  If you have misspelled it (e.g., `\hobx'), type
> `I' and the correct spelling (e.g., `I\hbox').  Otherwise just
> continue, and I'll forget about whatever was undefined.
>
> ! Undefined control sequence.  l.25 \headsepline =on


headsepline=on should appear as option and not command!

\documentclass[headsepline=on,...]{scrartcl}


Herbert






>
> This exsurpt starts on line 189 of the attached error file.
>
> Perhaps I misread the KOMA-Script manual, but it advises against using
> empty, plain, header, and fancy page styles so only default is left.
>
> And, \headsepline is supposed to work with scrlayer-scrpage.
>
> Rich
>
>
>



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


Re: Preamble header issues

2021-10-09 Thread Dr Eberhard W Lisse

Rich,

you need to figure out a way of updating KOMA Script to the latest
version (the versions coming with the linux distributions are years
behind).

And if that doesn't work you need to post a MWE here, and I mean MINIMAL
:-)-O


el


On 2021-10-08 22:06 , Rich Shepard wrote:
> On Fri, 8 Oct 2021, Rich Shepard wrote:
>
>> Ah, they are difficult to distinguish with the light typeface stroke
>> on a white background.  It was the \usepackage{scrlayer-scrpage};
>> fixing that did not resolve the problem of pdflatex not finding that
>> .sty file.
>
> Now I'm back to these issues:
>
> Package scrlayer-scrpage Info: auto-selection of
> `pagestyleset=KOMA-Script'.
> ! Undefined control sequence.
>  \undefinedpagestyle
>
> l.24 \pagestyle{default}
>
> The control sequence at the end of the top line of your error message
> was never \def'ed.  If you have misspelled it (e.g., `\hobx'), type
> `I' and the correct spelling (e.g., `I\hbox').  Otherwise just
> continue, and I'll forget about whatever was undefined.
>
> ! Undefined control sequence.  l.25 \headsepline =on
>
> This exsurpt starts on line 189 of the attached error file.
>
> Perhaps I misread the KOMA-Script manual, but it advises against using
> empty, plain, header, and fancy page styles so only default is left.
>
> And, \headsepline is supposed to work with scrlayer-scrpage.
>
> Rich
>
>
>

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


Re: Preamble header issues

2021-10-08 Thread Rich Shepard

On Fri, 8 Oct 2021, Rich Shepard wrote:


Yes, I use TeXLive and as I wrote earlier,
$ locate scrguien.pdf
/usr/share/texmf/doc/latex/koma-script/scrguien.pdf


Oops! Wrong file. Here's the correct one:
$ locate scrlayer-scrpage.sty
/usr/share/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty

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


Re: Preamble header issues

2021-10-08 Thread Rich Shepard

On Fri, 8 Oct 2021, Paul A. Rubin wrote:


Maybe you don't have it? (Try 'kpsewhich scrlayer-scrpage.sty' in a
terminal to find out.) If you're a TexLive user, it's part of the
texlive-latex-recommended package.


Paul,

Yes, I use TeXLive and as I wrote earlier,
$ locate scrguien.pdf
/usr/share/texmf/doc/latex/koma-script/scrguien.pdf

Regards,

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


Re: Preamble header issues

2021-10-08 Thread Rich Shepard

On Fri, 8 Oct 2021, Rich Shepard wrote:


Ah, they are difficult to distinguish with the light typeface stroke on a
white background. It was the \usepackage{scrlayer-scrpage}; fixing that
did not resolve the problem of pdflatex not finding that .sty file.


Now I'm back to these issues:

Package scrlayer-scrpage Info: auto-selection of `pagestyleset=KOMA-Script'.
! Undefined control sequence.
 \undefinedpagestyle

l.24 \pagestyle{default}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.25 \headsepline
 =on

This exsurpt starts on line 189 of the attached error file.

Perhaps I misread the KOMA-Script manual, but it advises against using
empty, plain, header, and fancy page styles so only default is left.

And, \headsepline is supposed to work with scrlayer-scrpage.

Rich


This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020 on Slackware 
(SlackBuilds.org)) (preloaded format=pdflatex 2021.2.17)  8 OCT 2021 12:57
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**biological-evaluation.tex
(./biological-evaluation.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-06-03>
(/usr/share/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2020/04/19 v3.30 KOMA-Script document class (report)
(/usr/share/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2020/04/19 v3.30 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
(/usr/share/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2020/04/19 v3.30 KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks15
) (/usr/share/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2020/04/19 v3.30 KOMA-Script package (loading files)
))) (/usr/share/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2020/04/19 v3.30 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip47
\scr@dte@tocline@numbox=\box45
)
Package tocbasic Info: babel extension for `toc' omitted
(tocbasic) because of missing \bbl@set@language on input line 137.
Class scrreprt Info: File `scrsize11pt.clo' used instead of
(scrreprt)   file `scrsize11.clo' to setup font sizes on input line 242
4.
(/usr/share/texmf-dist/tex/latex/koma-script/scrsize11pt.clo
File: scrsize11pt.clo 2020/04/19 v3.30 KOMA-Script font size class option (11pt
)
) (/usr/share/texmf-dist/tex/latex/koma-script/typearea.sty
Package: typearea 2020/04/19 v3.30 KOMA-Script package (type area)
\ta@bcor=\skip48
\ta@div=\count167
\ta@hblk=\skip49
\ta@vblk=\skip50
\ta@temp=\skip51
\footheight=\skip52
Package typearea Info: These are the values describing the layout:
(typearea) DIV  = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth  = 597.50793pt
(typearea)  \textwidth  = 418.2pt
(typearea)  DIV departure   = -6%
(typearea)  \evensidemargin = 17.3562pt
(typearea)  \oddsidemargin  = 17.3562pt
(typearea) \paperheight = 845.04694pt
(typearea)  \textheight = 595.80026pt
(typearea)  \topmargin  = -25.16531pt
(typearea)  \headheight = 17.0pt
(typearea)  \headsep= 20.40001pt
(typearea)  \topskip= 11.0pt
(typearea)  \footskip   = 47.6pt
(typearea)  \baselineskip   = 13.6pt
(typearea)  on input line 1738.
)
\c@part=\count168
\c@chapter=\count169
\c@section=\count170
\c@subsection=\count171
\c@subsubsection=\count172
\c@paragraph=\count173
\c@subparagraph=\count174
\scr@dte@chapter@maxnumwidth=\skip53
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\chapter on input line 5588.
\scr@dte@section@maxnumwidth=\skip54
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\section on input line 5598.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\section on input line 5598.
\scr@dte@part@maxnumwidth=\skip55
Class scrreprt Info: using compatibility default `afterindent=true'
(scrreprt)   for `\part on input line 5607.
\scr@dte@subsection@maxnumwidth=\skip56
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\subsection on input line 5617.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\subsection on input line 5617.
\scr@dte@subsubsection@maxnumwidth=\skip57
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt) 

Re: Preamble header issues

2021-10-08 Thread Paul A. Rubin

On 10/8/21 3:33 PM, Rich Shepard wrote:

On Fri, 8 Oct 2021, Paul A. Rubin wrote:

Your last \usepackage has an opening parenthesis that should be an 
opening

brace.


Paul,

Ah, they are difficult to distinguish with the light typeface stroke on a
white background. It was the \usepackage{scrlayer-scrpage}; fixing 
that did

not resolve the problem of pdflatex not finding that .sty file.

Thanks,

Rich

Maybe you don't have it? (Try 'kpsewhich scrlayer-scrpage.sty' in a 
terminal to find out.) If you're a TexLive user, it's part of the 
texlive-latex-recommended package.


Paul

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


Re: Preamble header issues

2021-10-08 Thread Rich Shepard

On Fri, 8 Oct 2021, Paul A. Rubin wrote:


Your last \usepackage has an opening parenthesis that should be an opening
brace.


Paul,

Ah, they are difficult to distinguish with the light typeface stroke on a
white background. It was the \usepackage{scrlayer-scrpage}; fixing that did
not resolve the problem of pdflatex not finding that .sty file.

Thanks,

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


Re: Preamble header issues

2021-10-08 Thread Paul A. Rubin

On 10/8/21 1:46 PM, Rich Shepard wrote:

Running lyx-3.6.2.1 on Slackware-14.2/x86_64.

The document is KOMA-Scipt Report; page layout style is 'default'.

I want to define custom headings for all reports and I'm reading the
KOMA-Secipt doc.

My current preamble is:
\date{}
\usepackage{palatino}
\usepackage{mathpazo}
\usepackage{graphicx,relsize}
\usepackage(scrlayer-scrpage}
\pagestyle{scrheadings}

When I try to compile it with pdflatex it fails to find the 
scrlayer-scrpage

package (found here:
/usr/share/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty
The full error file is attached.

Page 81 of the English manual tells us, "The scrlayer-scrpage package 
(see

chapter 5) offers further possibilities for adjusting lines headers and
footers." This requires me to learn why that package is not recognized 
when

I try to compile the document.

I need advice from those more expert than I.

Rich


Rich,

Your last \usepackage has an opening parenthesis that should be an 
opening brace.


Paul

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


Preamble header issues

2021-10-08 Thread Rich Shepard

Running lyx-3.6.2.1 on Slackware-14.2/x86_64.

The document is KOMA-Scipt Report; page layout style is 'default'.

I want to define custom headings for all reports and I'm reading the
KOMA-Secipt doc.

My current preamble is:
\date{}
\usepackage{palatino}
\usepackage{mathpazo}
\usepackage{graphicx,relsize}
\usepackage(scrlayer-scrpage}
\pagestyle{scrheadings}

When I try to compile it with pdflatex it fails to find the scrlayer-scrpage
package (found here:
/usr/share/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty
The full error file is attached.

Page 81 of the English manual tells us, "The scrlayer-scrpage package (see
chapter 5) offers further possibilities for adjusting lines headers and
footers." This requires me to learn why that package is not recognized when
I try to compile the document.

I need advice from those more expert than I.

RichThis is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020 on Slackware 
(SlackBuilds.org)) (preloaded format=pdflatex 2021.2.17)  8 OCT 2021 10:32
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**biological-evaluation.tex
(./biological-evaluation.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-06-03>
(/usr/share/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2020/04/19 v3.30 KOMA-Script document class (report)
(/usr/share/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2020/04/19 v3.30 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
(/usr/share/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2020/04/19 v3.30 KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks15
) (/usr/share/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2020/04/19 v3.30 KOMA-Script package (loading files)
))) (/usr/share/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2020/04/19 v3.30 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip47
\scr@dte@tocline@numbox=\box45
)
Package tocbasic Info: babel extension for `toc' omitted
(tocbasic) because of missing \bbl@set@language on input line 137.
Class scrreprt Info: File `scrsize11pt.clo' used instead of
(scrreprt)   file `scrsize11.clo' to setup font sizes on input line 242
4.
(/usr/share/texmf-dist/tex/latex/koma-script/scrsize11pt.clo
File: scrsize11pt.clo 2020/04/19 v3.30 KOMA-Script font size class option (11pt
)
) (/usr/share/texmf-dist/tex/latex/koma-script/typearea.sty
Package: typearea 2020/04/19 v3.30 KOMA-Script package (type area)
\ta@bcor=\skip48
\ta@div=\count167
\ta@hblk=\skip49
\ta@vblk=\skip50
\ta@temp=\skip51
\footheight=\skip52
Package typearea Info: These are the values describing the layout:
(typearea) DIV  = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth  = 597.50793pt
(typearea)  \textwidth  = 418.2pt
(typearea)  DIV departure   = -6%
(typearea)  \evensidemargin = 17.3562pt
(typearea)  \oddsidemargin  = 17.3562pt
(typearea) \paperheight = 845.04694pt
(typearea)  \textheight = 595.80026pt
(typearea)  \topmargin  = -25.16531pt
(typearea)  \headheight = 17.0pt
(typearea)  \headsep= 20.40001pt
(typearea)  \topskip= 11.0pt
(typearea)  \footskip   = 47.6pt
(typearea)  \baselineskip   = 13.6pt
(typearea)  on input line 1738.
)
\c@part=\count168
\c@chapter=\count169
\c@section=\count170
\c@subsection=\count171
\c@subsubsection=\count172
\c@paragraph=\count173
\c@subparagraph=\count174
\scr@dte@chapter@maxnumwidth=\skip53
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\chapter on input line 5588.
\scr@dte@section@maxnumwidth=\skip54
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\section on input line 5598.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\section on input line 5598.
\scr@dte@part@maxnumwidth=\skip55
Class scrreprt Info: using compatibility default `afterindent=true'
(scrreprt)   for `\part on input line 5607.
\scr@dte@subsection@maxnumwidth=\skip56
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\subsection on input line 5617.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\subsection on input line 5617.
\scr@dte@subsubsection@maxnumwidth=\skip57
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\subsubsection on input line 5627.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\subsubsection on input line 5627.