summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/dvipdfm-x/data/dvipdfmx.cfg9
-rw-r--r--Build/source/texk/dvipdfm-x/man/dvipdfmx.115
-rw-r--r--Master/texmf-dist/dvipdfmx/dvipdfmx-unsafe.cfg10
-rw-r--r--Master/texmf-dist/dvipdfmx/dvipdfmx.cfg7
4 files changed, 29 insertions, 12 deletions
diff --git a/Build/source/texk/dvipdfm-x/data/dvipdfmx.cfg b/Build/source/texk/dvipdfm-x/data/dvipdfmx.cfg
index 2f10e13536c..8e355431a7c 100644
--- a/Build/source/texk/dvipdfm-x/data/dvipdfmx.cfg
+++ b/Build/source/texk/dvipdfm-x/data/dvipdfmx.cfg
@@ -151,12 +151,13 @@ P 0x003C
%% will also be re-encoded using Flate. To turn the conversion off,
%% simply remove the options mentioned above.
%%
-%% 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
+%% Incidentally, especially in TL, more than one dvipdfmx.cfg may exist.
+%% You can find the one that is active by running:
+%% kpsewhich -progname=dvipdfmx -format=othertext dvipdfmx.cfg
%% and control which one is found by setting DVIPDFMXINPUTS.
%%
-D "rungs -q -dALLOWPSTRANSPARENCY -dDELAYSAFER -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dAutoRotatePages=/None -sOutputFile='%o' '%i' -c quit"
+D "rungs -q -dALLOWPSTRANSPARENCY -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dAutoRotatePages=/None -sOutputFile='%o' '%i' -c quit"
+%% If you change the above invocation, also change dvipdfmxunsafe.cfg!
% other random ps converters people have experimented with.
%D "/usr/local/bin/ps2pdf -dEPSCrop '%i' '%o'"
diff --git a/Build/source/texk/dvipdfm-x/man/dvipdfmx.1 b/Build/source/texk/dvipdfm-x/man/dvipdfmx.1
index c8a6ad6c3c8..a2e4b3d81dc 100644
--- a/Build/source/texk/dvipdfm-x/man/dvipdfmx.1
+++ b/Build/source/texk/dvipdfm-x/man/dvipdfmx.1
@@ -10,7 +10,7 @@
.sp
.fi
..
-.TH "DVIPDFMX" "1" "5 October 2020"
+.TH "DVIPDFMX" "1" "15 March 2021"
.SH NAME
dvipdfmx, xdvipdfmx, dvipdfm \- produce PDF files directly from DVI files
.SH SYNOPSIS
@@ -36,7 +36,6 @@ is another incarnation of
rather than a separate program. Compatibility is attempted as best as
possible.
-In addition,
.B xdvipdfmx
is another incarnation. It is used as the back end for
.BR xetex (1)
@@ -134,6 +133,12 @@ as defined in the configuration file.
.B \-\-\^help
Show a help message and exit successfully.
.TP 5
+.B \-\^i " cfgfile"
+Read
+.I cfgfile
+as another include file, after reading the default
+.IR dvipdfmx.cfg .
+.TP 5
.B \-\^l
Select landscape mode. In other words, exchange the
.I x
@@ -318,6 +323,12 @@ configuration. The location may be determined by using kpsewhich, e.g.,
.I dvipdfmx.cfg
Default configuration file
.TP 5
+.I dvipdfmx-unsafe.cfg
+Configuration file that runs Ghostscript without safety checks; use only
+for trusted source files. It is currently required to use PSTricks with
+XeTeX:
+.B xetex \-output-driver="xdvipdfmx \-i dvipdfmx-unsafe.cfg -q -E" ...
+.TP 5
.I pdftex.map
The default font map file (this may be changed in the config file).
.TP 5
diff --git a/Master/texmf-dist/dvipdfmx/dvipdfmx-unsafe.cfg b/Master/texmf-dist/dvipdfmx/dvipdfmx-unsafe.cfg
index 46b4a7143f2..c37dd820122 100644
--- a/Master/texmf-dist/dvipdfmx/dvipdfmx-unsafe.cfg
+++ b/Master/texmf-dist/dvipdfmx/dvipdfmx-unsafe.cfg
@@ -1,6 +1,10 @@
-%%
+%% $Id$
%% dvipdfmx-unsafe.cfg for trustworthy sources only.
+%%
%% This file is read after reading a default configuration file
-%% dvipdfmx.cfg by an option -i dvipdfmx-unsafe.cfg.
-%%
+%% dvipdfmx.cfg via an option -i dvipdfmx-unsafe.cfg. Or, from XeTeX:
+%% -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E"
+%% (This is needed for PSTricks in XeTeX.)
+%%
D "rungs -q -dALLOWPSTRANSPARENCY -dNOSAFER -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dAutoRotatePages=/None -sOutputFile='%o' '%i' -c quit"
+%% If you change the above invocation, also change dvipdfmx.cfg!
diff --git a/Master/texmf-dist/dvipdfmx/dvipdfmx.cfg b/Master/texmf-dist/dvipdfmx/dvipdfmx.cfg
index 3d1cf0389cb..847c117af33 100644
--- a/Master/texmf-dist/dvipdfmx/dvipdfmx.cfg
+++ b/Master/texmf-dist/dvipdfmx/dvipdfmx.cfg
@@ -151,12 +151,13 @@ P 0x003C
%% will also be re-encoded using Flate. To turn the conversion off,
%% simply remove the options mentioned above.
%%
-%% 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
+%% Incidentally, especially in TL, more than one dvipdfmx.cfg may exist.
+%% You can find the one that is active by running:
+%% kpsewhich -progname=dvipdfmx -format=othertext dvipdfmx.cfg
%% and control which one is found by setting DVIPDFMXINPUTS.
%%
D "rungs -q -dALLOWPSTRANSPARENCY -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dAutoRotatePages=/None -sOutputFile='%o' '%i' -c quit"
+%% If you change the above invocation, also change dvipdfmxunsafe.cfg!
% other random ps converters people have experimented with.
%D "/usr/local/bin/ps2pdf -dEPSCrop '%i' '%o'"