diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2021-05-10 03:33:21 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2021-05-10 03:33:21 +0000 |
commit | 456f2f75a738bd9118c2200ed6fe62fcf313f332 (patch) | |
tree | d2e5d24a30545e339e60fa321279d2b096a71c6d | |
parent | 89285c4cb04de2de42a3f8066d603d2e4b3a6402 (diff) |
pdf2dsc.tlu: Add -dNOSAFER again since pdf2dsc does not work without it. pdf2dsc should be used for trusted sources only.
git-svn-id: svn://tug.org/texlive/trunk@59157 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/texmf-dist/scripts/tlgs/gswin32/pdf2dsc.tlu | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/tlgs/gswin32/pdf2dsc.tlu b/Master/texmf-dist/scripts/tlgs/gswin32/pdf2dsc.tlu index 8c38ce1ff4e..476a5169243 100755 --- a/Master/texmf-dist/scripts/tlgs/gswin32/pdf2dsc.tlu +++ b/Master/texmf-dist/scripts/tlgs/gswin32/pdf2dsc.tlu @@ -53,7 +53,11 @@ end local command={} if os.type == 'unix' then command={'gs'} else command={'gswin32c'} end -push(command, '-q', '-dNODISPLAY', '-dALLOWPSTRANSPARENCY', +--[[ Add -dNOSAFER again since pdf2dsc does not work without it. + Use pdf2dsc for trusted sources only. +--]] + +push(command, '-q', '-dNODISPLAY', '-dALLOWPSTRANSPARENCY', '-dNOSAFER', '-sPDFname='..pdffile, '-sDSCname='..dscfile, 'pdf2dsc.ps', '-c', 'quit') |