-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List numbering supressed in PreTeXt (sometimes) #56
Comments
This might be a bug in PreTeXt. I believe they intend to support bare Here's what it looks like in the CheckIt Viewer (which handles PreTeXt-to-HTML differently than the PreTeXt app): In CheckIt 0.2 I intend to restrict the subset of PreTeXt we support (e.g. you must use |
Yeah, that's exactly where I encountered it. I corrected it manually in the activity book. My references above were to the HTML output and PreTeXt output displayed by the Dashboard preview (I assumed the viewer was using this same HTML). Here's an example from LE1, note the
|
This is from the Sample Exercises in the appendix of the dev version of the LA book (in Cocalc, have not published) Relevant code:
|
Very odd. This is in Firefox 88.0 on Ubuntu . |
Apparently if you give PreTeXt an
<ol>
but the contents of the<li>
are not enclosed in<p></p>
(e.g. if you just give it a<me>
), it will not display the numbering. The solution is to enclose the<me>
in<p>
, which seems to make PreTeXt happy.Currently, CheckIt appears to supply the needed
<p>
in the HTML output, but not the PreTeXt output. A workaround is for the user to ensure that a<p>
is there in the template (though note that a user using the HTML output to debug will not notice an error!).Example outcome that will show this bug: https://github.com/StevenClontz/checkit-tbil-la-2021-dev/blob/main/outcomes/LE1.xml
The text was updated successfully, but these errors were encountered: