summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/patch-00-cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/patch-00-cfg')
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/patch-00-cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/patch-00-cfg b/Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/patch-00-cfg
new file mode 100644
index 00000000000..4568ca22a54
--- /dev/null
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/patch-00-cfg
@@ -0,0 +1,31 @@
+diff -ur dvipdfmx-20120420.orig/data/dvipdfmx.cfg dvipdfmx-20120420/data/dvipdfmx.cfg
+--- dvipdfmx-20120420.orig/data/dvipdfmx.cfg 2010-10-12 02:01:29.000000000 +0200
++++ dvipdfmx-20120420/data/dvipdfmx.cfg 2011-04-29 00:31:34.000000000 +0200
+@@ -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'"
++%% 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. (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"
+
+ %% 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.