diff --git a/document/core/util/bikeshed_fixup.py b/document/core/util/bikeshed_fixup.py index da3d2efa59..6a72d85ccf 100755 --- a/document/core/util/bikeshed_fixup.py +++ b/document/core/util/bikeshed_fixup.py @@ -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()