scipy-conference / scipy_proceedings

Tools used to generate the SciPy conference proceedings
Other
223 stars 512 forks source link

PDF build failed because of Unicode characters ♁ or ⤶ #729

Open astrojuanlu opened 2 years ago

astrojuanlu commented 2 years ago

I am trying to build #724 locally with some astronomical symbols, but I get these errors:

! Package inputenc Error: Unicode character ♁ (U+2641)                                                                 
(inputenc)                not set up for use with LaTeX.

I see several ways online to address it, but generally they involve using extra packages like https://mirrors.rit.edu/CTAN/macros/latex/contrib/wasysym/wasysym.pdf or doing some hackery. What would be the best way forward here?

astrojuanlu commented 2 years ago

Also happening with others like ⤶ (trying to use it to communicate line continuation in wide code outputs)

astrojuanlu commented 2 years ago

cc @jorgepiloto

deniederhut commented 2 years ago

We might be able to declare a new unicode character (e.g. following https://en.m.wikibooks.org/wiki/LaTeX/Special_Characters), but this will depend on us having that glyph in our font files, which we might not.

stefanv commented 4 months ago

Perhaps also try compiling with XeTeX instead of pdflatex.