[Résolu] XeLatex et Texlive

Tout ce qui concerne l'utilisation ou l'installation de LaTeX.

Modérateur: gdm_tex

Règles du forum
Merci d'éviter le style SMS dans vos messages et de penser à utiliser la fonction Recherche avant de poster un message. Pour joindre des fichiers à vos messages, consulter ce sujet.
> Penser à utiliser les balises Code pour poster du code.

[Résolu] XeLatex et Texlive

Messagepar FK » Vendredi 15 Février 2013, 11:43

Bonjour,

Je viens d'installer Texlive2012 à partir d'un iso, le paquet texlive-xetex est bien installé car je peux compiler avec xelatex un fichier .tex sans problème.
Mais dès que j'essaie avec un fichier qui fait appel à une fonte spécifique (normalement c'est l'avantage de xelatex) j'ai une erreur !

Par exemple avec cet ecm :

Code: Tout sélectionner
\documentclass[french]{article}
\usepackage{amssymb, amsmath, mathtools} %pour les mathématiques
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage[a4paper]{geometry}
\usepackage{babel}
 \fontspec[Alternate=HoeflerSwash]{Hoefler Text Italic}
\begin{document}
Hello
\end{document}


j'ai le message d'erreur "! Undefined control sequence.
l.104 \RenewDocumentCommand
\oldstylenums {m}" du package fontspec

Je suis sous ubuntu 12.10 et j'ai ce message d'erreur même en lançant la commande depuis la console ...

Je ne pense pas être le seul à avoir eu ce soucis mais je ne trouve pas l'info sur le net et de ce que j'ai compris dans la doc de fontspec, il ne faut pas installer de nouvelles polices... Merci pour vos réponses.
Dernière édition par FK le Vendredi 15 Février 2013, 22:59, édité 1 fois.
FK
Utilisateur
 
Messages: 6
Inscription: Vendredi 15 Février 2013, 11:20
Statut actuel: Actif et salarié | Enseignant

Publicité

Re: XeLatex et Texlive

Messagepar OG » Vendredi 15 Février 2013, 13:57

Bonjour


Il faudrait avoir le log en entier.
Par contre question fonte, il faut tout de même les posséder. Je ne connais pas les règles concernant les recherches
de fontes (quels répertoires) mais chez moi sur une Debian-like je mets ce qu'il faut dans le répertoire .fonts
et xelatex y accède.

La doc fontspec est compilée sur un MacOX qui fournit des polices comme celle que tu appelles.

