Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Package utf8x Error: MalformedUTF-8sequence.

1,938 views
Skip to first unread message

Une Bévue

unread,
Jul 6, 2012, 4:51:39 PM7/6/12
to
Bon, j'ai ce problème aussi bien sur Mac OS X (TeXLive 2011) qu'Ubuntu
12.04 (je pense que c'esr aprox le même TeXLive).

ECM :
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage[frenchb]{babel}
\usepackage{ifpdf}
\ifpdf%
\usepackage{pdftricks}
\begin{psinputs}
\usepackage{pstricks}
\end{psinputs}
\else
\usepackage{pstricks}
\newenvironment{pdfpic}{}{}
\fi
\usepackage{hyperref}

\begin{document}
\section{Enveloppe}

\begin{figure}[htb]
\centering
\begin{pdfpic}
\begin{pspicture}(5,2)
\pscircle[linewidth=1pt](.5,.5){1.5}
\SpecialCoor
\rput(0.5, 0.5){
\psline{*-}(1.25;135)(2;135)
\rput[Br](2.15;135){Ecorce}
%___________________________^_______
% Il suffit que je mette un accent ici É
}
\end{pspicture}
\end{pdfpic}
\end{figure}

\end{document}

La commande :
xelatex <le fichier>

Le but est d'utiliser l'UTF-8 (c'est raté))) conjointement avec du
pstricks, en faisant une seule passe (enfin ça se débrouille en interne,
en tk pas de dvips), et aussi, quand j'aurai progressé, utiliser des
polices internes à la bécanne par ex "Linux Libertine".


Le log :
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
(format=xelatex 2012.5.13) 6 JUL 2012 22:32
entering extended mode
%&-line parsing enabled.
**enveloppe-peau-p-208-ecm.tex
(./enveloppe-peau-p-208-ecm.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15

(/usr/share/texmf-texlive/tex/latex/ucs/utf8x.def
File: utf8x.def 2004/10/17 UCS: Input encoding UTF-8
))
(/usr/share/texmf-texlive/tex/latex/ucs/ucs.sty
Package: ucs 2004/10/17 UCS: Unicode input support

(/usr/share/texmf-texlive/tex/latex/ucs/data/uni-global.def
File: uni-global.def 2004/10/17 UCS: Unicode global data
)
\uc@secondtry=\count88
\uc@combtoks=\toks16
\uc@combtoksb=\toks17
\uc@temptokena=\toks18
)
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
Package: babel 2008/07/06 v3.8l The Babel package

(/usr/share/texmf-texlive/tex/generic/babel/frenchb.ldf
Language: frenchb 2009/03/16 v2.3d French support from the babel system

(/usr/share/texmf-texlive/tex/generic/babel/babel.def
File: babel.def 2008/07/06 v3.8l Babel common definitions
\babel@savecnt=\count89
\U@D=\dimen103
)

Package babel Warning: No hyphenation patterns were loaded for
(babel) the language `French'
(babel) I will use the patterns loaded for \language=0
instead.

\l@french = a dialect from \language0
Package babel Info: Making : an active character on input line 120.
Package babel Info: Making ; an active character on input line 121.
Package babel Info: Making ! an active character on input line 122.
Package babel Info: Making ? an active character on input line 123.
\FB@Mht=\dimen104
\std@mcc=\count90
\dec@mcc=\count91
\parindentFFN=\dimen105
*************************************
* Local config file frenchb.cfg used
*
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.cfg)))
(/usr/share/texmf-texlive/tex/latex/carlisle/scalefnt.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks19
)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2009/04/10 v2.0 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode not detected.
)
(/usr/share/texmf-texlive/tex/latex/pstricks/pstricks.sty
Package: pstricks 2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)

(/usr/share/texmf-texlive/tex/generic/pstricks/pstricks.tex
`PSTricks' v1.29 <2009/05/19> (tvz)
\pst@dima=\dimen106
\pst@dimb=\dimen107
\pst@dimc=\dimen108
\pst@dimd=\dimen109
\pst@dimg=\dimen110
\pst@dimh=\dimen111
\pst@hbox=\box26
\pst@boxg=\box27
\pst@cnta=\count92
\pst@cntb=\count93
\pst@cntc=\count94
\pst@cntd=\count95
\pst@cntg=\count96
\pst@cnth=\count97
\pst@toks=\toks20
(/usr/share/texmf-texlive/tex/xelatex/xetex-pstricks/pstricks.con
(/usr/share/texmf-texlive/tex/generic/pstricks/xdvipdfmx.con))
\psunit=\dimen112
\psxunit=\dimen113
\psyunit=\dimen114
\pslinewidth=\dimen115
\pst@customdefs=\toks21
\pslinearc=\dimen116
\everypsbox=\toks22
\psframesep=\dimen117
\pslabelsep=\dimen118
\pst@shift=\dimen119
\theoverlaybox=\box28

(/usr/share/texmf-texlive/tex/xelatex/xetex-pstricks/pstricks.con
(/usr/share/texmf-texlive/tex/generic/pstricks/xdvipdfmx.con
Using PSTricks configuration for XeTeX+xdvipdfmx
)))
File: pstricks.tex 2009/05/19 v1.29 `PSTricks' (tvz,hv)
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

(/etc/texmf/tex/latex/config/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package xcolor Info: Driver file: xetex.def on input line 225.

(/usr/share/texmf-texlive/tex/xelatex/xetex-def/xetex.def
File: xetex.def 2009/11/22 v0.94 LaTeX color/graphics driver for XeTeX
(RRM/JK)

)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
Package xcolor Info: Model `RGB' extended on input line 1353.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
))
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
Package: hyperref 2009/10/09 v6.79a Hypertext links for LaTeX

(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty
Package: ifvtex 2008/11/04 v1.4 Switches for detecting VTeX and its
modes (HO)
Package ifvtex Info: VTeX not detected.
)
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional
)
(/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
Package: hycolor 2009/10/02 v1.5 Code for color options of
hyperref/bookmark (H
O)

(/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty
Package: xcolor-patch 2009/10/02 xcolor patch
))
\@linkdim=\dimen120
\Hy@linkcounter=\count98
\Hy@pagecounter=\count99

(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2009/10/09 v6.79a Hyperref: PDFDocEncoding definition (HO)
)
(/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2007/12/12 v1.2 Prefix for e-TeX command names (HO)

(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2007/09/09 v1.2 Providing info/warning/message (HO)
)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)
(/usr/share/texmf-texlive/tex/xelatex/xetexconfig/hyperref.cfg
File: hyperref.cfg 2008/07/11 v1.2 hyperref configuration for XeLaTeX
)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2009/08/13 v3.4 Keyval support for LaTeX options (HO)

(/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2009/07/30 v1.5 Key value parser with default handler
suppor
t (HO)
))
Package hyperref Info: Hyper figures OFF on input line 2975.
Package hyperref Info: Link nesting OFF on input line 2980.
Package hyperref Info: Hyper index ON on input line 2983.
Package hyperref Info: Plain pages OFF on input line 2990.
Package hyperref Info: Backreferencing OFF on input line 2995.

Implicit mode ON; LaTeX internals redefined
Package hyperref Info: Bookmarks ON on input line 3191.
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty
\Urlmuskip=\muskip10
Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 3428.

(/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
Package: bitset 2007/09/28 v1.0 Data type bit set (HO)

(/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty
Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO)
)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
Package: bigintcalc 2007/11/11 v1.1 Expandable big integer calculations (HO)

(/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2009/09/23 v0.6 LuaTeX support for pdfTeX utility
functions
(HO)

(/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2009/04/17 v1.2 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2009/08/05 v1.0 Some LaTeX kernel commands for general
use (HO
)
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: pdfTeX >= 1.30 not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
)))
\Fld@menulength=\count100
\Field@Width=\dimen121
\Fld@charsize=\dimen122
\Field@toks=\toks23
Package hyperref Info: Hyper figures OFF on input line 4377.
Package hyperref Info: Link nesting OFF on input line 4382.
Package hyperref Info: Hyper index ON on input line 4385.
Package hyperref Info: backreferencing OFF on input line 4392.
Package hyperref Info: Link coloring OFF on input line 4397.
Package hyperref Info: Link coloring with OCG OFF on input line 4402.
Package hyperref Info: PDF/A mode OFF on input line 4407.

(/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty
Package: atbegshi 2008/07/31 v1.9 At begin shipout hook (HO)
)
\Hy@abspage=\count101
\c@Item=\count102
\c@Hfootnote=\count103
)
*hyperref using default driver hdvipdfm*
(/usr/share/texmf-texlive/tex/latex/hyperref/hdvipdfm.def
File: hdvipdfm.def 2009/10/09 v6.79a Hyperref driver for dvipdfm
\pdfm@box=\box29
\c@Hy@AnnotLevel=\count104
\HyField@AnnotCount=\count105
\Fld@listcount=\count106
)
No file enveloppe-peau-p-208-ecm.aux.
\openout1 = `enveloppe-peau-p-208-ecm.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 17.
LaTeX Font Info: ... okay on input line 17.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 17.
LaTeX Font Info: ... okay on input line 17.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 17.
LaTeX Font Info: ... okay on input line 17.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 17.
LaTeX Font Info: ... okay on input line 17.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 17.
LaTeX Font Info: ... okay on input line 17.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 17.
LaTeX Font Info: ... okay on input line 17.
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 17.
LaTeX Font Info: ... okay on input line 17.
(/usr/share/texmf-texlive/tex/latex/ucs/ucsencs.def
File: ucsencs.def 2003/11/29 Fixes to fontencodings LGR, T3
)
LaTeX Info: Redefining \degres on input line 17.
LaTeX Info: Redefining \dots on input line 17.
LaTeX Info: Redefining \up on input line 17.


Package frenchb.ldf Warning: Add \usepackage{fontspec} *and*
(frenchb.ldf) \usepackage{xunicode} to the preamble
(frenchb.ldf) of your document, on input line 17.

Package hyperref Info: Link coloring OFF on input line 17.
(/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
Package: nameref 2007/05/29 v2.31 Cross-referencing by name of section

(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty
Package: refcount 2008/08/11 v3.1 Data extraction from references (HO)
)
\c@section@level=\count107
)
LaTeX Info: Redefining \ref on input line 17.
LaTeX Info: Redefining \pageref on input line 17.
\@outlinefile=\write3
\openout3 = `enveloppe-peau-p-208-ecm.out'.

\AtBeginShipoutBox=\box30


Package hyperref Warning: Rerun to get /PageLabels entry.


! Package utf8x Error: MalformedUTF-8sequence.

See the utf8x package documentation for explanation.
Type H <return> for immediate help.
...

l.29 }

? H
Ifthecharacterisanargument,putitin{}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Info intéressante ?

? X

Here is how much of TeX's memory you used:
6068 strings out of 495724
84620 string characters out of 1189346
176437 words of memory out of 3000000
9141 multiletter control sequences out of 15000+50000
5946 words of font info for 17 fonts, out of 3000000 for 9000
28 hyphenation exceptions out of 8191
38i,4n,37p,351b,300s stack positions out of
5000i,500n,10000p,200000b,50000s
No pages of output.

Pétiard François

unread,
Jul 6, 2012, 5:28:38 PM7/6/12
to
Le 06/07/2012 22:51, Une Bévue a écrit :
> Bon, j'ai ce problème aussi bien sur Mac OS X (TeXLive 2011) qu'Ubuntu
> 12.04 (je pense que c'esr aprox le même TeXLive).
>


Avec MiKTeX 2.9, il suffit de virer \usepackage[utf8x]{inputenc} pour
que ça marche.

François


--
Parler de LaTeX à une secrétaire entraîne la réception immédiate d'une
lettre de démission dûment antidatée des trois mois réglementaires.
-+- un contributeur de fctt, cité par JKr, in fr.comp.text.tex -+-

Manuel Pégourié-Gonnard

unread,
Jul 6, 2012, 5:35:16 PM7/6/12
to
Une Bévue scripsit :

> Bon, j'ai ce problème aussi bien sur Mac OS X (TeXLive 2011) qu'Ubuntu
> 12.04 (je pense que c'esr aprox le même TeXLive).
>
Sur Ubuntu 12.04, si c'est la TeX Live des paquets Ubuntu, c'est plutôt
une 2009. Mais c'est pas bien grave.

> ECM :

Complet, sans doute. Minimal... euh, là minimal ça serait plutôt :

\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage[frenchb]{babel}

\begin{document}
Écorce
\end{document}

Avec XeLaTeX, il ne faut pas utiliser inputenc, c'est directement le
moteur qui gère l'utf-8.

Par ailleurs, on aura intérêt utiliser des polices Unicode, chargées
avec fontspec, ce qui dispense aussi d'utiliser fontenc.

--
Manuel Pégourié-Gonnard - http://people.math.jussieu.fr/~mpg/


Une Bévue

unread,
Jul 6, 2012, 6:23:13 PM7/6/12
to
Le 06/07/2012 23:35, Manuel Pégourié-Gonnard a écrit :
> Avec XeLaTeX, il ne faut pas utiliser inputenc, c'est directement le
> moteur qui gère l'utf-8.

bon ça, ça roule :
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}

\begin{document}
Écorce
\end{document}

j'ajoute ma figure, avec un accent, c'est quand même le but recherché :
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}
\usepackage{ifpdf}
\ifpdf%
\usepackage{pdftricks}
\begin{psinputs}
\usepackage{pstricks}
\end{psinputs}
\else
\usepackage{pstricks}
\newenvironment{pdfpic}{}{}
\fi

\begin{document}
Écorce
\begin{figure}[htb]
\centering
\begin{pdfpic}
\begin{pspicture}(5,2)
\pscircle[linewidth=1pt](.5,.5){2.5}
\SpecialCoor
\rput(0.5, 0.5){
\rput[Br](2.15;135){Écorce}
}
\end{pspicture}
\end{pdfpic}
\end{figure}
\end{document}

ça roule mais j'ai deux warnings :
Package frenchb.ldf Warning: Add \usepackage{fontspec} *and*
(frenchb.ldf) \usepackage{xunicode} to the preamble
(frenchb.ldf) of your document, on input line 16.

si j'ajoute ça, ça roule impec.

me reste à trouver la syntaxe pour les fontes...

Un grand merci !



Manuel Pégourié-Gonnard

unread,
Jul 6, 2012, 6:25:42 PM7/6/12
to
Une Bévue scripsit :

> me reste à trouver la syntaxe pour les fontes...
>
Dans la doc de fontspec, du coup.

Une Bévue

unread,
Jul 7, 2012, 4:22:12 AM7/7/12
to
Le 07/07/12 00:25, Manuel Pégourié-Gonnard a écrit :
> Dans la doc de fontspec, du coup.
Oui, j'ai commencé à regarder, manque de pot, ce qui marchait sur Ubuntu
avec TexLive 2009, ne marche pas sur Mac OS X avec TextLive 2011...

Avec la commande :
$ xelatex mon-fichier

fichier de contenu :
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage[frenchb]{babel}

\begin{document}
Toto
\end{document}

j'obtiens l'erreur :

