While running the package-supplied *.tex samples for pagelayout.cls, I am getting error messages. That alone is odd, because I would expect those examples to be rock-solid. The errors claim that the compiler didn't have shell access, and so it aborted the run.
I have tried the same files in TexWorks and in Kile....same errors reported. And neither of them suggest a way of resolving the problem.
Any ideas about why this error is occurring?
PS--would someone with a reputation >300 please add the "pagelayout" tag (tag zfpagelayout exists, but it is not the same package)
*******************Update, reply to Friedmann ************
ImageMagick version is 6.9.11.60. I cannot find a way to upgrade to 7 or higher. there are no higher versions in the Linux_Mint synaptic repository. I tried updating via sudo apt update but that failed.
I ran xelatex example-borders-and-shadows.tex as you suggested and I got this error message at the end of several dozen lines:
/usr/local/texlive/2022/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
runpopen command not allowed: extractbb
! I can't find file `"|extractbb --version"'.
<to be read again>
\scan_stop:
l.72 \l__sys_internal_tl
(Press Enter to retry, or Control-D to exit)
Please type another input file name:
pagelayoutsneeds shell-escape to run as can be seen in/scripts/pagelayoutapiand the errors present inpagelayout.cls(if you CTRL+F and type "shell" you can see the error messages/commands). The way around it is to enableshell-escape, if you have a full installation of TeXlive (where TeXworks comes from) then you can useararato doshell-escapelike% arara: pdflatex: {shell: yes, options: [-halt-on-error]}, you need to setup the path toararain TeXworks like this: https://tex.stackexchange.com/a/98795/273733 – JamesT Feb 24 '23 at 07:02latexmkas I useararaexclusively, hopefully someone else can help with that (note: the-halt-on-erroroption is so that if errors cause the programme to end without compiling it doesn't leavepdflatex.exehanging and not being able to deleteauxfiles, if that happens you need to kill the process manually) – JamesT Feb 24 '23 at 07:03--shell-escapegives them access to your computer. – Ulrike Fischer Feb 24 '23 at 08:31--shell-escapewith files that you do not fully know the contents of. – Jasper Habicht Mar 01 '23 at 00:56