-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Issue
I recently updated my csasdown install as part of trying to figure out #301, but now my existing tech reports don't knit, even those that are long done and published. When I generate a new tech report template using csasdown::draft("techreport") it knits fine.
The error message with existing tech reports is cryptic:
'\Appendices' text not found in the LaTeX code
! LaTeX Error: There's no line here to end.
Error: LaTeX failed to compile SBC_CK_Data_TechReport.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See SBC_CK_Data_TechReport.log for more info.
In addition: Warning message:
! % begin_abstract_csasdown or % end_abstract_csasdown not found in templates/csas.tex
Execution halted
The log file ends with:
! LaTeX Error: There's no line here to end.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.154 \frontmatter
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
The corresponding chunk of the tex file is:
\begin{document}
%%%% Front matter %%%%%
% Add the first few pages
\frontmatter
%%%%% Drafts %%%%%
Question
For tech reports I'm currently working on I will just start with a fresh template and migrate all the contents over.
But is there some quick fix to update existing completed materials that are intended to be fully reproducible, such as published tech reps and various reports/handouts built on the tech report template?
Metadata
Metadata
Assignees
Labels
No labels