More line returns on generated TeX files after a theorem environment #2679
Unanswered
tomlo76
asked this question in
Upgrading JupyterBook
Replies: 0 comments
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.
-
Hello,
I use many prf directives with MyST and I frequently check the generated TeX files before generating manually the PDF. I notice that there is no new line after the end environment command for every associated environment with prf.
For example, the following :
:::{prf:definition} Cat :label: cat-definition A **cat** is a small, domesticated mammal known for its agility, independence, and companionship. ::: This was the definition of a cat.Will render in LaTeX as :
I don't think it may cause issue with LaTeX (maybe with unusual structure), but for reviewing the TeX manually I think it could be better to have more line returns to increase readability (after begin environment, after label and after end environment). It could be easy to implement in the file
myst-to-tex/src/proof.ts:Beta Was this translation helpful? Give feedback.
All reactions