[pstricks] pstricks on mactex2021 (with xelatex)

Herbert Voss Herbert.Voss at fu-berlin.de
Tue Aug 31 19:24:24 CEST 2021



Am 31.08.21 um 18:13 schrieb Thierry WYBRECHT:
> Than you Herbert,
> but the first solution did not work, and after reading the file 
> /texmf-dist/dvipdfmx/dvipdfmx.cfg, I found the lines:
>
> D  "rungs -q -dALLOWPSTRANSPARENCY -dSAFER -dNOPAUSE -dBATCH -dEPSCrop 
> -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v 
> -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode 
> -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode 
> -dAutoRotatePages=/None -sOutputFile='%o' '%i' -c quit"
> %% If you change the above invocation, also change dvipdfmx-unsafe.cfg!
>
> Is that line the invocation of call of Ghostscript ?

yes

HErbert



>
> Thanks
>
>> Le 31 août 2021 à 17:58, Herbert Voss <Herbert.Voss at fu-berlin.de 
>> <mailto:Herbert.Voss at fu-berlin.de>> a écrit :
>>
>>
>>
>> Am 31.08.21 um 17:40 schrieb Thierry WYBRECHT:
>>> Hallo all,
>>>
>>> after upgrading to mactex2021, pstricks code doesn’t work anymore 
>>> with xelatex.
>>>
>>> First, after upgrading, it was Ghostscript : unable to write on the 
>>> disk I think.
>>>
>>> Second, after updating MacTex2021 (today for example), no more error 
>>> message for ghostscript in the log, but no graphics drawn, no labels 
>>> at the right place !
>>>
>>> What should I do to have pstricks working again with xelatex ??
>>>
>>> source example:
>>> \documentclass{article}
>>>
>>> \usepackage{pstricks-add}
>>>
>>> \begin{document}
>>> \begin{pspicture}(-2,-2)(2,2)
>>>   \psline(-1.5,-1.5)(1.5,1.5)
>>>   \rput(-1.5,-1.5){$(-1.5;-1.5)$}
>>>   \rput(1.5,1.5){$(1.5;1.5)$}
>>> \end{pspicture}
>>>
>>> \end{document}
>>
>> run it with
>>
>> xelatex -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" <file>
>>
>> or add the argument -dALLOWPSTRANSPARENCY into the GhostScript call
>> of /texmf-dist/dvipdfmx/dvipdfmx.cfg
>>
>>
>> Herbert
>>
>> --
>> list:https://lists.tug.org/pstricks <https://lists.tug.org/pstricks>
>> archive:https://tug.org/pipermail/pstricks/ 
>> <https://tug.org/pipermail/pstricks/>
>
>
> --
> list: https://lists.tug.org/pstricks
> archive: https://tug.org/pipermail/pstricks/



More information about the PSTricks mailing list.