Open
Description
With myst v1.5.1, code blocks are badly rendered by myst-to-tex when a '-' character is present.
Description
The first a-b
(with a U+002D character) is badly rendered in the Latex code block export (rendered as a verbatim
environment) with a space: a -b
. All other exports are ok (inline code, paragraph).
The bug can be avoided by using a non-breaking hyphen (U+2011, second word in the example) but you must admit it its not convenient.
Proposed solution
No idea.