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

Properly format en and em dashes in reference titles #17

Closed ali-ramadhan closed 3 years ago

ali-ramadhan commented 3 years ago

This PR starts adding support for converting common TeX to unicode starting with en and em dashes.

This PR depends on #13.

Resolves #11 (?)

ali-ramadhan commented 3 years ago

It's a very naive approach that scales as O(B*R) where B is the number of items in the bibliography and R is the number of possible replacements.

But maybe we don't expect too many replacements. Certainly there aren't that many text replacements we want to do for titles I think.