Closed drdv closed 1 month ago
On Linux, dvisvgm uses the linked kpathsea library which belongs to the corresponding TeX Live system to lookup font files. If tectonic comes with its own TeX environment and settings and you use a dvisvgm binary that was built for TeX Live, you probably need to adapt some TeX environment variables in order to tell dvisvgm where the tectonic texmf directories are located. I don't know the details of tectonic so I can't help here, unfortunately.
I have installed
dvisvgm
usingsudo dnf install dvisvgm
(version3.0.4
).Let
math.tex
contains (it is based on thesphinx.ext.imgmath
templatepreview.tex_t
)When I use
the
stdout
ofdvisvgm
isand
math.svg
is "broken". If I thendnf install texlive-fontspec
, all is as expected:I presume that
tectonic
has already downloaded the required fonts butdvisvgm
is looking fortexlive
-installed fonts. Is it possible fordvisvgm
to usetectonic
fonts (maybe it is just a matter of providing the right path)?