Skip to content

Commit

Permalink
In rmanprocess.py, use \texorpdfstring in section titles.
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptogenomicon committed May 29, 2018
1 parent b11c190 commit d998b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devkit/rmanprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
break
m = re.match(r'(\S+)\s*\\?-\s*(.+)$', line)
if m:
print(r'\section{{\monob{{{0}}} - {1}}}'.format(m.group(1), m.group(2)))
print(r'\section{{\texorpdfstring{{\monob{{{0}}}}}{{{0}}} - {1}}}'.format(m.group(1), m.group(2)))
else:
print("Error: no progname/description line found");
sys.exit(1)
Expand Down

0 comments on commit d998b8c

Please sign in to comment.