diff options
author | Karl Berry <karl@freefriends.org> | 2021-11-20 23:01:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-11-20 23:01:11 +0000 |
commit | cdb8cc3d9c6117cbec0b6935d177d829073b30fe (patch) | |
tree | 7f0400e0285e8e2cf66fe3d735a18ca872ba14e9 /Master/texmf-dist/scripts | |
parent | e6136d0b484623d79a0c5dd8fe5ec1e20d970209 (diff) |
scripts xetex-unsafe and xelatex-unsafe, for xetex+pstricks+transparency
git-svn-id: svn://tug.org/texlive/trunk@61101 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rw-r--r-- | Master/texmf-dist/scripts/texlive-extra/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/scripts/texlive-extra/xelatex-unsafe.sh | 24 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/texlive-extra/xetex-unsafe.sh | 37 | ||||
-rw-r--r-- | Master/texmf-dist/scripts/texlive/README | 12 |
4 files changed, 69 insertions, 6 deletions
diff --git a/Master/texmf-dist/scripts/texlive-extra/README b/Master/texmf-dist/scripts/texlive-extra/README index 53854c6f407..55d0cebcecb 100644 --- a/Master/texmf-dist/scripts/texlive-extra/README +++ b/Master/texmf-dist/scripts/texlive-extra/README @@ -13,6 +13,6 @@ inherited from teTeX. See texmf-dist/scripts/texlive/README (i.e., ../texlive/README) for more info. -The principal mailing list is http://lists.tug.org/tex-live. +The principal mailing list is https://lists.tug.org/tex-live. All of these scripts are free software, mostly public domain. diff --git a/Master/texmf-dist/scripts/texlive-extra/xelatex-unsafe.sh b/Master/texmf-dist/scripts/texlive-extra/xelatex-unsafe.sh new file mode 100644 index 00000000000..de17ee3b7e4 --- /dev/null +++ b/Master/texmf-dist/scripts/texlive-extra/xelatex-unsafe.sh @@ -0,0 +1,24 @@ +#!/bin/sh +# $Id$ +# Public domain. Originally written by Karl Berry, 2021. +# Run Xe(La)TeX unsafely, for pstricks/transparency. See man page for more. + +if test "x$1" = x--help; then + mydir=`dirname $0` + if test -r "$mydir"/xetex-unsafe; then + xu="$mydir"/xetex-unsafe + elif test -r "$mydir"/xetex-unsafe.sh; then + xu="$mydir"/xetex-unsafe.sh + else + echo "$0: can't find companion xetex-unsafe[.sh] for help msg?" >&2 + exit 1 + fi + exec "$xu" --help # don't want to duplicate help message. + +elif test "x$1" = x--version; then + echo "$Id$" + exit 0 +fi + +cmd=`echo "$0" | sed s/-unsafe//` +exec "$cmd" -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" "$@" diff --git a/Master/texmf-dist/scripts/texlive-extra/xetex-unsafe.sh b/Master/texmf-dist/scripts/texlive-extra/xetex-unsafe.sh new file mode 100755 index 00000000000..e07493cd6c3 --- /dev/null +++ b/Master/texmf-dist/scripts/texlive-extra/xetex-unsafe.sh @@ -0,0 +1,37 @@ +#!/bin/sh +# $Id$ +# Public domain. Originally written by Karl Berry, 2021. +# Run Xe(La)TeX unsafely, for pstricks/transparency. See man page for more. + +if test "x$1" = x--help; then + cat <<END_USAGE +Usage: $0 [XETEX-ARGUMENT]... + +Run Xe(La)TeX unsafely, that is, using dvipdfmx-unsafe.cfg. All +command-line arguments, except --help and --version, are passed as-is to +Xe(La)TeX. + +As of TeX Live 2022, doing this is needed only when running XeTeX on +documents using PSTricks features which require transparency. We +recommend using Lua(La)TeX with PSTricks instead of XeTeX in this case. + +At all costs, avoid using this, or any, unsafe invocation with documents +off the net or that are otherwise untrusted in any way. + +For more details on this, please see the xetex-unsafe(1) man page, +or "texdoc xetex-unsafe". + +For more about XeTeX: https://tug.org/xetex +For more about PSTricks: https://tug.org/PSTricks +Email for xe(la)tex-unsafe specifically: https://lists.tug.org/dvipdfmx +END_USAGE + echo '$Id$' + exit 0 + +elif test "x$1" = x--version; then + echo '$Id$' + exit 0 +fi + +cmd=`echo "$0" | sed s/-unsafe//` +exec "$cmd" -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" "$@" diff --git a/Master/texmf-dist/scripts/texlive/README b/Master/texmf-dist/scripts/texlive/README index 4758e0a84f0..f727fe3390d 100644 --- a/Master/texmf-dist/scripts/texlive/README +++ b/Master/texmf-dist/scripts/texlive/README @@ -2,13 +2,15 @@ $Id$ Master/texmf-dist/scripts/texlive (This file is public domain.) -This directory contains scripts for TeX Live. Unlike everything else -under Master/texmf-dist/scripts, except scripts/texlive-extra, most of -these scripts are actually maintained here, and not under Build. +This directory contains scripts for TeX Live. The scripts here are in +fact maintained here, and not under Build, unlike almost everything else +under Master/texmf-dist/scripts. (The other directory of +Master-maintained scripts is the sibling scripts/texlive-extra/.) There are slave copies of these Master-maintained scripts in Build/source/texk/texlive/linked_scripts, just as for the multitude of -scripts updated from CTAN. +scripts updated from CTAN. tlpkg/bin/tl-update-linked-scripts keeps +them in sync; it's invoked from the nightly cron. The man pages for the programs here, though, are still maintained in Build/, since that is almost 100% true in TL, and it seems better not to @@ -41,6 +43,6 @@ texlive-scripts - infraonly, important scripts (fmtutil, updmap, texlive-scripts-extra - not infraonly, little-used scripts (allcm, allec, texconfig, ...), changes pushed normally. -The principal mailing list is http://lists.tug.org/tex-live. +The principal mailing list is https://lists.tug.org/tex-live. All of these scripts are free software, mostly public domain. |