ali-ramadhan / DocumenterCitations.jl

DocumenterCitations.jl uses Bibliography.jl to add support for BibTeX citations and references in documentation pages generated by Documenter.jl.
https://ali-ramadhan.github.io/DocumenterCitations.jl/dev
MIT License
65 stars 10 forks source link

Improve code substituting \o, \O etc. #53

Closed fingolfin closed 2 years ago

fingolfin commented 2 years ago

These broke TeX macros like \overline. To fix that, check for a word boundary after the letter. But now we have to be careful to perform these substitutions first and together. Otherwise, if we have e.g. \o\l and first replace the \l by ł, then the result would \oł which has no word boundary after o anymore, and we'd not substitute the \o anymore.

simonbyrne commented 2 years ago

Thanks!