summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLPostInstall.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/TeXLive/TLPostInstall.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLPostInstall.pm14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/tlpkg/TeXLive/TLPostInstall.pm b/Master/tlpkg/TeXLive/TLPostInstall.pm
index 4342715f13b..041a3a1d42d 100644
--- a/Master/tlpkg/TeXLive/TLPostInstall.pm
+++ b/Master/tlpkg/TeXLive/TLPostInstall.pm
@@ -122,13 +122,15 @@ sub do_bin_dvipdfmx {
open(DVIPDFMCONFIGINST, ">$TEXMFSYSVAR/dvipdfm/dvipdfmx.cfg")
or die("Cannot open $TEXMFSYSVAR/dvipdfm/dvipdfmx.cfg");
while (<DVIPDFMCONFIGDIST>) {
- if (m/^D /) {
- print DVIPDFMCONFIGINST "%$_";
- print DVIPDFMCONFIGINST "\n%% GhostScript (TeX Live (Unix and Win32)):\n";
- print DVIPDFMCONFIGINST 'D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit"', "\n\n";
- } else {
+ # current dvipdfmx.cfg already contains the right rungs incantation
+ # so do just copy the file to texmf-var
+ #if (m/^D /) {
+ # print DVIPDFMCONFIGINST "%$_";
+ # print DVIPDFMCONFIGINST "\n%% GhostScript (TeX Live (Unix and Win32)):\n";
+ # print DVIPDFMCONFIGINST 'D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit"', "\n\n";
+ #} else {
print DVIPDFMCONFIGINST;
- }
+ #}
}
close(DVIPDFMCONFIGDIST);
close(DVIPDFMCONFIGINST);