MWE compiles; full file doesn't
Rich Shepard
rshepard at appl-ecosys.com
Tue May 23 13:42:27 UTC 2023
On Tue, 23 May 2023, Herbert Voss wrote:
> It looks like a problem with your header or title definition. Does it
> contain a tabular? However, export your LyX document to latex and then
> show the preamble.
Herbert,
I created the MWE by deleting everything after the chapter and first
section. The preamble is different from that of the entire document from
which the MWE was extracted:
%% LyX 2.3.6.1 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside,headsepline=on, footsepline=on]{scrreprt}
\PassOptionsToPackage{natbib=true}{biblatex}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[letterpaper]{geometry}
\geometry{verbose,tmargin=4cm,bmargin=2cm,lmargin=2cm,headsep=1.5cm}
\pagestyle{plain}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{graphicx}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\date{}
\usepackage{ftnxtra}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{chngcntr}
\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}
\makeatother
\usepackage[style=authoryear]{biblatex}
\begin{document}
\titlehead{\includegraphics[viewport=0bp 0bp 528bp 157bp,clip,width=1\textwidth]{/home/rshepard/documents/templates/llc-letterhead}}
\title{Title goes here\\
It can have multiple lines\\
like the real doc}
\subtitle{Prepared for:\\
some agency's\\
Regulatory Branch}
\date{\today}
\maketitle
\chapter*{Chapter title}
\section*{Section 1}
Some text here.
\end{document}
I wonder why the differences?
Regards,
Rich
More information about the lyx-users
mailing list