diff options
-rw-r--r-- | Master/texmf/dvipdfm/config/config | 8 | ||||
-rw-r--r-- | Master/texmf/dvipdfm/dvipdfmx.cfg | 15 |
2 files changed, 18 insertions, 5 deletions
diff --git a/Master/texmf/dvipdfm/config/config b/Master/texmf/dvipdfm/config/config index 200df4bb95b..e8e5b959947 100644 --- a/Master/texmf/dvipdfm/config/config +++ b/Master/texmf/dvipdfm/config/config @@ -2,11 +2,17 @@ % For more info, read the dvipdfm manual (texdoc dvipdfm) and % the original file which is provided as README.config. +%% Ghostscript (TeX Live -- both Unix and Windows) +%% keep this the same in dvipdfm and dvipdfmx. +%% can't use zcat because the pipe breaks on Windows; better to have +%% one config file. +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" + % Distiller config. Uses ghostscript and works on compressed and % uncompressed files. Use zcat -f <%i instead of zcat -f %i % because MacOSX Leopard expects the arg to be compressed without % COMMAND_MODE=legacy. Sigh. -D "zcat -f <%i | gs -q -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.2 -dUseFlateCompression=true -dSAFER -sOutputFile=%o - -c quit" +%D "zcat -f <%i | gs -q -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.2 -dUseFlateCompression=true -dSAFER -sOutputFile=%o - -c quit" % Set default paper size here p a4 diff --git a/Master/texmf/dvipdfm/dvipdfmx.cfg b/Master/texmf/dvipdfm/dvipdfmx.cfg index e36926883f9..b8adb6c6f11 100644 --- a/Master/texmf/dvipdfm/dvipdfmx.cfg +++ b/Master/texmf/dvipdfm/dvipdfmx.cfg @@ -133,14 +133,21 @@ P 0x003C %% %% If you have figures even larger than A0, and their llx=lly=0, you can %% use -dEPSCrop instead of -sPAPERSIZE=a0 -%% -%% GhostScript (Unix/Linux): + +%% Ghostscript (TeX Live -- both Unix and Windows) +%% keep this the same in dvipdfm and dvipdfmx. +%% can't use zcat because the pipe breaks on Windows; better to have +%% one config file. +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" + +%% Ghostscript (Unix/Linux): %D "gs -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" -%% GhostScript (Win32): +%% Ghostscript (Win32): %D "gswin32c -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" -%% GhostScript (TeX Live -- both Unix and Windows) +%% Ghostscript (TeX Live -- both Unix and Windows) +%% keep this 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" %% Frank Siegert's PStill: |