Am 12.01.2013 03:37, schrieb Fresnel:
> Je suis sous mountain Lion avec texshop.
> Je veux utiliser XeLaTeX et pstricks.
>
> Voici un ecm (du moins l'esp�re-je, mais j'ai un doute sut m !)
> % !TEX encoding = UTF-8 Unicode
> \documentclass{scrartcl}
>
> \usepackage{fontspec}% provides font selecting commands
> \usepackage{xunicode}% provides unicode character macros
> \usepackage{xltxtra} % provides some fixes/extras
I have no problem with your example. By the way:
loading fontspec is enough.
\listfiles
\documentclass{scrartcl}
\usepackage{fontspec}% provides font selecting commands
\usepackage{pstricks}
...
with current TeXLive 2012
*File List*
scrartcl.cls 2012/07/29 v3.11b KOMA-Script document class (article)
scrkbase.sty 2012/07/29 v3.11b KOMA-Script package
(KOMA-Script-dependent basics and keyval usage)
scrbase.sty 2012/07/29 v3.11b KOMA-Script package
(KOMA-Script-independent basics and keyval usage)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty 2012/06/15 v3.12 KOMA-Script package (loading files)
tocbasic.sty 2012/04/04 v3.10b KOMA-Script package (handling toc-files)
scrsize11pt.clo 2012/07/29 v3.11b KOMA-Script font size class option
(11pt)
typearea.sty 2012/07/29 v3.11b KOMA-Script package (type area)
fontspec.sty 2012/05/06 v2.2b Advanced font selection for
XeLaTeX/LuaLaTeX
expl3.sty 2012/12/21 v4390 L3 Experimental code bundle wrapper
l3names.sty 2012/12/07 v4346 L3 Namespace for primitives
l3bootstrap.sty 2012/07/16 v3991 L3 Experimental bootstrap code
etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
l3basics.sty 2012/11/24 v4339 L3 Basic definitions
l3expan.sty 2012/08/28 v4149 L3 Argument expansion
l3tl.sty 2012/11/24 v4339 L3 Token lists
l3seq.sty 2012/11/24 v4339 L3 Sequences and stacks
l3int.sty 2012/09/26 v4237 L3 Integers
l3quark.sty 2012/11/04 v4268 L3 Quarks
l3prg.sty 2012/11/24 v4339 L3 Control structures
l3clist.sty 2012/11/24 v4339 L3 Comma separated lists
l3token.sty 2012/12/20 v4384 L3 Experimental token manipulation
l3prop.sty 2012/09/09 v4212 L3 Property lists
l3msg.sty 2012/09/09 v4212 L3 Messages
l3file.sty 2012/12/20 v4377 L3 File and I/O operations
l3skip.sty 2012/11/04 v4260 L3 Dimensions and skips
l3keys.sty 2012/11/02 v4256 L3 Experimental key-value interfaces
l3fp.sty 2012/11/10 v4305 L3 Floating points
l3box.sty 2012/12/08 v4347 L3 Experimental boxes
l3coffins.sty 2012/09/09 v4212 L3 Coffin code layer
l3color.sty 2012/08/29 v4156 L3 Experimental color support
l3luatex.sty 2012/08/03 v4049 L3 Experimental LuaTeX-specific functions
l3candidates.sty 2012/12/20 v4383 L3 Experimental additions to l3kernel
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
xparse.sty 2012/12/21 v4390 L3 Experimental document command parser
fontspec-patches.sty 2012/05/06 v2.2b Advanced font selection for
XeLaTeX/LuaLaTeX
fixltx2e.sty 2006/09/13 v1.1m fixes to LaTeX
fontspec-xetex.sty 2012/05/06 v2.2b Advanced font selection for
XeLaTeX/LuaLaTeX
fontenc.sty
eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
xunicode.sty 2011/09/09 v0.981 provides access to latin accents and
many other characters in Unicode lower plane
eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
xetex.def 2009/11/22 v0.94 LaTeX color/graphics driver for XeTeX
(RRM/JK)
fontspec.cfg
pstricks.sty 2012/08/24 v0.53 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2012/12/21 v2.35 `PSTricks' (tvz,hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2012/10/14 v2.6b package option processing (HA)
xkeyval.tex 2012/10/14 v2.6b key=value parser (HA)
pst-fp.tex 2012/12/21 v2.35 `PST-fp' (hv)
pstricks.pro 2012/10/16 v. 1.15, PostScript prologue file (hv)
pst-algparser.pro 2011/10/31 v. 0.04, PostScript prologue file (hv)
pst-tools.pro 2012/01/01 v. 0.02, PostScript prologue file (hv)
pst-dots.pro 2006/12/19 v. 2.00, PostScript prologue file (hv)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
t3cmr.fd 2001/12/31 TIPA font definitions
***********