summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/ChangeLog4
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/TL-Changes5
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/patch-00-cfg18
-rw-r--r--Master/texmf/dvipdfmx/dvipdfmx.cfg10
4 files changed, 33 insertions, 4 deletions
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/ChangeLog b/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/ChangeLog
index 4e37cd82eb4..0448710d97d 100644
--- a/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/ChangeLog
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-29 Karl Berry <karl@tug.org>
+
+ * patch-00-cfg: new file, to use rungs instead of ps2pdf.
+
2011-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
* patch-04-dvipdfmx-20110311 (new): From upstream.
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/TL-Changes b/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/TL-Changes
index 76dca020da9..5ef2e9b655d 100644
--- a/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/TL-Changes
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/TL-Changes
@@ -1,6 +1,11 @@
Changes applied to the dvipdfmx-20110309 tree as obtained from:
http://project.ktug.or.kr/dvipdfmx/snapshot/latest/dvipdfmx-20110309.tar.gz
+patch-00-cfg changes dvipdfmx.cfg to use rungs instead of the default
+ps2pdf -dSAFER, to avoid complete pstricks failure with xetex. There is
+no need to apply this in the source tree, but it must be applied in the
+runtime (Master/texmf/dvipdfmx).
+
Removed:
NEWS
compile
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/patch-00-cfg b/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/patch-00-cfg
new file mode 100644
index 00000000000..defab891a13
--- /dev/null
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/patch-00-cfg
@@ -0,0 +1,18 @@
+--- data/dvipdfmx.cfg 2011-03-07 18:11:26.000000000 +0100
++++ /home/texlive/trunk/Master/texmf/dvipdfmx/dvipdfmx.cfg 2011-04-29 00:25:40.000000000 +0200
+@@ -139,3 +139,8 @@
+ %%
+-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,
++%% /usr/local/texlive/*/texmf-dist/dvips/pstricks/pstricks.pro (for
++%% example) needs to be accessed.
++%%
++D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile='%o' '%i' -c quit"
+
+@@ -144,5 +149,2 @@
+
+-%% Adobe Acrobat Distiller:
+-%D "/usr/local/bin/distill -quiet -pairs '%i' '%o'"
+-
+ %% Batik + Fop (SVG-to-PDF):
diff --git a/Master/texmf/dvipdfmx/dvipdfmx.cfg b/Master/texmf/dvipdfmx/dvipdfmx.cfg
index 893d0add8ce..0eddcaeccca 100644
--- a/Master/texmf/dvipdfmx/dvipdfmx.cfg
+++ b/Master/texmf/dvipdfmx/dvipdfmx.cfg
@@ -137,14 +137,16 @@ P 0x003C
%% 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,
+%% /usr/local/texlive/*/texmf-dist/dvips/pstricks/pstricks.pro (for
+%% example) needs to be accessed.
+%%
+D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile='%o' '%i' -c quit"
%% Frank Siegert's PStill:
%D "/usr/local/bin/pstill -c -o '%o' '%i'"
-%% Adobe Acrobat Distiller:
-%D "/usr/local/bin/distill -quiet -pairs '%i' '%o'"
-
%% Batik + Fop (SVG-to-PDF):
%% If you want both PS and SVG, you need to write a script or program
%% that selectively invokes converters.