Skip to content
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

Can this work with dvilualatex? #9

Closed
cshaa opened this issue Oct 23, 2021 · 1 comment
Closed

Can this work with dvilualatex? #9

cshaa opened this issue Oct 23, 2021 · 1 comment

Comments

@cshaa
Copy link

cshaa commented Oct 23, 2021

Motivation

I want to use the emojis in math equations in Manim. When using TeX code in Manim, it uses dvilualatex in the background to compile TeX to DVI. Then it uses dvisvgm to convert DVI to SVG, which is the format it needs.

Problem

Using dvilualatex to compile this simple TEX file

\documentclass[preview]{standalone}
\usepackage{emoji}
\begin{document}
\emoji{pineapple}
\end{document}

results in a faulty DVI file. Specifically, there's a broken reference to a font:

WARNING: font file 'NotoColorEmoji:mode=harf;script=DFLT;language=dflt;.mf' not found
processing page 1

Is there any walkaround for this?

System Info

  • elementary 6, based on Ubuntu 20.04.3 LTS
  • texlive 2021
  • emoji.sty version 0.2.2
  • dvilualatex 1.13.2
@stone-zeng
Copy link
Owner

It seems dvisvgm doesn't support embedding emoji fonts currently, see mgieseki/dvisvgm#162.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants