From 242bc4447b3654c2c4fbdb2dc49240e5eee3645c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 May 2011 17:21:25 +0000 Subject: more comments about rungs git-svn-id: svn://tug.org/texlive/trunk@22328 c570f23f-e606-0410-a88d-b1316a301751 --- .../texk/dvipdfmx/dvipdfmx-20110311-PATCHES/patch-00-cfg | 15 +++++++++++---- Master/texmf/dvipdfmx/dvipdfmx.cfg | 13 ++++++++++--- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20110311-PATCHES/patch-00-cfg b/Build/source/texk/dvipdfmx/dvipdfmx-20110311-PATCHES/patch-00-cfg index 3c4e3be2a5b..855796014ee 100644 --- a/Build/source/texk/dvipdfmx/dvipdfmx-20110311-PATCHES/patch-00-cfg +++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110311-PATCHES/patch-00-cfg @@ -1,15 +1,22 @@ diff -ur dvipdfmx-20110311.orig/data/dvipdfmx.cfg dvipdfmx-20110311/data/dvipdfmx.cfg --- dvipdfmx-20110311.orig/data/dvipdfmx.cfg 2010-10-12 02:01:29.000000000 +0200 +++ dvipdfmx-20110311/data/dvipdfmx.cfg 2011-04-29 00:31:34.000000000 +0200 -@@ -137,14 +137,16 @@ +@@ -137,14 +137,23 @@ %% than A0, and their llx=lly=0, you can use "-dEPSCrop" instead of %% "-sPAPERSIZE=a0" %% -D "ps2pdf -dCompatibilityLevel=%v -sPAPERSIZE=a0 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode '%i' '%o'" -+%% We use the rungs wrapper instead of ps2pdf, becuse we cannot use the -+%% -dSAFER which ps2pdf does: when used with pstricks, ++%% In TeX Live, we use the rungs wrapper instead of ps2pdf, becuse we ++%% must omit the -dSAFER which ps2pdf specifies: in order for pstricks ++%% to work with xetex, +%% /usr/local/texlive/*/texmf-dist/dvips/pstricks/pstricks.pro (for -+%% example) needs to be accessed. ++%% example) needs to be accessed. (Also, it is better to use our ++%% supplied gs on Windows.) You can also add -dNOSAFER to the ps2pdf ++%% command line. ++%% ++%% Incidentally, especially in TL, more than one dvipdfmx.cfg may be ++%% extant. You can find the one that is active by running: ++%% kpsewhich -progname=dvipdfmx -format='other text files' dvipdfmx.cfg +%% +D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile='%o' '%i' -c quit" diff --git a/Master/texmf/dvipdfmx/dvipdfmx.cfg b/Master/texmf/dvipdfmx/dvipdfmx.cfg index 0eddcaeccca..49c471d330e 100644 --- a/Master/texmf/dvipdfmx/dvipdfmx.cfg +++ b/Master/texmf/dvipdfmx/dvipdfmx.cfg @@ -137,10 +137,17 @@ P 0x003C %% than A0, and their llx=lly=0, you can use "-dEPSCrop" instead of %% "-sPAPERSIZE=a0" %% -%% We use the rungs wrapper instead of ps2pdf, becuse we cannot use the -%% -dSAFER which ps2pdf does: when used with pstricks, +%% In TeX Live, we use the rungs wrapper instead of ps2pdf, becuse we +%% must omit the -dSAFER which ps2pdf specifies: in order for pstricks +%% to work with xetex, %% /usr/local/texlive/*/texmf-dist/dvips/pstricks/pstricks.pro (for -%% example) needs to be accessed. +%% example) needs to be accessed. (Also, it is better to use our +%% supplied gs on Windows.) You can also add -dNOSAFER to the ps2pdf +%% command line. +%% +%% Incidentally, especially in TL, more than one dvipdfmx.cfg may be +%% extant. You can find the one that is active by running: +%% kpsewhich -progname=dvipdfmx -format='other text files' dvipdfmx.cfg %% D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile='%o' '%i' -c quit" -- cgit v1.2.3