dvisvgm and mupdf (Was: dvisvgm needs rebuild to support ghostscript 10)
Martin Gieseking
martin.gieseking at uos.de
Fri Dec 2 10:25:06 CET 2022
Thank you for your feedback, Bruno.
Am 02.12.2022 um 03:11 schrieb Bruno Voisin via tex-live:
> I don't know how things work for the Windows and Unix versions of TL, but for the Mac version, MacTeX includes GS (default, for ps2pdf, pstricks etc.) and libgs (optional, for dvisvgm). So, if I get things right, when the switch to GS 10.1 happens, MacTeX will need to replace libgs with mutool.
I fear that would be too easy. :-) dvisvgm still supports PostScript
specials, e.g. created by PSTricks and TikZ in dvips mode. It's also
still possible to process EPS files (referenced in DVI files or
standalone). This functionality relies on the GS library and can't be
replaced by mutool. So as of GS 10.1, both GS and mutool are needed for
dvisvgm's full functionality. They are optional, though. If they are
missing, the conversion of PS and/or PDF files/specials is disabled.
> Nowadays GS is updated twice a year, with the "spring" release coming at about the same time as TL, too late for testing. So MacTeX provides the release from the autumn before. This means MacTeX 2023 will include GS 10.0 so we'll be fine. But if a separate GS 10.1 package is offered later it will need to have mutool. And MacTeX 2024 will need mutool from the start.
That sounds good to me.
> having XQuartz installed (ie X11) and OpenGL deprecated but still part of macOS.
[...]
> mupdf-gl works OK as a PDF viewer. Adding HAVE_GLUT=no and/or HAVE_X11=no at the make stage results in muraster and mutool being installed but not mupdf-gl.
As far as dvisvgm is concerned, only the basic mutool executable without
any OpenGL stuff is sufficient. If you don't plan to also provide the
mupdf viewer with MacTeX, you could disable the additional dependencies.
Best,
Martin
More information about the tex-live
mailing list.