xelatex enveloppe-peau-p-208-ecm2.tex
This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011)
restricted \write18 enabled.
entering extended mode
(./enveloppe-peau-p-208-ecm2.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang,
nohyphenation, ge
rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek,
ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian,
czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi,
finnis
h, french, friulan, galician, german, ngerman, swissgerman, monogreek,
greek, h
ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada,
malayalam, ma
rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish,
italian,
kurmanji, lao, latin, latvian, lithuanian, mongolian, mongolianlmc,
bokmal, nyn
orsk, polish, portuguese, romanian, romansh, russian, sanskrit, serbian,
serbia
nc, slovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian,
uppersorb
ian, welsh, loaded.
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/expl3.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3names.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/etex-pkg/etex.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3basics.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3expan.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3tl.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3int.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3quark.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3seq.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3toks.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3prg.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3clist.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3token.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3prop.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3msg.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3io.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3skip.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3box.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3keyval.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3keys.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3precom.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3xref.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3file.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3fp.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/expl3/l3luatex.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/tools/calc.sty))

LaTeX Warning: You have requested, on input line 20, version
`2011/09/05' of package expl3,
but only version
`2011/04/09 v2222 L3 Experimental code bundle wrapper'
is available.

(/usr/local/texlive/2011/texmf-dist/tex/latex/l3packages/xparse/xparse.sty

LaTeX Warning: You have requested, on input line 53, version
`2012/04/23' of package expl3,
but only version
`2011/04/09 v2222 L3 Experimental code bundle wrapper'
is available.


! Package xparse Error: Support package l3kernel too old..

See the xparse package documentation for explanation.
Type H <return> for immediate help.
...

l.64 }

? X
No pages of output.
Transcript written on enveloppe-peau-p-208-ecm2.log.

Paul Gaborit

unread,
Jul 9, 2012, 3:29:22 AM7/9/12
to

À (at) Sat, 07 Jul 2012 10:22:12 +0200,
Une Bévue <unbewu...@fai.invalid> écrivait (wrote):

> Le 07/07/12 00:25, Manuel Pégourié-Gonnard a écrit :
>> Dans la doc de fontspec, du coup.
> Oui, j'ai commencé à regarder, manque de pot, ce qui marchait sur Ubuntu
> avec TexLive 2009, ne marche pas sur Mac OS X avec TextLive 2011...
>
> Avec la commande :
> $ xelatex mon-fichier
>
> fichier de contenu :
> \documentclass[a4paper]{article}
> \usepackage[T1]{fontenc}
> \usepackage{fontspec}
> \usepackage{xunicode}
> \usepackage[frenchb]{babel}
>
> \begin{document}
> Toto
> \end{document}
>
> j'obtiens l'erreur :
[...]
>
> LaTeX Warning: You have requested, on input line 20, version
> `2011/09/05' of package expl3,
> but only version
> `2011/04/09 v2222 L3 Experimental code bundle wrapper'
> is available.
>
> (/usr/local/texlive/2011/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
>
> LaTeX Warning: You have requested, on input line 53, version
> `2012/04/23' of package expl3,
> but only version
> `2011/04/09 v2222 L3 Experimental code bundle wrapper'
> is available.
>
>
> ! Package xparse Error: Support package l3kernel too old..
>
> See the xparse package documentation for explanation.
> Type H <return> for immediate help.
> ...
>
> l.64 }
>
> ? X
> No pages of output.
> Transcript written on enveloppe-peau-p-208-ecm2.log.

Votre distribution TeXLive 2011 n'est pas complètement à jour. La
dernière version de expl3.sty fournie par TeXLive2011 est bien datée du
2012/04/23.


--
Paul Gaborit - <http://perso.mines-albi.fr/~gaborit/>

Une Bévue

unread,
Jul 9, 2012, 7:29:45 AM7/9/12
to
Le 09/07/12 09:29, Paul Gaborit a écrit :
> Votre distribution TeXLive 2011 n'est pas complètement à jour. La
> dernière version de expl3.sty fournie par TeXLive2011 est bien datée du
> 2012/04/23.
Oui, quelqu'un m'a expliqué sur, la liste MacTeX, que j'avais une TL2011
bizarre, pourtant installée la semaine dernière seulement.
Bon, de toutes façons je suis passé à 2012 sur mac.

0 new messages