From e255e7ef6358e1c6ea0f1410af6b72575886c0c7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 15 Mar 2021 22:30:13 +0000 Subject: dvipdfmx-unsafe.cfg doc git-svn-id: svn://tug.org/texlive/trunk@58412 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipdfm-x/data/dvipdfmx.cfg | 9 +++++---- Build/source/texk/dvipdfm-x/man/dvipdfmx.1 | 15 +++++++++++++-- 2 files changed, 18 insertions(+), 6 deletions(-) (limited to 'Build') 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 -- cgit v1.2.3