From cdb8cc3d9c6117cbec0b6935d177d829073b30fe Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 20 Nov 2021 23:01:11 +0000 Subject: scripts xetex-unsafe and xelatex-unsafe, for xetex+pstricks+transparency git-svn-id: svn://tug.org/texlive/trunk@61101 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive-extra/README | 2 +- .../scripts/texlive-extra/xelatex-unsafe.sh | 24 ++++++++++++++ .../scripts/texlive-extra/xetex-unsafe.sh | 37 ++++++++++++++++++++++ Master/texmf-dist/scripts/texlive/README | 12 ++++--- 4 files changed, 69 insertions(+), 6 deletions(-) create mode 100644 Master/texmf-dist/scripts/texlive-extra/xelatex-unsafe.sh create mode 100755 Master/texmf-dist/scripts/texlive-extra/xetex-unsafe.sh (limited to 'Master/texmf-dist/scripts') 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 <