Re: Curious compile error, easily fixed
On Mon, 23 May 2022, Paul A. Rubin wrote: From some long forgotten sci-fi movie, I think you fill the document with a fine powder, shake, and hope it sticks to the invisible package (?). Paul, I think that's a recent conspiracy topic. I created an empty document with the contents of your preamble and didn't get any references to verbatim. Does your document contain code listings or other funky elements that might automagically trigger a load of the verbatim package? You may need to apply bisection to find out the culprit. No. Code and similar funky elements would be in a verbatim environment. T'ain't none of that stuff in this document. Other than standard body text and tables, there are section*, sub-section*, and sub-sub-section* headers. Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Curious compile error, easily fixed
On 5/23/22 13:54, Rich Shepard wrote: 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@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 From some long forgotten sci-fi movie, I think you fill the document with a fine powder, shake, and hope it sticks to the invisible package (?). I created an empty document with the contents of your preamble and didn't get any references to verbatim. Does your document contain code listings or other funky elements that might automagically trigger a load of the verbatim package? You may need to apply bisection to find out the culprit. Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Curious compile error, easily fixed
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@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 -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Curious compile error, easily fixed
On 5/20/22 18:32, Rich Shepard wrote: Attempting to compile a document using pdflatex halts with an error referencing a verbatim@ environment. Since I've not explicitly used that environment, and a search of the .lyx file doesn't find that word present, I wonder why it suddenly decided to show up each time I use the chord, C-x h. Regardless, when I close the error window and repeat C-x h pdflatex happily compiles the file. Has anyone a thought about why the error would appear if the environment 'verbatim' can't be found in the .lyx file? Rich 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 -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Curious compile error, easily fixed
Attempting to compile a document using pdflatex halts with an error referencing a verbatim@ environment. Since I've not explicitly used that environment, and a search of the .lyx file doesn't find that word present, I wonder why it suddenly decided to show up each time I use the chord, C-x h. Regardless, when I close the error window and repeat C-x h pdflatex happily compiles the file. Has anyone a thought about why the error would appear if the environment 'verbatim' can't be found in the .lyx file? Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users