Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename TikZImage as LaTeXImage #1502

Merged
merged 1 commit into from
Feb 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions conf/defaults.config
Original file line number Diff line number Diff line change
Expand Up @@ -1238,15 +1238,15 @@ $pg{specialPGEnvironmentVars}{use_knowls_for_solutions} = $pg{options}{use_knowl
# whether to use javascript for rendering Live3D graphs
$pg{specialPGEnvironmentVars}{use_javascript_for_live3d} = 1;

# Binary that the PGtikz.pl macro will use to create svg images.
# Binary that the PGtikz.pl and PGlateximage.pl macros will use to create svg images.
# This should be either 'pdf2svg' or 'dvipdfm'.
$pg{specialPGEnvironmentVars}{tikzSVGMethod} = "pdf2svg";
$pg{specialPGEnvironmentVars}{latexImageSVGMethod} = "pdf2svg";

# 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.
# convert will be called as:
# convert <input options> file.ext1 <output options> file.ext2
$pg{specialPGEnvironmentVars}{tikzConvertOptions} = {input => {density => 300}, output => {quality => 100}};
$pg{specialPGEnvironmentVars}{latexImageConvertOptions} = {input => {density => 300}, output => {quality => 100}};

# set the flags immediately above in the $pg{options} section above -- not here.

Expand Down Expand Up @@ -1342,7 +1342,7 @@ ${pg}{modules} = [
[qw(GD)],
[qw(AlgParser AlgParserWithImplicitExpand Expr ExprWithImplicitExpand utf8)],
[qw(AnswerHash AnswerEvaluator)],
[qw(TikZImage)],
[qw(LaTeXImage)],
[qw(WWPlot)], # required by Circle (and others)
[qw(Circle)],
[qw(Class::Accessor)],
Expand Down
8 changes: 4 additions & 4 deletions conf/localOverrides.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -343,19 +343,19 @@ $mail{feedbackRecipients} = [
# (U+FF01 to U+FF5E) to their corresponding ASCII characters (U+0021 to U+007E) automatically.
# $pg{specialPGEnvironmentVars}{convertFullWidthCharacters} = 1;

# Application that the PGtikz.pl macro will use to create svg images.
# Application that the PGtikz.pl and PGlateximage.pl macros will use to create svg images.
# This should be either 'pdf2svg' or 'dvisvgm'. The default is 'pdf2svg'.
# If the system version of latex is 3.14159265-2.6-1.40.20 (TeX Live 2019) or newer
# and the system version of dvisvgm is 2.8.1 or newer, then change this to 'dvisvgm'
# by uncommenting the line below. 'dvisvgm' will generally create better 'svg'
# images.
#$pg{specialPGEnvironmentVars}{tikzSVGMethod} = "dvisvgm";
#$pg{specialPGEnvironmentVars}{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.
# convert will be called as:
# convert <input options> file.ext1 <output options> file.ext2
#$pg{specialPGEnvironmentVars}{tikzConvertOptions} = {input => {density => 72}, output => {quality => 92}};
#$pg{specialPGEnvironmentVars}{latexImageConvertOptions} = {input => {density => 72}, output => {quality => 92}};

###############################################################################
# Math entry assistance
Expand Down Expand Up @@ -391,7 +391,7 @@ $mail{feedbackRecipients} = [
# Additional PG modules
#####################

#push (@{${pg}{modules}}, [qw(TikZImage)]);
#push (@{${pg}{modules}}, [qw(LaTeXImage)]);
################################################################################
# Student Date Format
################################################################################
Expand Down