Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
quick fix again for latex
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Dec 15, 2014
1 parent 05d4427 commit a5b4d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyquickhelper/helpgen/sphinx_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ def post_process_latex(st, doall, info = None):
sub2 = st[max(p1-10,0):min(len(st),p2+10)]
# very quick and dirty
if sub not in [ ".*)\\$", "r`\\$}", "ar`\\$", "tt{\\$" ] and \
not sub.endswith("'\\$"):
not sub.endswith("'\\$") and not sub.endswith("{\\$"):
if p1 > 30 :
# very very quick and dirty
temp = st[p1-20:p2]
Expand Down

0 comments on commit a5b4d21

Please sign in to comment.