~ubuntu-branches/ubuntu/utopic/texlive-bin/utopic

« back to all changes in this revision

Viewing changes to texk/dvipdfmx/dvipdfmx-20120420-PATCHES/patch-00-cfg

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2012-05-07 10:47:49 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20120507104749-p00ot5sajjbkp1hp
Tags: 2011.20120507-1
* new upstream checkout: uptex 1.10
* drop patches for config file inclusion in (x)dvipdfmx, included upstream
* add man page for etex
* include pmpost patches and build it
* adapt/unfuzzify patches for current sources
* disable mtx building, we have prepmx package in Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -ur dvipdfmx-20120420.orig/data/dvipdfmx.cfg dvipdfmx-20120420/data/dvipdfmx.cfg
 
2
--- dvipdfmx-20120420.orig/data/dvipdfmx.cfg    2010-10-12 02:01:29.000000000 +0200
 
3
+++ dvipdfmx-20120420/data/dvipdfmx.cfg 2011-04-29 00:31:34.000000000 +0200
 
4
@@ -137,14 +137,23 @@
 
5
 %% than A0, and their llx=lly=0, you can use "-dEPSCrop" instead of
 
6
 %% "-sPAPERSIZE=a0"
 
7
 %%
 
8
-D  "ps2pdf -dCompatibilityLevel=%v -sPAPERSIZE=a0 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode '%i' '%o'"
 
9
+%% In TeX Live, we use the rungs wrapper instead of ps2pdf, becuse we
 
10
+%% must omit the -dSAFER which ps2pdf specifies: in order for pstricks
 
11
+%% to work with xetex,
 
12
+%% /usr/local/texlive/*/texmf-dist/dvips/pstricks/pstricks.pro (for
 
13
+%% example) needs to be accessed.  (Also, it is better to use our
 
14
+%% supplied gs on Windows.)  You can also add -dNOSAFER to the ps2pdf
 
15
+%% command line.
 
16
+%%
 
17
+%% Incidentally, especially in TL, more than one dvipdfmx.cfg may be
 
18
+%% extant.  You can find the one that is active by running:
 
19
+%% kpsewhich -progname=dvipdfmx -format='other text files' dvipdfmx.cfg
 
20
+%%
 
21
+D  "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile='%o' '%i' -c quit"
 
22
 
 
23
 %% Frank Siegert's PStill:
 
24
 %D  "/usr/local/bin/pstill -c -o '%o' '%i'"
 
25
 
 
26
-%% Adobe Acrobat Distiller:
 
27
-%D  "/usr/local/bin/distill -quiet -pairs '%i' '%o'"
 
28
-
 
29
 %% Batik + Fop (SVG-to-PDF):
 
30
 %% If you want both PS and SVG, you need to write a script or program
 
31
 %% that selectively invokes converters.