latex-emoji icon indicating copy to clipboard operation
latex-emoji copied to clipboard

readme doesn't say it's not supported on pdflatex

Open Kreijstal opened this issue 4 years ago • 3 comments

if you run it on pdflatex you get ! Critical Package emoji Error: The 'emoji' package requires LuaTeX.

Kreijstal avatar Jul 06 '20 07:07 Kreijstal

Weird, it works with my pdflatex install. Could you post more of the error message?

henningpohl avatar Jul 06 '20 16:07 henningpohl

Alright, so I redownloaded, your package again with git clone and went to compile example.tex with pdflatex, this is what I get

! Package inputenc Error: Unicode character ⏩ (U+23E9)
(inputenc)                not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...

l.44 ... instead. For example, the line ``\dogline
                                                  '' does not contain the \v...

Kreijstal avatar Jul 09 '20 04:07 Kreijstal

Ah, I see. It looks like something changed in inputenc or somewhere else and the registering of emoji characters is now broken. The \emoji command should still work, but you'd need to enter the corresponding number instead of writing the character directly. Registering characters does seem to work with newunicodechar, so maybe add that to your document if you need that functionality. I don't think I can find the time right now to change this package to make emoji via character work.

henningpohl avatar Jul 09 '20 13:07 henningpohl