uwdata / living-papers

Authoring tools for scholarly communication. Create interactive web pages or formal research papers from markdown source.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ellipsis renders weirdly in LaTeX

joshuahhh opened this issue · comments

... in md (three characters) turns into in LaTeX source (single character) turns into Screen Shot 2022-09-15 at 9 57 00 AM in LaTeX output.

I did a quick check and Pandoc automatically parses ... into unicode \8230 / horizontal ellipsis. One weakness of the Living Papers latex compiler is handling (or more aptly, current non-handling) of unicode, which I would love to handle in a robust and generalized manner. But for basic common things like ellipses a lookup table should suffice for now.

If you want to patch your fork in the meantime, simply add a case at this line:
https://github.com/uwdata/living-papers-testbed/blob/main/src/output/latex/tex-format.js#L39

You can have map to \ldots{}.

FYI: I've been marking issues as "priority: medium" to indicate that I've been able to route around them for the purposes of my paper (though I expect they'll cause issues for future papers).

Fixed via lookup table.