diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf/dvipdfm/config/config | 2 | ||||
-rw-r--r-- | Master/texmf/dvipdfm/config/config-win32 | 4 | ||||
-rw-r--r-- | Master/texmf/dvipdfm/dvipdfmx.cfg | 13 |
3 files changed, 12 insertions, 7 deletions
diff --git a/Master/texmf/dvipdfm/config/config b/Master/texmf/dvipdfm/config/config index 175dfac45a9..019a75da53f 100644 --- a/Master/texmf/dvipdfm/config/config +++ b/Master/texmf/dvipdfm/config/config @@ -4,7 +4,7 @@ % Distiller config. Uses ghostscript and works on compressed and % uncompressed files. -D "zcat -f %i | gs -q -dEPSCrop -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/config/config-win32 b/Master/texmf/dvipdfm/config/config-win32 index b2e9294c775..65a0613e718 100644 --- a/Master/texmf/dvipdfm/config/config-win32 +++ b/Master/texmf/dvipdfm/config/config-win32 @@ -21,9 +21,9 @@ D "epstopdf --outfile=%o --nocompress %i"
% The following line works with GhostScript
-% D "gs -q -dEPSCrop -sDEVICE=pdfwrite -dCompatibilityLevel=1.2 -dUseFlateCompression=true -sOutputFile=%o %i -c quit"
+% D "gs -q -sPAPERSIZE+a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.2 -dUseFlateCompression=true -sOutputFile=%o %i -c quit"
% The following line works on compressed or uncompressed postscript with GhostScript
-%D "zcat -f %i | gs -q -dEPSCrop -sDEVICE=pdfwrite -dCompatibilityLevel=1.2 -dUseFlateCompression=true -sOutputFile=%o - -c quit"
+%D "zcat -f %i | gs -q -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.2 -dUseFlateCompression=true -sOutputFile=%o - -c quit"
% The following line works with Adobe Acrobat Distiller
% D "/usr/local/bin/distill -quiet -pairs %i %o"
diff --git a/Master/texmf/dvipdfm/dvipdfmx.cfg b/Master/texmf/dvipdfm/dvipdfmx.cfg index 1411e0b03aa..440dc505f13 100644 --- a/Master/texmf/dvipdfm/dvipdfmx.cfg +++ b/Master/texmf/dvipdfm/dvipdfmx.cfg @@ -114,14 +114,19 @@ P 0x003C %% /FlateEncode is introduced to avoid quality loss of "EPS JPEG" %% images. %% -%% Also note that -dEPSCrop is specified below. This is necessary to -%% prevent gs from clipping PS figure at some papersize. +%% Also note that PAPERSIZE=a0 is specified below. This convert PS +%% files (including EPS) to A0 papersize PDF. This is necessary to +%% prevent gs from clipping PS figure at some papersize. (A0 above +%% simply means large size paper) +%% +%% If you have figures even larger than A0, and their llx=lly=0, you can +%% use -dEPSCrop instead of -sPAPERSIZE=a0 %% %% GhostScript (Unix/Linux): -D "gs -q -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit" +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): -%D "gswin32c -q -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit" +%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" %% Frank Siegert's PStill: %D "/usr/local/bin/pstill -c -o %o %i" |