[pstricks] pstricks on mactex2021 (with xelatex)

Herbert Voss Herbert.Voss at fu-berlin.de
Wed Sep 1 17:22:10 CEST 2021



Am 01.09.21 um 16:42 schrieb Thierry WYBRECHT:
> So I have noting to do, but graphics don’t appear and labels aren’t at th right place(like they were all at the origin). Seems like the unit were set to 0 ! Even I set it to 1cm! I do not understand !
>
> For information, I have kept MacTex2020, and when I set it to default TeX distro, graphics are drawn, but labels are all at the origin.
> Surely, something broken in my installation.


You are right, there is something buggy with xdvipdfmx. Will see, what 
we can do here.

Herbert
>
> Thierry
>
>> Le 31 août 2021 à 19:24, Herbert Voss <Herbert.Voss at fu-berlin.de> a écrit :
>>
>>
>>
>> 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/
>> --
>> list: https://lists.tug.org/pstricks
>> archive: https://tug.org/pipermail/pstricks/
>
> --
> list: https://lists.tug.org/pstricks
> archive: https://tug.org/pipermail/pstricks/



More information about the PSTricks mailing list.