From c498cade5c2ebc48aade9b0f8c4423e0afeb69f8 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Sun, 21 Nov 2021 00:54:07 +0000 Subject: Add xetex-unsafe.bat, xelatex-unsafe.bat and their wrappers xetex-unsafe.exe, xelatex-unsafe.exe. git-svn-id: svn://tug.org/texlive/trunk@61104 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/win32/xelatex-unsafe.bat | 29 +++++++++++++++++++++++++++++ Master/bin/win32/xelatex-unsafe.exe | Bin 0 -> 1536 bytes Master/bin/win32/xetex-unsafe.bat | 29 +++++++++++++++++++++++++++++ Master/bin/win32/xetex-unsafe.exe | Bin 0 -> 1536 bytes 4 files changed, 58 insertions(+) create mode 100644 Master/bin/win32/xelatex-unsafe.bat create mode 100644 Master/bin/win32/xelatex-unsafe.exe create mode 100644 Master/bin/win32/xetex-unsafe.bat create mode 100644 Master/bin/win32/xetex-unsafe.exe (limited to 'Master') diff --git a/Master/bin/win32/xelatex-unsafe.bat b/Master/bin/win32/xelatex-unsafe.bat new file mode 100644 index 00000000000..9b902e6ccd6 --- /dev/null +++ b/Master/bin/win32/xelatex-unsafe.bat @@ -0,0 +1,29 @@ +@echo off +rem +rem Public domain. Originally written by A. Kakuto, 2021. +rem Run XeLaTeX unsafely, for pstricks/transparency. See man page for more. +if x%1 == x--help ( +echo Usage: xelatex-unsafe [XETEX-ARGUMENT]... +echo Run XeLaTeX unsafely, that is, using dvipdfmx-unsafe.cfg. All +echo command-line arguments, except --help and --version, are passed as-is to +echo XeLaTeX. +echo. +echo As of TeX Live 2022, doing this is needed only when running XeLaTeX on +echo documents using PSTricks features which require transparency. We +echo recommend using LuaLaTeX with PSTricks instead of XeLaTeX in this case. +echo. +echo At all costs, avoid using this, or any, unsafe invocation with documents +echo off the net or that are otherwise untrusted in any way. +echo. +echo For more details on this, please see the xetex-unsafe man page, +echo or "texdoc xetex-unsafe". +echo. +echo For more about XeTeX: https://tug.org/xetex +echo For more about PSTricks: https://tug.org/PSTricks +echo Email for xelatex-unsafe specifically: https://lists.tug.org/dvipdfmx +exit 0 +) else if x%1 == x--version ( +echo 0.001 +exit 0 +) +xelatex -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" %* diff --git a/Master/bin/win32/xelatex-unsafe.exe b/Master/bin/win32/xelatex-unsafe.exe new file mode 100644 index 00000000000..5777d90a17a Binary files /dev/null and b/Master/bin/win32/xelatex-unsafe.exe differ diff --git a/Master/bin/win32/xetex-unsafe.bat b/Master/bin/win32/xetex-unsafe.bat new file mode 100644 index 00000000000..931dccf477e --- /dev/null +++ b/Master/bin/win32/xetex-unsafe.bat @@ -0,0 +1,29 @@ +@echo off +rem +rem Public domain. Originally written by A. Kakuto, 2021. +rem Run XeTeX unsafely, for pstricks/transparency. See man page for more. +if x%1 == x--help ( +echo Usage: xetex-unsafe [XETEX-ARGUMENT]... +echo Run XeTeX unsafely, that is, using dvipdfmx-unsafe.cfg. All +echo command-line arguments, except --help and --version, are passed as-is to +echo XeTeX. +echo. +echo As of TeX Live 2022, doing this is needed only when running XeTeX on +echo documents using PSTricks features which require transparency. We +echo recommend using LuaTeX with PSTricks instead of XeTeX in this case. +echo. +echo At all costs, avoid using this, or any, unsafe invocation with documents +echo off the net or that are otherwise untrusted in any way. +echo. +echo For more details on this, please see the xetex-unsafe man page, +echo or "texdoc xetex-unsafe". +echo. +echo For more about XeTeX: https://tug.org/xetex +echo For more about PSTricks: https://tug.org/PSTricks +echo Email for xetex-unsafe specifically: https://lists.tug.org/dvipdfmx +exit 0 +) else if x%1 == x--version ( +echo 0.001 +exit 0 +) +xetex -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" %* diff --git a/Master/bin/win32/xetex-unsafe.exe b/Master/bin/win32/xetex-unsafe.exe new file mode 100644 index 00000000000..5777d90a17a Binary files /dev/null and b/Master/bin/win32/xetex-unsafe.exe differ -- cgit v1.2.3