mgieseki / dvisvgm

A fast DVI, EPS, and PDF to SVG converter
https://dvisvgm.de
GNU General Public License v3.0
306 stars 33 forks source link

Add DVISVGM_PATH for finding missing l3backend-dvips.pro. #138

Closed johncbowman closed 4 years ago

johncbowman commented 4 years ago

Updating the version of dvisvgm in TeXLive 2020 generates this error:

WARNING: PostScript header file l3backend-dvips.pro not found

This patch provides a simple workaround.

mgieseki commented 4 years ago

I can't reproduce the issue here. l3backend-dvips.pro is a header file usually added by the dvips backend driver of LaTeX and should therefore be present in the texmf tree. So, there's no need to look for it anywhere else. Does kpsewhich find the file on your computer?

johncbowman commented 4 years ago

I finally found out how to integrate the latest git version of dvisvgm into TeXLive, by building the latest copy of kpathsea:

svn co svn://tug.org/texlive/trunk/Build/source/texk/kpathsea

and linking to that. That is a better solution than the workaround in this pull request (for systems with old kpathsea libraries).

Application: This allows import ring.asy; to work on the Asymptote Web Application at http://asymptote.ualberta.ca/