Curious compile error, easily fixed

Rich Shepard rshepard at appl-ecosys.com
Mon May 23 17:54:58 UTC 2022


On Fri, 20 May 2022, Paul A. Rubin wrote:

> After the initial compilation attempt, you can open the generated .tex
> file (lurking in the buffer directory) in a text editor and search for any
> mention of verbatim. It could be that some module or funky document
> element is using it. If there's more than one occurrence, the location of
> the error in the document log window might help narrow down which one
> triggered the error.

Paul,

I wonder if the SARS-COV-2 virus infected this document. Here's the preamble
as shown in Documents -> Settings -> Preamble:
\date{}
\usepackage{mathpazo}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{colortbl}
\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}

And this is the preamble in /tmp/lyx_tmpdir.oskNDlV31096/lyx_tmpbuf1:
\batchmode
\makeatletter
\def\input at path{{/home/rshepard/projects/.../.../reports/}}
\makeatother
\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{verbatim}
\usepackage{graphicx}

\makeatletter

I do not see any reference to the verbatim package in any settings dialog
box.

How do I remove an invisible package?

Regards,

Rich


More information about the lyx-users mailing list