Replies: 1 comment 2 replies
-
We don't generally support arbitrary Some possible approaches, from most general to least:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Quarto to write homework assignments with the LaTeX
exam
document class. Theexam
class has already defined a solution environment which can be used to show or hide the solutions with the class optionanswers
. The problem I am running into is that when I export the document to PDF, Quarto always applies the Lua filtertheorems.lua
located insrc/resources/filters/crossref/theorems.lua
which adds a line\newtheorem*{solution}{Solution}
to the exported LaTeX document and which causes LaTeX compilation error for duplicated definition. Moreover, in the exported LaTeX document, I see nested solution environments generated from the closure::: {.solution} ... :::
(possibly due to boththeorems
andlatex-environment
filters being applied). I am wondering how I can turn off thetheorems
filter. Here is a minimal non-working example.Beta Was this translation helpful? Give feedback.
All reactions