-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert common TeX to unicode #11
Comments
PR #17 starts working on this (see below). I'll tag v0.1.1 or v0.2.0 shortly after it's merged. @simonbyrne Do you know of a list of these kinds of replacements or should we just add to it as we go along? I was able to find lists for math TeX to unicode (https://github.com/svenkreiss/unicodeit/blob/master/unicodeit/data.py) but not so much for text replacements. |
I agree we probably don't want the full unicodeit list, as it seems to include both math and text commands |
Reopening this. We're still seeing issues, e.g. |
This is due to spurious spaces being inserted by the BibTeX parser. Upstream issue is Humans-of-Julia/BibParser.jl#5. |
Should we leave this open until the upstream is closed? |
Yes, probably a good idea. |
Hi there! Sorry for the long wait, spurious braces should not be a problem anymore. It might only be a crude parser that I handcrafted, but BibParser.jl got updated today (v0.1.11) |
I've created a GitHub repo to convert LaTeX ⇋ Unicode: https://github.com/Humans-of-Julia/LaTeXUniCode.jl Anyway, if some of you want to join, you're all welcome aboard. |
The function
Could this be done? |
DocumenterCitations.jl/src/bibliography.jl Lines 50 to 54 in 886bbb7
Or am i misunderstanding it? |
No you are right. Hmm, I thought I'd made a PR also applying it to the output of xin... guess I forgot :/ |
I converted all my
|
@charleskawczynski Is |
I set it up here, and noticed a few TeX artifacts.
I would suggest at least converting two dashes (
--
) to an en-dash (–
) as those are very common and hard to type.The text was updated successfully, but these errors were encountered: