Skip to content

Commit

Permalink
Escape latex newline commands with extra vertical space (#1826)
Browse files Browse the repository at this point in the history
Fix a sequence that Bikeshed is treating as a macro and rewriting.

This is a workaround for #1823
  • Loading branch information
dschuff authored Oct 6, 2024
1 parent 535bedf commit c0aeee7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions document/core/util/bikeshed_fixup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ def Main():
r'\1',
data, flags=re.DOTALL)

# Escape some latex sequences that Bikeshed interprets as macros
data = data.replace(r' \\[1ex]', r' \\\[1ex]')

sys.stdout.write(data)

Main()

0 comments on commit c0aeee7

Please sign in to comment.