Expand symbols.hs by this list
perguto opened this issue · 1 comments
https://www.johndcook.com/unidata.js has a useful list of symbols. Would it be possible to add them to symbols.hs?
Hi, nice find! It's definitely possible to add some symbols from that list to the Symbols.hs file. Not the whole list though: Many symbols seem to require additional Latex packages that the Pandoc default template does not import (or I don't understand where they are defined at all). These symbols, or rather their corresponding Latex sequences, make Pandoc crash with an "Undefined control sequence" error (at least with the default template), which would not exactly be a great user experience.
So yes, we can absolutely adopt symbols from this list, but we should always test whether they make it through the conversion smoothly (with the default template). Random examples (wild guess, I expect at least the entries with the "(new)" flag to be problematic):
- U+2662:
\diamondsuit
works - U+2682:
\diceiii
doesn't work, no idea where this comes from
Would you like to start by picking the symbols you think would make useful additions? And maybe even prepare a PR?