Pour faire un autre test, récupère les fontes MinionPro qui sont quelque part là où est installé AdobeReader,
mets les dans ton .fonts (est-ce utile d'ailleurs) et test xelatex avec MinionPro

O.G.
OG
Modérateur
 
Messages: 2285
Inscription: Lundi 12 Mars 2007, 11:20
Localisation: Rouen
Statut actuel: Actif et salarié | Maître de conférence

Re: XeLatex et Texlive

Messagepar FK » Vendredi 15 Février 2013, 15:14

Sur Ubuntu 12.10, je pense que les fontes sont dans usr/share/fonts

Comme je n'ai pas encore installé AdoberReader, je n'ai pas les fontes MinionPro (je m'en occupe ... mais je viens de Windows et je débute en Linux l'install d'adobe va me demander un peu de temps sur ubuntu 12.10 avec une architecture 64 bits ...)

Pour mon soucis avec Xelatex je joins un autre ecm avec son log (la police Libertine est reconnue puisque je n'ai pas le message d'erreur "missfont" que j'ai avec MinionPro

ecm :
Code: Tout sélectionner
\documentclass[11pt]{article}
\usepackage{fontspec}
\usepackage{xltxtra}
\setmainfont{Linux Libertine O}
\begin{document}

Hello
\end{document}


log :
Code: Tout sélectionner
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012) (format=xelatex 2013.2.14)  15 FEB 2013 14:54
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2012-05-30, ngerman-x-2012-05-30, 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, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk,
 polish, portuguese, romanian, romansh, russian, sanskrit, serbian, serbianc, s
lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian,
welsh, loaded.
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/size11.clo
File: size11.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/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.sty
Package: fontspec 2012/05/06 v2.2b Advanced font selection for XeLaTeX/LuaLaTeX


(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3names.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty
Package: l3bootstrap 2011/12/29 v3110 L3 Experimental bootstrap code
)
Package: l3names 2012/03/04 v3494 L3 Experimental namespace for primitives
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count88
)
Package: expl3 2012/04/23 v3570 L3 Experimental code bundle wrapper

(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)

(/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: xetex.def on input line 130.

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

))
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: xetex.def on input line 91.
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3basics.sty
Package: l3basics 2012/03/04 v3491 L3 Experimental basic definitions
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3expan.sty
Package: l3expan 2012/02/26 v3460 L3 Experimental argument expansion
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3tl.sty
Package: l3tl 2012/03/04 v3490 L3 Experimental token lists
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3seq.sty
Package: l3seq 2012/03/04 v3490 L3 Experimental sequences and stacks
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3int.sty
Package: l3int 2012/03/04 v3490 L3 Experimental integers
\c_max_int=\count89
\l_tmpa_int=\count90
\l_tmpb_int=\count91
\l_tmpc_int=\count92
\g_tmpa_int=\count93
\g_tmpb_int=\count94
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3quark.sty
Package: l3quark 2012/02/12 v3384 L3 Experimental quarks
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prg.sty
Package: l3prg 2012/03/04 v3490 L3 Experimental control structures
\g_prg_map_int=\count95
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3clist.sty
Package: l3clist 2012/03/04 v3490 L3 Experimental comma separated lists
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3token.sty
Package: l3token 2012/03/04 v3491 L3 Experimental token manipulation
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prop.sty
Package: l3prop 2012/03/04 v3490 L3 Experimental property lists
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3msg.sty
Package: l3msg 2012/04/23 v3568 L3 Experimental messages
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3file.sty
Package: l3file 2012/03/09 v3520 L3 Experimental file and I/O operations
\l_iow_stream_int=\count96
\l_iow_line_length_int=\count97
\l_iow_target_length_int=\count98
\l_iow_current_line_int=\count99
\l_iow_current_word_int=\count100
\l_iow_current_indentation_int=\count101
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3skip.sty
Package: l3skip 2012/03/05 v3499 L3 Experimental dimensions and skips
\l_tmpa_dim=\dimen103
\l_tmpb_dim=\dimen104
\l_tmpc_dim=\dimen105
\g_tmpa_dim=\dimen106
\g_tmpb_dim=\dimen107
\l_tmpa_skip=\skip43
\l_tmpb_skip=\skip44
\l_tmpc_skip=\skip45
\g_tmpa_skip=\skip46
\g_tmpb_skip=\skip47
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3keys.sty
Package: l3keys 2012/03/03 v3487 L3 Experimental key-value interfaces
\g_keyval_level_int=\count102
\l_keys_choice_int=\count103
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3fp.sty
Package: l3fp 2012/03/04 v3490 L3 Experimental floating-point operations
\c_one_hundred_million=\count104
\c_five_hundred_million=\count105
\c_one_thousand_million=\count106
\c_fp_pi_by_four_decimal_int=\count107
\c_fp_pi_by_four_extended_int=\count108
\c_fp_pi_decimal_int=\count109
\c_fp_pi_extended_int=\count110
\c_fp_two_pi_decimal_int=\count111
\c_fp_two_pi_extended_int=\count112
\l_fp_count_int=\count113
\l_fp_div_offset_int=\count114
\l_fp_exp_integer_int=\count115
\l_fp_exp_decimal_int=\count116
\l_fp_exp_extended_int=\count117
\l_fp_exp_exponent_int=\count118
\l_fp_input_a_sign_int=\count119
\l_fp_input_a_integer_int=\count120
\l_fp_input_a_decimal_int=\count121
\l_fp_input_a_exponent_int=\count122
\l_fp_input_b_sign_int=\count123
\l_fp_input_b_integer_int=\count124
\l_fp_input_b_decimal_int=\count125
\l_fp_input_b_exponent_int=\count126
\l_fp_input_a_extended_int=\count127
\l_fp_input_b_extended_int=\count128
\l_fp_mul_a_i_int=\count129
\l_fp_mul_a_ii_int=\count130
\l_fp_mul_a_iii_int=\count131
\l_fp_mul_a_iv_int=\count132
\l_fp_mul_a_v_int=\count133
\l_fp_mul_a_vi_int=\count134
\l_fp_mul_b_i_int=\count135
\l_fp_mul_b_ii_int=\count136
\l_fp_mul_b_iii_int=\count137
\l_fp_mul_b_iv_int=\count138
\l_fp_mul_b_v_int=\count139
\l_fp_mul_b_vi_int=\count140
\l_fp_mul_output_int=\count141
\l_fp_output_sign_int=\count142
\l_fp_output_integer_int=\count143
\l_fp_output_decimal_int=\count144
\l_fp_output_exponent_int=\count145
\l_fp_output_extended_int=\count146
\l_fp_round_position_int=\count147
\l_fp_round_target_int=\count148
\l_fp_split_sign_int=\count149
\l_fp_internal_int=\count150
\l_fp_trig_octant_int=\count151
\l_fp_trig_sign_int=\count152
\l_fp_trig_decimal_int=\count153
\l_fp_trig_extended_int=\count154
\l_fp_internal_dim=\dimen108
\l_fp_internal_skip=\skip48
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3box.sty
Package: l3box 2012/03/04 v3490 L3 Experimental boxes
\l_tmpb_box=\box26
\l_box_top_dim=\dimen109
\l_box_bottom_dim=\dimen110
\l_box_left_dim=\dimen111
\l_box_right_dim=\dimen112
\l_box_top_new_dim=\dimen113
\l_box_bottom_new_dim=\dimen114
\l_box_left_new_dim=\dimen115
\l_box_right_new_dim=\dimen116
\l_box_internal_box=\box27
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3coffins.sty
Package: l3coffins 2012/03/03 v3482 L3 Experimental coffin code layer
\l_coffin_internal_box=\box28
\l_coffin_internal_dim=\dimen117
\l_coffin_offset_x_dim=\dimen118
\l_coffin_offset_y_dim=\dimen119
\l_coffin_x_dim=\dimen120
\l_coffin_y_dim=\dimen121
\l_coffin_x_prime_dim=\dimen122
\l_coffin_y_prime_dim=\dimen123
\l_coffin_Depth_dim=\dimen124
\l_coffin_Height_dim=\dimen125
\l_coffin_TotalHeight_dim=\dimen126
\l_coffin_Width_dim=\dimen127
\c_empty_coffin=\box29
\l_coffin_aligned_coffin=\box30
\l_coffin_aligned_internal_coffin=\box31
\l_coffin_bounding_shift_dim=\dimen128
\l_coffin_left_corner_dim=\dimen129
\l_coffin_right_corner_dim=\dimen130
\l_coffin_bottom_corner_dim=\dimen131
\l_coffin_top_corner_dim=\dimen132
\l_coffin_scaled_total_height_dim=\dimen133
\l_coffin_scaled_width_dim=\dimen134
\l_coffin_display_coffin=\box32
\l_coffin_display_coord_coffin=\box33
\l_coffin_display_pole_coffin=\box34
\l_coffin_display_offset_dim=\dimen135
\l_coffin_display_x_dim=\dimen136
\l_coffin_display_y_dim=\dimen137
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3color.sty
Package: l3color 2011/09/07 v2776 L3 Experimental colour support
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3luatex.sty
Package: l3luatex 2012/02/09 v3355 L3 Experimental LuaTeX-specific functions
\g_cctab_allocate_int=\count155
\g_cctab_stack_int=\count156
))
(/home/fk/texmf/tex/latex/xparse.sty
Package: xparse 1999/09/10 v0.17 generic document command parser
 (/home/fk/texmf/tex/latex/ldcsetup.sty
Package: ldcsetup 1999/09/10 v0.04 coding conventions and stuff

(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/tools/calc.sty
Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count157
\calc@Bcount=\count158
\calc@Adimen=\dimen138
\calc@Bdimen=\dimen139
\calc@Askip=\skip49
\calc@Bskip=\skip50
LaTeX Info: Redefining \setlength on input line 76.
LaTeX Info: Redefining \addtolength on input line 77.
\calc@Ccount=\count159
\calc@Cskip=\skip51
)
\KV@toks=\toks15
)
\@temptokenb=\toks16
\xparsed@args=\toks17
)
\l_fontspec_script_int=\count160
\l_fontspec_language_int=\count161
\l_fontspec_strnum_int=\count162
\l_fontspec_tmpa_dim=\dimen140
\l_fontspec_tmpb_dim=\dimen141
\l_fontspec_tmpc_dim=\dimen142
Variant \tl_gset:cV already defined; not changing it on line 66

