From ee533f94aaf4ad6196024dac0870c042f1654ae7 Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova Date: Tue, 23 Aug 2022 18:20:42 +0100 Subject: [PATCH] document new dvips pipeline in comments --- lib/LaTeXML/Post/LaTeXImages.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/LaTeXML/Post/LaTeXImages.pm b/lib/LaTeXML/Post/LaTeXImages.pm index 379f09d3a..bc76f45c0 100644 --- a/lib/LaTeXML/Post/LaTeXImages.pm +++ b/lib/LaTeXML/Post/LaTeXImages.pm @@ -32,8 +32,13 @@ our $LATEXCMD = 'latex'; #(or elatex) [ CONFIGURABLE? Encoded in PI?] # The purpose of this module is to convert TeX fragments into png (or similar), # typically via dvi and other intermediate formats. # LaTeX converts the TeX stuff to dvi; -# dvips converts the dvi to eps, and ImageMagick can convert the eps to png; +# dvips converts the dvi to ps, and ghostscript converts to png +# then ImageMagick extracts the dimensions and converts from png if necessary # OR dvipng can convert the dvi to png MUCH quicker... if it's available. +# OR dvisvgm for high quality SVG output, if available + +# preview.sty is used to inform gs/dvipng/dvisvgm how to clip the image +# and recover the depth for vertical alignment # Options: # source : (dir)