Skip to content

Commit

Permalink
The vocterms generation function now TeX-escapes the extracted identi…
Browse files Browse the repository at this point in the history
…fiers.
  • Loading branch information
msdemlei committed Aug 31, 2023
1 parent 30e1cfd commit c4e2c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_generated.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def cmd_vocterms(vocabulary_name):
).json()["terms"]
identifiers = [key for key, props in terms.items()
if "deprecated" not in props]
return ",\n".join(r"\textsl{{{}}}".format(id)
return ",\n".join(r"\textsl{{{}}}".format(escape_for_TeX(id))
for id in sorted(identifiers, key=lambda t: t.lower()))


Expand Down

0 comments on commit c4e2c39

Please sign in to comment.