(/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
Package: fontspec-patches 2012/05/06 v2.2b Advanced font selection for XeLaTeX/
LuaLaTeX

(/usr/local/texlive/2012/texmf-dist/tex/latex/base/fixltx2e.sty
Package: fixltx2e 2006/09/13 v1.1m fixes to LaTeX
LaTeX Info: Redefining \em on input line 420.
)
LaTeX Info: Redefining \em on input line 22.
LaTeX Info: Redefining \emph on input line 29.
LaTeX Info: Redefining \- on input line 32.

! Undefined control sequence.
l.104 \RenewDocumentCommand
                            \oldstylenums {m}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

LaTeX Font Info:    Try loading font information for OML+cmr on input line 104.

(/usr/local/texlive/2012/texmf-dist/tex/latex/base/omlcmr.fd
File: omlcmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info:    Font shape `OML/cmr/m/it' in size <10.95> not available
(Font)              Font shape `OML/cmm/m/it' tried instead on input line 104.


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                             
                                                 
l.104 \RenewDocumentCommand \oldstylenums {m}
                                             
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

! Undefined control sequence.
l.106     { \addfontfeature
                           {Numbers=OldStyle} #1 }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! You can't use `macro parameter character #' in horizontal mode.
l.106     { \addfontfeature{Numbers=OldStyle} #
                                               1 }
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! Undefined control sequence.
l.108 \NewDocumentCommand
                          \liningnums {m}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.108 \NewDocumentCommand \liningnums
                                      {m}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.110     { \addfontfeature
                           {Numbers=Lining} #1 }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! You can't use `macro parameter character #' in horizontal mode.
l.110     { \addfontfeature{Numbers=Lining} #
                                             1 }
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
Package: fontspec-xetex 2012/05/06 v2.2b Advanced font selection for XeLaTeX/Lu
aLaTeX

(/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1enc.def
File: eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
)
LaTeX Font Info:    Try loading font information for EU1+lmr on input line 100.


(/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmr.fd
File: eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
(/usr/local/texlive/2012/texmf-dist/tex/xelatex/xunicode/xunicode.sty
File: xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many
other characters in Unicode lower plane

(/usr/local/texlive/2012/texmf-dist/tex/latex/tipa/t3enc.def
File: t3enc.def 2001/12/31 T3 encoding
LaTeX Font Info:    Try loading font information for EU1+lmss on input line 357
.

(/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmss.fd
File: eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
\tipaTiiicode=\count163
\tipasavetokens=\toks18
\tipachecktokens=\toks19

(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
\Gin@req@height=\dimen143
\Gin@req@width=\dimen144
))
Variant \prop_gput:cnV already defined; not changing it on line 485
Variant \prop_gput:cnx already defined; not changing it on line 486
\l_fontspec_tmp_int=\count164
LaTeX Info: Redefining \itshape on input line 1893.
LaTeX Info: Redefining \slshape on input line 1897.
LaTeX Info: Redefining \scshape on input line 1901.
LaTeX Info: Redefining \upshape on input line 1905.

(/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/local/texlive/2012/texmf-dist/tex/latex/xltxtra/xltxtra.sty
Package: xltxtra 2010/09/20 v0.5e Improvements for the "XeLaTeX" format

(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/local/texlive/2012/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
(/usr/local/texlive/2012/texmf-dist/tex/latex/realscripts/realscripts.sty
Package: realscripts 2010/09/30 v0.3 Access OpenType subscripts and superscript
s

! Undefined control sequence.
l.23 \RenewDocumentCommand
                           \textsubscript {s} {
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                             
                                                 
l.23 \RenewDocumentCommand \textsubscript {s}
                                              {
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 23.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 23.
! Undefined control sequence.
<argument> ...size \z@ \selectfont \realsubscript
                                                 
l.24 ...BooleanTF #1 \fakesubscript \realsubscript
                                                 
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.26 \RenewDocumentCommand
                           \textsuperscript {s} {
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
<argument> ...ze \z@ \selectfont \realsuperscript
                                                 
l.27 ...eanTF #1 \fakesuperscript \realsuperscript
                                                 
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

\subsupersep=\dimen145
) (/usr/local/texlive/2012/texmf-dist/tex/latex/metalogo/metalogo.sty
Package: metalogo 2010/05/29 v0.12 Extended TeX logo macros
\xl@everylogo=\toks20
\xl@@everylogo=\toks21
LaTeX Info: Redefining \TeX on input line 193.
LaTeX Info: Redefining \LaTeX on input line 202.
LaTeX Info: Redefining \LaTeXe on input line 219.
)
\xxt@tempbox=\box35
)
\g_fontspec_family_Linux Libertine O_int=\count165
.................................................
. fontspec info: "defining-font"
.
. Font family 'LinuxLibertineO(0)' created for font 'Linux Libertine O' with
. options [].
.
. This font family consists of the following shapes:
.
. * 'normal' with NFSS spec.:
. <->"Linux Libertine O/ICU:script=latn;language=DFLT;"
.
. * 'small caps' with NFSS spec.:
. <->"Linux Libertine O/ICU:script=latn;language=DFLT;+smcp;"
.
. * 'bold' with NFSS spec.:
. <->"Linux Libertine O/B/ICU:script=latn;language=DFLT;"
.
. * 'bold small caps' with NFSS spec.:
. <->"Linux Libertine O/B/ICU:script=latn;language=DFLT;+smcp;"
.
. * 'italic' with NFSS spec.:
. <->"Linux Libertine O/I/ICU:script=latn;language=DFLT;"
.
. * 'italic small caps' with NFSS spec.:
. <->"Linux Libertine O/I/ICU:script=latn;language=DFLT;+smcp;"
.
. * 'bold italic' with NFSS spec.:
. <->"Linux Libertine O/BI/ICU:script=latn;language=DFLT;"
.................................................

No file test.aux.
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for EU1/lmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for T3/cmr/m/n on input line 6.
LaTeX Font Info:    Try loading font information for T3+cmr on input line 6.
(/usr/local/texlive/2012/texmf-dist/tex/latex/tipa/t3cmr.fd
File: t3cmr.fd 2001/12/31 TIPA font definitions
)
LaTeX Font Info:    ... okay on input line 6.
.................................................
. fontspec info: "setup-math"
.
. Adjusting the maths setup (use [no-math] to avoid this).
.................................................
\symlegacymaths=\mathgroup4
LaTeX Font Info:    Overwriting symbol font `legacymaths' in version `bold'
(Font)                  OT1/cmr/m/n --> OT1/cmr/bx/n on input line 6.
LaTeX Font Info:    Redeclaring math accent \acute on input line 6.
LaTeX Font Info:    Redeclaring math accent \grave on input line 6.
LaTeX Font Info:    Redeclaring math accent \ddot on input line 6.
LaTeX Font Info:    Redeclaring math accent \tilde on input line 6.
LaTeX Font Info:    Redeclaring math accent \bar on input line 6.
LaTeX Font Info:    Redeclaring math accent \breve on input line 6.
LaTeX Font Info:    Redeclaring math accent \check on input line 6.
LaTeX Font Info:    Redeclaring math accent \hat on input line 6.
LaTeX Font Info:    Redeclaring math accent \dot on input line 6.
LaTeX Font Info:    Redeclaring math accent \mathring on input line 6.
LaTeX Font Info:    Redeclaring math symbol \colon on input line 6.
LaTeX Font Info:    Redeclaring math symbol \Gamma on input line 6.
LaTeX Font Info:    Redeclaring math symbol \Delta on input line 6.
LaTeX Font Info:    Redeclaring math symbol \Theta on input line 6.
LaTeX Font Info:    Redeclaring math symbol \Lambda on input line 6.
LaTeX Font Info:    Redeclaring math symbol \Xi on input line 6.
LaTeX Font Info:    Redeclaring math symbol \Pi on input line 6.
LaTeX Font Info:    Redeclaring math symbol \Sigma on input line 6.
LaTeX Font Info:    Redeclaring math symbol \Upsilon on input line 6.
LaTeX Font Info:    Redeclaring math symbol \Phi on input line 6.
LaTeX Font Info:    Redeclaring math symbol \Psi on input line 6.
LaTeX Font Info:    Redeclaring math symbol \Omega on input line 6.
LaTeX Font Info:    Redeclaring math symbol \mathdollar on input line 6.
LaTeX Font Info:    Redeclaring symbol font `operators' on input line 6.
LaTeX Font Info:    Encoding `OT1' has changed to `EU1' for symbol font
(Font)              `operators' in the math version `normal' on input line 6.
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  OT1/cmr/m/n --> EU1/LinuxLibertineO(0)/m/n on input lin
e 6.
LaTeX Font Info:    Encoding `OT1' has changed to `EU1' for symbol font
(Font)              `operators' in the math version `bold' on input line 6.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  OT1/cmr/bx/n --> EU1/LinuxLibertineO(0)/m/n on input li
ne 6.
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  EU1/LinuxLibertineO(0)/m/n --> EU1/LinuxLibertineO(0)/m
/n on input line 6.
LaTeX Font Info:    Overwriting math alphabet `\mathrm' in version `normal'
(Font)                  EU1/LinuxLibertineO(0)/m/n --> EU1/LinuxLibertineO(0)/m
/n on input line 6.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `normal'
(Font)                  OT1/cmr/m/it --> EU1/LinuxLibertineO(0)/m/it on input l
ine 6.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `normal'
(Font)                  OT1/cmr/bx/n --> EU1/LinuxLibertineO(0)/bx/n on input l
ine 6.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `normal'
(Font)                  OT1/cmss/m/n --> EU1/lmss/m/n on input line 6.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `normal'
(Font)                  OT1/cmtt/m/n --> EU1/lmtt/m/n on input line 6.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  EU1/LinuxLibertineO(0)/m/n --> EU1/LinuxLibertineO(0)/b
x/n on input line 6.
LaTeX Font Info:    Overwriting math alphabet `\mathrm' in version `bold'
(Font)                  EU1/LinuxLibertineO(0)/m/n --> EU1/LinuxLibertineO(0)/b
x/n on input line 6.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
(Font)                  OT1/cmr/bx/it --> EU1/LinuxLibertineO(0)/bx/it on input
 line 6.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `bold'
(Font)                  OT1/cmss/bx/n --> EU1/lmss/bx/n on input line 6.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `bold'
(Font)                  OT1/cmtt/m/n --> EU1/lmtt/bx/n on input line 6.
 [1

] (./test.aux) )
Here is how much of TeX's memory you used:
 13298 strings out of 494004
 290231 string characters out of 3150890
 278490 words of memory out of 3000000
 16453 multiletter control sequences out of 15000+200000
 4631 words of font info for 29 fonts, out of 3000000 for 9000
 1144 hyphenation exceptions out of 8191
 39i,5n,42p,576b,130s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on test.pdf (1 page).


Donc je pense que xelatex accède à la fonte mais ne sait pas quoi faire de \RenewDocumentCommand de fontspec-patches.sty
Et là je n'ai pas d'idée ... ou il manque un package dans mon préambule ? (ou l'ordre de déclaration ?)
FK
Utilisateur
 
Messages: 6
Inscription: Vendredi 15 Février 2013, 11:20
Statut actuel: Actif et salarié | Enseignant

Re: XeLatex et Texlive

Messagepar OG » Vendredi 15 Février 2013, 15:29

Code: Tout sélectionner
\usepackage[no-math]{fontspec}


devrait faire marcher le tout. Grosso modo, Libertine n'est pas une fonte math.
Donc soit on dit à fontspec de ne pas s'occuper des maths (donc CMR ou une autre mais gérée à la LaTeX par la commande
adéquate, \usepackage[MnSymbol]{mathspec} \usepackage{MnSymbol} par exemple pour aller avec Minion Pro), soit on lui
propose une des rares fontes math (asana, xtis, cambria)

O.G.

Edit : Pour avoir une certaine cohérence entre les maths et le texte, j'ai vu newtxmath
Code: Tout sélectionner
\usepackage[libertine, cmintegrals]{newtxmath}

mais je n'ai pas testé, ni en pdflatex ni en xelatex
OG
Modérateur
 
Messages: 2285
Inscription: Lundi 12 Mars 2007, 11:20
Localisation: Rouen
Statut actuel: Actif et salarié | Maître de conférence

Re: XeLatex et Texlive

Messagepar FK » Vendredi 15 Février 2013, 15:39

Arrgggh !

j'y ai cru ... mais malheureusement même message d'erreur avec \usepackage[no-math]{fontspec}
! Undefined control sequence.
l.104 \RenewDocumentCommand
\oldstylenums {m}


J'ai vu que les permissions de mon dossier fonts de usr/share/fonts étaient sur root mais j'ai quand même ce message d'erreur avec sudo xelatex test.tex

Je compile sans erreur cet ecm
Code: Tout sélectionner
\documentclass[11pt]{article}
\usepackage[libertine, cmintegrals]{newtxmath}

\begin{document}

Hello
\end{document}


LE problème vient de fontspec ?
FK
Utilisateur
 
Messages: 6
Inscription: Vendredi 15 Février 2013, 11:20
Statut actuel: Actif et salarié | Enseignant

Re: XeLatex et Texlive

Messagepar OG » Vendredi 15 Février 2013, 15:52

Re

Le pb viendrait fontspec-patches.sty (ou interaction avec autres).


Code: Tout sélectionner
\documentclass[11pt]{article}
\usepackage[no-math]{fontspec}
\usepackage{xltxtra}
\setmainfont{Linux Libertine O}
\begin{document}

Hello
\end{document}


se compile sans pb. Voici le log (si un courageux veut regarder la différence).
C'est du texlive2012 par paquet debian, donc moins un jour qu'une texlive2012 à la vanille.

O.G.

Code: Tout sélectionner
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/Debian) (format=xelatex 2013.1.10)  15 FEB 2013 15:44
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**mathex38.tex
(./mathex38.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, us
englishmax, ukenglish, french, basque, loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
File: size11.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/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
Package: fontspec 2012/05/06 v2.2b Advanced font selection for XeLaTeX/LuaLaTeX


(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3names.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty
Package: l3bootstrap 2011/12/29 v3110 L3 Experimental bootstrap code
)
Package: l3names 2012/03/04 v3494 L3 Experimental namespace for primitives
)
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count88
)
Package: expl3 2012/04/23 v3570 L3 Experimental code bundle wrapper

(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)

(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: xetex.def on input line 130.

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

))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: xetex.def on input line 91.
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3basics.sty
Package: l3basics 2012/03/04 v3491 L3 Experimental basic definitions
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3expan.sty
Package: l3expan 2012/02/26 v3460 L3 Experimental argument expansion
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3tl.sty
Package: l3tl 2012/03/04 v3490 L3 Experimental token lists
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3seq.sty
Package: l3seq 2012/03/04 v3490 L3 Experimental sequences and stacks
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3int.sty
Package: l3int 2012/03/04 v3490 L3 Experimental integers
\c_max_int=\count89
\l_tmpa_int=\count90
\l_tmpb_int=\count91
\l_tmpc_int=\count92
\g_tmpa_int=\count93
\g_tmpb_int=\count94
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3quark.sty
Package: l3quark 2012/02/12 v3384 L3 Experimental quarks
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3prg.sty
Package: l3prg 2012/03/04 v3490 L3 Experimental control structures
\g_prg_map_int=\count95
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3clist.sty
Package: l3clist 2012/03/04 v3490 L3 Experimental comma separated lists
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3token.sty
Package: l3token 2012/03/04 v3491 L3 Experimental token manipulation
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3prop.sty
Package: l3prop 2012/03/04 v3490 L3 Experimental property lists
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3msg.sty
Package: l3msg 2012/04/23 v3568 L3 Experimental messages
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3file.sty
Package: l3file 2012/03/09 v3520 L3 Experimental file and I/O operations
\l_iow_stream_int=\count96
\l_iow_line_length_int=\count97
\l_iow_target_length_int=\count98
\l_iow_current_line_int=\count99
\l_iow_current_word_int=\count100
\l_iow_current_indentation_int=\count101
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3skip.sty
Package: l3skip 2012/03/05 v3499 L3 Experimental dimensions and skips
\l_tmpa_dim=\dimen103
\l_tmpb_dim=\dimen104
\l_tmpc_dim=\dimen105
\g_tmpa_dim=\dimen106
\g_tmpb_dim=\dimen107
\l_tmpa_skip=\skip43
\l_tmpb_skip=\skip44
\l_tmpc_skip=\skip45
\g_tmpa_skip=\skip46
\g_tmpb_skip=\skip47
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3keys.sty
Package: l3keys 2012/03/03 v3487 L3 Experimental key-value interfaces
\g_keyval_level_int=\count102
\l_keys_choice_int=\count103
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3fp.sty
Package: l3fp 2012/03/04 v3490 L3 Experimental floating-point operations
\c_one_hundred_million=\count104
\c_five_hundred_million=\count105
\c_one_thousand_million=\count106
\c_fp_pi_by_four_decimal_int=\count107
\c_fp_pi_by_four_extended_int=\count108
\c_fp_pi_decimal_int=\count109
\c_fp_pi_extended_int=\count110
\c_fp_two_pi_decimal_int=\count111
\c_fp_two_pi_extended_int=\count112
\l_fp_count_int=\count113
\l_fp_div_offset_int=\count114
\l_fp_exp_integer_int=\count115
\l_fp_exp_decimal_int=\count116
\l_fp_exp_extended_int=\count117
\l_fp_exp_exponent_int=\count118
\l_fp_input_a_sign_int=\count119
\l_fp_input_a_integer_int=\count120
\l_fp_input_a_decimal_int=\count121
\l_fp_input_a_exponent_int=\count122
\l_fp_input_b_sign_int=\count123
\l_fp_input_b_integer_int=\count124
\l_fp_input_b_decimal_int=\count125
\l_fp_input_b_exponent_int=\count126
\l_fp_input_a_extended_int=\count127
\l_fp_input_b_extended_int=\count128
\l_fp_mul_a_i_int=\count129
\l_fp_mul_a_ii_int=\count130
\l_fp_mul_a_iii_int=\count131
\l_fp_mul_a_iv_int=\count132
\l_fp_mul_a_v_int=\count133
\l_fp_mul_a_vi_int=\count134
\l_fp_mul_b_i_int=\count135
\l_fp_mul_b_ii_int=\count136
\l_fp_mul_b_iii_int=\count137
\l_fp_mul_b_iv_int=\count138
\l_fp_mul_b_v_int=\count139
\l_fp_mul_b_vi_int=\count140
\l_fp_mul_output_int=\count141
\l_fp_output_sign_int=\count142
\l_fp_output_integer_int=\count143
\l_fp_output_decimal_int=\count144
\l_fp_output_exponent_int=\count145
\l_fp_output_extended_int=\count146
\l_fp_round_position_int=\count147
\l_fp_round_target_int=\count148
\l_fp_split_sign_int=\count149
\l_fp_internal_int=\count150
\l_fp_trig_octant_int=\count151
\l_fp_trig_sign_int=\count152
\l_fp_trig_decimal_int=\count153
\l_fp_trig_extended_int=\count154
\l_fp_internal_dim=\dimen108
\l_fp_internal_skip=\skip48
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3box.sty
Package: l3box 2012/03/04 v3490 L3 Experimental boxes
\l_tmpb_box=\box26
\l_box_top_dim=\dimen109
\l_box_bottom_dim=\dimen110
\l_box_left_dim=\dimen111
\l_box_right_dim=\dimen112
\l_box_top_new_dim=\dimen113
\l_box_bottom_new_dim=\dimen114
\l_box_left_new_dim=\dimen115
\l_box_right_new_dim=\dimen116
\l_box_internal_box=\box27
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3coffins.sty
Package: l3coffins 2012/03/03 v3482 L3 Experimental coffin code layer
\l_coffin_internal_box=\box28
\l_coffin_internal_dim=\dimen117
\l_coffin_offset_x_dim=\dimen118
\l_coffin_offset_y_dim=\dimen119
\l_coffin_x_dim=\dimen120
\l_coffin_y_dim=\dimen121
\l_coffin_x_prime_dim=\dimen122
\l_coffin_y_prime_dim=\dimen123
\l_coffin_Depth_dim=\dimen124
\l_coffin_Height_dim=\dimen125
\l_coffin_TotalHeight_dim=\dimen126
\l_coffin_Width_dim=\dimen127
\c_empty_coffin=\box29
\l_coffin_aligned_coffin=\box30
\l_coffin_aligned_internal_coffin=\box31
\l_coffin_bounding_shift_dim=\dimen128
\l_coffin_left_corner_dim=\dimen129
\l_coffin_right_corner_dim=\dimen130
\l_coffin_bottom_corner_dim=\dimen131
\l_coffin_top_corner_dim=\dimen132
\l_coffin_scaled_total_height_dim=\dimen133
\l_coffin_scaled_width_dim=\dimen134
\l_coffin_display_coffin=\box32
\l_coffin_display_coord_coffin=\box33
\l_coffin_display_pole_coffin=\box34
\l_coffin_display_offset_dim=\dimen135
\l_coffin_display_x_dim=\dimen136
\l_coffin_display_y_dim=\dimen137
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3color.sty
Package: l3color 2011/09/07 v2776 L3 Experimental colour support
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3luatex.sty
Package: l3luatex 2012/02/09 v3355 L3 Experimental LuaTeX-specific functions
\g_cctab_allocate_int=\count155
\g_cctab_stack_int=\count156
))
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
Package: xparse 2012/04/23 v3570 L3 Experimental document command parser
\l_xparse_current_arg_int=\count157
\l_xparse_m_args_int=\count158
\l_xparse_mandatory_args_int=\count159
\l_xparse_processor_int=\count160
\l_xparse_v_nesting_int=\count161
)
\l_fontspec_script_int=\count162
\l_fontspec_language_int=\count163
\l_fontspec_strnum_int=\count164
\l_fontspec_tmpa_dim=\dimen138
\l_fontspec_tmpb_dim=\dimen139
\l_fontspec_tmpc_dim=\dimen140
Variant \tl_gset:cV already defined; not changing it on line 66

(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
Package: fontspec-patches 2012/05/06 v2.2b Advanced font selection for XeLaTeX/
LuaLaTeX

(/usr/share/texlive/texmf-dist/tex/latex/base/fixltx2e.sty
Package: fixltx2e 2006/09/13 v1.1m fixes to LaTeX
LaTeX Info: Redefining \em on input line 420.
)
LaTeX Info: Redefining \em on input line 22.
LaTeX Info: Redefining \emph on input line 29.
LaTeX Info: Redefining \- on input line 32.

*************************************************
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \oldstylenums with arg. spec. 'm' on line 107.
*************************************************
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \liningnums with arg. spec. 'm' on line 111.
.................................................
) (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
Package: fontspec-xetex 2012/05/06 v2.2b Advanced font selection for XeLaTeX/Lu
aLaTeX

(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1enc.def
File: eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
)
LaTeX Font Info:    Try loading font information for EU1+lmr on input line 100.


(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmr.fd
File: eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
(/usr/share/texlive/texmf-dist/tex/xelatex/xunicode/xunicode.sty
File: xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many
other characters in Unicode lower plane

(/usr/share/texmf/tex/latex/tipa/t3enc.def
File: t3enc.def 2001/12/31 T3 encoding
LaTeX Font Info:    Try loading font information for EU1+lmss on input line 357
.

(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmss.fd
File: eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
\tipaTiiicode=\count165
\tipasavetokens=\toks14
\tipachecktokens=\toks15

(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks16
)
\Gin@req@height=\dimen141
\Gin@req@width=\dimen142
))
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \fontspec with arg. spec. 'O{}m' on line 39.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmainfont with arg. spec. 'O{}m' on line 43.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setsansfont with arg. spec. 'O{}m' on line 47.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmonofont with arg. spec. 'O{}m' on line 51.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathrm with arg. spec. 'O{}m' on line 59.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setboldmathrm with arg. spec. 'O{}m' on line 62.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathsf with arg. spec. 'O{}m' on line 65.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \setmathtt with arg. spec. 'O{}m' on line 68.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontfamily with arg. spec. 'mO{}m' on line 84.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontface with arg. spec. 'mO{}m' on line 87.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \defaultfontfeatures with arg. spec. 'm' on line
. 91.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \addfontfeatures with arg. spec. 'm' on line 107.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontfeature with arg. spec. 'mm' on line 118.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newAATfeature with arg. spec. 'mmmm' on line 125.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newICUfeature with arg. spec. 'mmm' on line 132.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \aliasfontfeature with arg. spec. 'mm' on line
. 159.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \aliasfontfeatureoption with arg. spec. 'mmm' on
. line 164.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontscript with arg. spec. 'mm' on line 169.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \newfontlanguage with arg. spec. 'mm' on line 192.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \DeclareFontsExtensions with arg. spec. 'm' on
. line 211.
.................................................
Variant \prop_gput:cnV already defined; not changing it on line 485
Variant \prop_gput:cnx already defined; not changing it on line 486
\l_fontspec_tmp_int=\count166
LaTeX Info: Redefining \itshape on input line 1893.
LaTeX Info: Redefining \slshape on input line 1897.
LaTeX Info: Redefining \scshape on input line 1901.
LaTeX Info: Redefining \upshape on input line 1905.

(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/share/texlive/texmf-dist/tex/latex/xltxtra/xltxtra.sty
Package: xltxtra 2010/09/20 v0.5e Improvements for the "XeLaTeX" format

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
(/usr/share/texlive/texmf-dist/tex/latex/realscripts/realscripts.sty
Package: realscripts 2010/09/30 v0.3 Access OpenType subscripts and superscript
s
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \fakesubscript with arg. spec. 'm' on line 19.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \fakesuperscript with arg. spec. 'm' on line 22.
.................................................

*************************************************
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \textsubscript with arg. spec. 's' on line 25.
*************************************************
*************************************************
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \textsuperscript with arg. spec. 's' on line 28.
*************************************************
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \realsubscript with arg. spec. 'm' on line 45.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \realsuperscript with arg. spec. 'm' on line 60.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \textsubsuperscript with arg. spec. 'sO{l}mm' on
. line 137.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
.
. Defining document command \textsupersubscript with arg. spec. 'sO{l}mm' on
. line 140.
.................................................
\subsupersep=\dimen143
) (/usr/share/texlive/texmf-dist/tex/latex/metalogo/metalogo.sty
Package: metalogo 2010/05/29 v0.12 Extended TeX logo macros
\xl@everylogo=\toks17
\xl@@everylogo=\toks18
LaTeX Info: Redefining \TeX on input line 193.
LaTeX Info: Redefining \LaTeX on input line 202.
LaTeX Info: Redefining \LaTeXe on input line 219.
)
\xxt@tempbox=\box35
)
\g_fontspec_family_Linux Libertine O_int=\count167
.................................................
. fontspec info: "defining-font"
.
. Font family 'LinuxLibertineO(0)' created for font 'Linux Libertine O' with
. options [].
.
. This font family consists of the following shapes:
.
. * 'normal' with NFSS spec.:
. <->"Linux Libertine O/ICU:script=latn;language=DFLT;"
.
. * 'small caps' with NFSS spec.:
. <->"Linux Libertine O/ICU:script=latn;language=DFLT;+smcp;"
.
. * 'bold' with NFSS spec.:
. <->"Linux Libertine O/B/ICU:script=latn;language=DFLT;"
.
. * 'bold small caps' with NFSS spec.:
. <->"Linux Libertine O/B/ICU:script=latn;language=DFLT;+smcp;"
.
. * 'italic' with NFSS spec.:
. <->"Linux Libertine O/I/ICU:script=latn;language=DFLT;"
.
. * 'italic small caps' with NFSS spec.:
. <->"Linux Libertine O/I/ICU:script=latn;language=DFLT;+smcp;"
.
. * 'bold italic' with NFSS spec.:
. <->"Linux Libertine O/BI/ICU:script=latn;language=DFLT;"
.................................................

(./mathex38.aux)
\openout1 = `mathex38.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for EU1/lmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T3/cmr/m/n on input line 5.
LaTeX Font Info:    Try loading font information for T3+cmr on input line 5.
 (/usr/share/texmf/tex/latex/tipa/t3cmr.fd
File: t3cmr.fd 2001/12/31 TIPA font definitions
)
LaTeX Font Info:    ... okay on input line 5.
 [1

] (./mathex38.aux) )
Here is how much of TeX's memory you used:
 13403 strings out of 495648
 294840 string characters out of 3186747
 284488 words of memory out of 3000000
 16462 multiletter control sequences out of 15000+200000
 4264 words of font info for 27 fonts, out of 3000000 for 9000
 36 hyphenation exceptions out of 8191
 44i,5n,42p,580b,130s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on mathex38.pdf (1 page).

OG
Modérateur
 
Messages: 2285
Inscription: Lundi 12 Mars 2007, 11:20
Localisation: Rouen
Statut actuel: Actif et salarié | Maître de conférence

Re: XeLatex et Texlive

Messagepar OG » Vendredi 15 Février 2013, 15:58

Re


J'ai eu du courage : un diff. Il semble que tu aies un xsparse qui traine dans ton arborescence perso
Code: Tout sélectionner
< (/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
< Package: xparse 2012/04/23 v3570 L3 Experimental document command parser
< \l_xparse_current_arg_int=\count157
< \l_xparse_m_args_int=\count158
< \l_xparse_mandatory_args_int=\count159
< \l_xparse_processor_int=\count160
< \l_xparse_v_nesting_int=\count161
< )
< \l_fontspec_script_int=\count162
< \l_fontspec_language_int=\count163
< \l_fontspec_strnum_int=\count164
< \l_fontspec_tmpa_dim=\dimen138
< \l_fontspec_tmpb_dim=\dimen139
< \l_fontspec_tmpc_dim=\dimen140
---
> (/home/fk/texmf/tex/latex/xparse.sty
> Package: xparse 1999/09/10 v0.17 generic document command parser
>  (/home/fk/texmf/tex/latex/ldcsetup.sty
> Package: ldcsetup 1999/09/10 v0.04 coding conventions and stuff
>

OG
Modérateur
 
Messages: 2285
Inscription: Lundi 12 Mars 2007, 11:20
Localisation: Rouen
Statut actuel: Actif et salarié | Maître de conférence

Re: XeLatex et Texlive

Messagepar FK » Vendredi 15 Février 2013, 16:06

YES !

Merci pour le courage ! J'ai viré xparse.sty de mon arborescence perso et ça compile.

Bon, je ne vois pas comment mettre le sujet en résolu mais il l'est ... encore merci.
FK
Utilisateur
 
Messages: 6
Inscription: Vendredi 15 Février 2013, 11:20
Statut actuel: Actif et salarié | Enseignant

Re: XeLatex et Texlive

Messagepar rebouxo » Vendredi 15 Février 2013, 22:21

FK a écrit:YES !

Merci pour le courage ! J'ai viré xparse.sty de mon arborescence perso et ça compile.

Bon, je ne vois pas comment mettre le sujet en résolu mais il l'est ... encore merci.


Tu édites le premier message et tu modifie le sujet.

Olivier
A line is a point that went for a walk. Paul Klee
Par solidarité, pas de MP
rebouxo
Modérateur
 
Messages: 6949
Inscription: Mercredi 15 Février 2006, 13:18
Localisation: le havre
Statut actuel: Actif et salarié | Enseignant


Retourner vers LaTeX

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Bing [Bot], Grapeshot [Crawler] et 28 invités