LaTeX reader: revert \linebreak as LineBreak.

`\linebreak` is more of a hint, it shouldn't produce
a hard break.

See #11272.
This commit is contained in:
John MacFarlane
2025-11-05 12:51:30 +01:00
parent c660bd3419
commit 573921cc19
-1
View File
@@ -408,7 +408,6 @@ inlineCommands = M.unions
, ("thanks", skipopts >> note <$> grouped block)
, ("footnote", skipopts >> footnote)
, ("newline", pure B.linebreak)
, ("linebreak", pure B.linebreak)
, ("passthrough", fixPassthroughEscapes <$> tok)
-- \passthrough macro used by latex writer
-- for listings