Deutsch   English   Français   Italiano  
<m2a6kxpamx.fsf@pc40.home>

View for Bookmarking (what is this?)
Look up another Usenet article

X-Received: by 2002:adf:d193:: with SMTP id v19mr16224422wrc.377.1630445286828;
        Tue, 31 Aug 2021 14:28:06 -0700 (PDT)
Path: ...!news-out.google.com!nntp.google.com!proxad.net!feeder1-2.proxad.net!news.mixmin.net!aioe.org!news.gegeweb.eu!gegeweb.org!.POSTED.arennes-654-1-270-83.w2-14.abo.wanadoo.fr!not-for-mail
From: =?utf-8?Q?Vincent_Bela=C3=AFche?= <vincent.belaiche@gmail.com>
Newsgroups: fr.comp.text.tex
Subject: Re: xetex et pstricks avec mactex 2021
Date: Tue, 31 Aug 2021 23:28:06 +0200
Organization: Gegeweb News Server
Message-ID: <m2a6kxpamx.fsf@pc40.home>
References: <612dd4da$0$4970$426a74cc@news.free.fr>
Mime-Version: 1.0
Injection-Info: news.gegeweb.eu; posting-account="vbelaiche@orange.local"; posting-host="arennes-654-1-270-83.w2-14.abo.wanadoo.fr:2.14.60.83";
	logging-data="16492"; mail-complaints-to="abuse@gegeweb.eu"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)
Cancel-Lock: sha1:QnvWJcS0mGMB+OYkQx3vwtFHlXA= sha256:gEDcRAOO6KeMjINc5zV5uj5xBfPkAu3Bh3LChymoRTI=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Bytes: 7285
Lines: 146

Thierry WYBRECHT <email@domain.com> writes:

> Bonjour la communaut=C3=A9,
>
> =C3=87a fait longtemps que je ne suis plus venu sur le groupe (tant mieux,
> =C3=A7a prouve que je ne rencontrais pas de probl=C3=A8me insurmontable),=
 mais
> l=C3=A0 je suis confront=C3=A9 =C3=A0 quelque chose qui me chagrine.
>
> Ayant fait la m=C3=A0j vers mactex2021 (macos catalina), j'ai commenc=C3=
=A9 =C3=A0
> avoir des probl=C3=A8mes avec ghostscript (mes fichiers comportant du cod=
e=20
> pstricks ne compilaient pas: d'apr=C3=A8s les logs, il me semblait que
> ghostscript (ou ruby ?) n'avait pas les droits en =C3=A9criture sur le=20
> disque.
>
> Maintenant, plus de message d'erreur dans les logs de ghostscript,
> mais sur mes graphiques, rien ne va: pas de graphiques, =C3=A9tiquettes p=
as=20
> plac=C3=A9es ...
>
> Je joins le fichier source et le log:
>
> \usepackage{pstricks}
>
> \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}
>
> Running `LaTeX' on `test-pstricks' with ``xelatex  -file-line-error
> --synctex=3D1 -interaction=3Dnonstopmode "\input" test-pstricks.tex''
> This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021)
> (preloaded format=3Dxelatex)
> restricted \write18 enabled.
> entering extended mode
> LaTeX2e <2021-06-01> patch level 1
> L3 programming layer <2021-07-12> (./test-pstricks.tex
> (/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2021/02/12 v1.4n Standard LaTeX document class
> (/usr/local/texlive/2021/texmf-dist/tex/latex/base/size10.clo))
> (/usr/local/texlive/2021/texmf-dist/tex/latex/pstricks/pstricks.sty
> (/usr/local/texlive/2021/texmf-dist/tex/generic/iftex/iftex.sty)
> (/usr/local/texlive/2021/texmf-dist/tex/latex/xcolor/xcolor.sty
> (/usr/local/texlive/2021/texmf-dist/tex/latex/graphics-cfg/color.cfg)
> (/usr/local/texlive/2021/texmf-dist/tex/latex/graphics-def/xetex.def))
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
> (/usr/local/texlive/2021/texmf-dist/tex/latex/xkeyval/xkeyval.sty
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xkeyval/xkeyval.tex
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xkeyval/xkvutils.tex
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xkeyval/keyval.tex)))))
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pstricks.tex
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pst-fp.tex
> `pst-fp' v0.06, 2020/11/20 (hv))
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfutil-com=
mon.tex=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfutil-com=
mon-lists.tex))=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfkeys.cod=
e.tex
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgfkeysfilt=
ered.code.tex))=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/utilities/pgffor.code=
..tex
> Loading pgffor.code.tex
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code=
..tex
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathutil.code=
..tex)
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathparser.co=
de.tex)=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions=
..code.tex=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions=
..basic.code.tex)=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions=
..trigonometric.code.tex)=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions=
..random.code.tex)=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions=
..comparison.code.tex)=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions=
..base.code.tex)=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions=
..round.code.tex)=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions=
..misc.code.tex)=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfunctions=
..integerarithmetics.code.tex)))=20
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pgf/math/pgfmathfloat.cod=
e.tex)))=20
> `PSTricks' v3.05  <2021/08/25> (tvz,hv)
> (/usr/local/texlive/2021/texmf-dist/tex/xelatex/xetex-pstricks/pstricks.c=
on
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/config/xdvipdfmx=
..cfg))
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pstricks-arrows.=
tex)
> (/usr/local/texlive/2021/texmf-dist/tex/xelatex/xetex-pstricks/pstricks.c=
on
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/config/xdvipdfmx=
..cfg
> Using PSTricks configuration for LaTeX+dvipdfmx
> ))) (/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pst-fp.tex
> `pst-fp' v0.06, 2020/11/20 (hv))
>>>> Loading XeTeX special macros
> (/usr/local/texlive/2021/texmf-dist/tex/generic/pstricks/pstricks-xetex.d=
ef))
> (/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-xetex.d=
ef
> (|extractbb --version))
> No file test-pstricks.aux.
> (/usr/local/texlive/2021/texmf-dist/tex/latex/base/ts1cmr.fd) [1]
> (./test-pstricks.aux) )
> Output written on test-pstricks.pdf (1 page).
> SyncTeX written on test-pstricks.synctex.gz.
> Transcript written on test-pstricks.log.
>
> TeX Output finished at Tue Aug 31 09:01:05
>
> Merci pour l'aide que vous pourrez m'apporter !
> Thierry
>
Je suis arriv=C3=A9 =C3=A0 compiler ton code en ajoutant \usepackage{auto-p=
st-pdf}
juste apr=C3=A8s \usepackage{pstricks}, et en passant l'option --shell-esca=
pe
=C3=A0 xelatex.

Mais bon, OK, --shell-escape ce n'est pas tr=C3=A8s bon pour la s=C3=A9curi=
t=C3=A9.

Alors tu peux te passer de auto-pst-pdf et de --shell-escape si tu
compiles avec

   latexmk -pdfxe   tonfichier

o=C3=B9 tonfichier.tex c'est ton fichier racine.

  V.
--=20