diff options
author | Karl Berry <karl@freefriends.org> | 2008-05-07 21:35:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-05-07 21:35:06 +0000 |
commit | 3072d12ba154e0c87438d9de05144e26ec7b89d9 (patch) | |
tree | a7e96a9972c85e774a4391dc3fe66f89413db060 /Master/texmf/dvipdfm | |
parent | 319849ba0c20a0bd2a33b1c19878fce186c45715 (diff) |
rungs for both dvipdfm and dvipdfmx
git-svn-id: svn://tug.org/texlive/trunk@7925 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/dvipdfm')
-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: |