Skip to content

Commit

Permalink
Switch the default svg method to dvisvgm.
Browse files Browse the repository at this point in the history
This corresponds to the similar change in webwork2.  Note that this is
not used by webwork2 though.
  • Loading branch information
drgrice1 committed Jun 25, 2024
1 parent 63d034d commit f4f6469
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/pg_config.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ specialPGEnvironmentVars:

# Binary that the PGtikz.pl and PGlateximage.pl macros will use to create svg images.
# This should be either 'pdf2svg' or 'dvisvgm'.
latexImageSVGMethod: pdf2svg
latexImageSVGMethod: dvisvgm

# When ImageMagick is used for image conversions, this sets the default options.
# See https://imagemagick.org/script/convert.php for a full list of options.
Expand Down
2 changes: 1 addition & 1 deletion lib/LaTeXImage.pm
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ sub new {
texPackages => [],
addToPreamble => '',
ext => 'svg',
svgMethod => 'pdf2svg',
svgMethod => 'dvisvgm',
convertOptions => { input => {}, output => {} },
imageName => ''
};
Expand Down

0 comments on commit f4f6469

Please sign in to comment.