Closed jdeisenberg closed 1 year ago
Adding the <introduction>
divisions caused errors in generating PDFs because of nested <exercise>
divisions.
From https://pretextbook.org/doc/guide/html/overview-structure.html
The <introduction>
and <conclusion>
divisions are meant to be short, and may not contain any other numbered tag. No exercises, theorems, listings, etc. If you want to have an introductory division with any of the numbered elements you are free to omit the <introduction>
and use the next finer subdivision with a <title>
of “Introduction”.
Not sure if you want to undo these or just make a new PR to fix the ones with problems.
label=
tomarker=
on<ol>
<introduction>
to sections with subsections.Unfortunately, the latter change puts an
<exercise>
inside an<introduction>
, which causes the following sort of error:(There is no
[STRUCT]
in the output file, by the way.)So, I can either have that error or the warning: