I FUBAR'd preamble: no page numbers or footer text
Rich Shepard
rshepard at appl-ecosys.com
Thu Mar 7 01:46:14 UTC 2024
On Wed, 6 Mar 2024, Rich Shepard wrote:
> I don't see where the page number should be defined. Attached is a similar
> document from last May. The page layout style is 'plain' and the preamble
> contains this:
> \date{}
> %\usepackage{ftnxtra}
> \usepackage{mathpazo,amssymb}
> \usepackage{graphicx,relsize}
> \usepackage{scrlayer-scrpage}
> \usepackage{xcolor,colortbl}
> \usepackage{chngcntr,xurl}
> \counterwithout{figure}{section}
> \definecolor{lightgray}{gray}{0.8}
> \pagestyle{scrheadings}
> \lehead{Biological Evaluation}
> \rohead{Biological Evaluation}
> \refoot{Applied Ecosystem Services, LLC}
> \lofoot{Applied Ecosystem Services, LLC}
> \automark*{section}
>
> When I print page 2 of that document the header text, footer text, and page
> number all appear with horizontal lines separating them from the text area.
> See attached,
Well, I'm totally confused. I saved this document as mwe2.lyx, stripped all
but the first page, added the lipsum package, saved, and compiled. Now this
mwe2.pdf has the header text but only a horizontal line at the footer.
mwe2.lyx attached.
This all used to work and I've no idea what's changed. I do need to get this
resolved ASAP as I have a client who needs to submit these docs to
regulators for permit approvals.
BTW, reading the KOMA-Script manual from a year ago I don't see what's
wrong.
Regards,
Rich
-------------- next part --------------
#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{lipsum}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{chngcntr,xurl}
\counterwithout{figure}{section}
\definecolor{lightgray}{gray}{0.8}
\pagestyle{scrheadings}
\lehead{Biological Evaluation}
\rohead{Biological Evaluation}
\refoot{Applied Ecosystem Services, LLC}
\lofoot{Applied Ecosystem Services, LLC}
\automark*{section}
\end_preamble
\options headsepline=on, footsepline=on
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "default" "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 biber
\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 biblatex-natbib
\cite_engine_type authoryear
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\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 0.75in
\topmargin 0.5in
\rightmargin 0.5in
\bottommargin 0.5in
\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 plain
\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
Title
\end_layout
\begin_layout Subtitle
Author
\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 CommandInset toc
LatexCommand tableofcontents
\end_inset
\end_layout
\begin_layout Chapter
Introduction
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
lipsum[1-30]
\end_layout
\end_inset
\end_layout
\end_body
\end_document
More information about the lyx-users
mailing list