I have a problem I was not able to resolve myself over the weekend.
Will be really grateful if anyone help me with it.
I have just installed MikTex 2.9 over the last 2.7 version, and I
cannot compile my XeTeX file anymore without errors. The trouble now
(which was not the case with 2.7) with hyperref driver. It says
"Package hyperref Error: Wrong DVI mode driver option 'dvipdfm'"
I tried removing the driver from hyperref options, but I'm not sure if
this is legal. Besides there's still a warning after that
"Xetex driver only supports unicode"
What's the best course of fixing it?
Thank you so much!
File below:
--------------------------
\documentclass[12pt, a4paper]{article}
\usepackage[usenames,dvipsnames]{color}
\usepackage{xunicode}
\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Ligatures={Common}, Numbers={OldStyle}]{Linux Libertine
O}
\usepackage[dvipdfm, bookmarks, colorlinks, breaklinks,pdftitle={Haha}]
{hyperref}
\begin{document}
Some text
\end{document}
Try without the dvipdfm option to hyperref.
Ciao
Enrico
I tried removing the driver from hyperref options, but I'm not sure
> On Mar 27, 6:30 pm, Enrico Gregorio <Facile.da.trov...@in.rete.it>
> wrote:
> > Try without the dvipdfm option to hyperref.
>
> I tried removing the driver from hyperref options, but I'm not sure
> if
> this is legal.
It's wrong anyway, xetex uses xdvipdfmx.
Also XeTeX is detectable at TeX programming level,
therefore hyperref automatically sets the right driver.
> Besides there's still a warning after that
> "Xetex driver only supports unicode"
That's a different issue. Unhappily there isn't a
documented, safe way to use PDF bookmark strings
with PDFDocEncoding using XeTeX, therefore hyperref
must use option `unicode'.
--
Heiko Oberdiek
> \usepackage{xunicode}
> \usepackage{xltxtra}
1. Load xunicode after fontspec/xltxtra.
2. It is actually not necessary to load xunicode, both xltxtra and
fontspec will load it internally.
3. xltxtra is more or less deprecated. A lot of code has moved to
fontspec, so \usepackage{fontspec} is in general enough.
--
Ulrike Fischer
Almost there (thanks for that), now warnings and errors are gone, but
the output produced by a variation of the above code:
\documentclass[12pt, a4paper]{article}
\usepackage{fontspec}
\usepackage[usenames,dvipsnames]{color}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Ligatures={Common}, Numbers={OldStyle}]{Linux Libertine
O}
\usepackage[unicode, bookmarks, colorlinks, breaklinks,pdftitle={Haha}]
{hyperref}
\begin{document}
Some text 124 right now...
\end{document}
Produces
Some text right now‘
somehow the numerals got garbled up. Any ideas??? I will paste the
output screen below. The problem seems to have been related to "Failed
to convert input string to UTF16" warning.
Thank you for your help!
--------------------------------------
This is XeTeX, Version 3.1415926-2.2-0.9997.4 (MiKTeX 2.9) (preloaded
format=xelatex 2011.3.28) 29 MAR 2011 11:40
entering extended mode
**D:/Desktop/debug/groups.tex
(D:/Desktop/debug/groups.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, afrikaans,
ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan,
coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish,
french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi,
hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao,
latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc,
monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish,
portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish,
swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian,
uppersorbian, u
senglishmax, welsh, loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size12.clo"
File: size12.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
)
("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec.sty"
Package: fontspec 2011/02/26 v2.1f Advanced font selection for XeLaTeX/
LuaLaTeX
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\e
xpl3.sty"
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3names.sty"
Package: l3names 2011/01/08 v2122 L3 Experimental Naming Scheme for
TeX Primiti
ves
)
Package: expl3 2011/02/17 v2156 L3 Experimental code bundle wrapper
("C:\Program Files\MiKTeX 2.9\tex\latex\misc\etex.sty"
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count88
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3basics.sty"
Package: l3basics 2011/02/26 v2158 L3 Experimental basic definitions
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3expan.sty"
Package: l3expan 2010/09/20 v2037 L3 Experimental Argument Expansion
module
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3tl.sty"
Package: l3tl 2011/03/07 v2184 L3 Experimental Token Lists
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3int.sty"
Package: l3int 2011/03/06 v2178 L3 Experimental Integer module
\l_tmpa_int=\count89
\l_tmpb_int=\count90
\l_tmpc_int=\count91
\g_tmpa_int=\count92
\g_tmpb_int=\count93
\c_max_int=\count94
\g_tl_inline_level_int=\count95
\g_prg_inline_level_int=\count96
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3quark.sty"
Package: l3quark 2011/03/03 v2172 L3 Experimental Quark Commands
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3seq.sty"
Package: l3seq 2010/03/29 v1879 L3 Experimental sequences and stacks
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3toks.sty"
Package: l3toks 2010/09/20 v2037 L3 Experimental Token Registers
\l_tmpb_toks=\toks14
\l_tmpc_toks=\toks15
\g_tmpa_toks=\toks16
\g_tmpb_toks=\toks17
\g_tmpc_toks=\toks18
\c_empty_toks=\toks19
\l_tl_replace_toks=\toks20
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3prg.sty"
Package: l3prg 2011/03/06 v2178 L3 Experimental control structures
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3clist.sty"
Package: l3clist 2011/03/06 v2178 L3 Experimental comma separated
lists
\g_clist_map_inline_int=\count97
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3token.sty"
Package: l3token 2011/02/16 v2151 L3 Experimental token investigation
and manip
ulation
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3prop.sty"
Package: l3prop 2010/11/23 v2087 L3 Experimental Property Lists
\g_prop_inline_level_int=\count98
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3msg.sty"
Package: l3msg 2010/10/02 v2052 L3 Experimental LaTeX Messages module
\l_msg_redirect_classes_prop=\toks21
\l_msg_redirect_names_prop=\toks22
\l_msg_redirect_fatal_prop=\toks23
\l_msg_redirect_error_prop=\toks24
\l_msg_redirect_warning_prop=\toks25
\l_msg_redirect_info_prop=\toks26
\l_msg_redirect_log_prop=\toks27
\l_msg_redirect_trace_prop=\toks28
\l_msg_redirect_none_prop=\toks29
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3io.sty"
Package: l3io 2010/10/03 v2063 L3 Experimental i/o module
\g_iow_streams_prop=\toks30
\g_ior_streams_prop=\toks31
\l_iow_stream_int=\count99
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3skip.sty"
Package: l3skip 2011/02/15 v2149 L3 Experimental skip registers
\l_tmpa_skip=\skip43
\l_tmpb_skip=\skip44
\l_tmpc_skip=\skip45
\g_tmpa_skip=\skip46
\g_tmpb_skip=\skip47
\l_tmpa_dim=\dimen103
\l_tmpb_dim=\dimen104
\l_tmpc_dim=\dimen105
\l_tmpd_dim=\dimen106
\g_tmpa_dim=\dimen107
\g_tmpb_dim=\dimen108
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3box.sty"
Package: l3box 2011/03/06 v2178 L3 Experimental Box module
\l_tmpb_box=\box26
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3keyval.sty"
Package: l3keyval 2010/04/11 v1890 L3 Experimental keyval processing
\l_KV_level_int=\count100
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3keys.sty"
Package: l3keys 2010/11/11 v2082 L3 Experimental key-value support
\l_keys_choice_int=\count101
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3precom.sty"
Package: l3precom 2010/02/09 v1793 L3 Experimental precompilation
module
\g_gen_sym_int=\count102
\g_ggen_sym_int=\count103
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3xref.sty"
Package: l3xref 2011/02/16 v2151 L3 Experimental cross referencing
\g_xref_all_curr_immediate_fields_prop=\toks32
\g_xref_all_curr_deferred_fields_prop=\toks33
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3file.sty"
Package: l3file 2010/03/21 v1853 L3 Experimental file loading
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3fp.sty"
Package: l3fp 2011/03/06 v2178 L3 Experimental floating-point
operations
\c_one_million=\count104
\c_one_hundred_million=\count105
\c_five_hundred_million=\count106
\c_one_thousand_million=\count107
\c_fp_pi_by_four_decimal_int=\count108
\c_fp_pi_by_four_extended_int=\count109
\c_fp_pi_decimal_int=\count110
\c_fp_pi_extended_int=\count111
\c_fp_two_pi_decimal_int=\count112
\c_fp_two_pi_extended_int=\count113
\l_fp_count_int=\count114
\l_fp_div_offset_int=\count115
\l_fp_exp_integer_int=\count116
\l_fp_exp_decimal_int=\count117
\l_fp_exp_extended_int=\count118
\l_fp_exp_exponent_int=\count119
\l_fp_input_a_sign_int=\count120
\l_fp_input_a_integer_int=\count121
\l_fp_input_a_decimal_int=\count122
\l_fp_input_a_exponent_int=\count123
\l_fp_input_b_sign_int=\count124
\l_fp_input_b_integer_int=\count125
\l_fp_input_b_decimal_int=\count126
\l_fp_input_b_exponent_int=\count127
\l_fp_input_a_extended_int=\count128
\l_fp_input_b_extended_int=\count129
\l_fp_mul_a_i_int=\count130
\l_fp_mul_a_ii_int=\count131
\l_fp_mul_a_iii_int=\count132
\l_fp_mul_a_iv_int=\count133
\l_fp_mul_a_v_int=\count134
\l_fp_mul_a_vi_int=\count135
\l_fp_mul_b_i_int=\count136
\l_fp_mul_b_ii_int=\count137
\l_fp_mul_b_iii_int=\count138
\l_fp_mul_b_iv_int=\count139
\l_fp_mul_b_v_int=\count140
\l_fp_mul_b_vi_int=\count141
\l_fp_mul_output_int=\count142
\l_fp_output_sign_int=\count143
\l_fp_output_integer_int=\count144
\l_fp_output_decimal_int=\count145
\l_fp_output_exponent_int=\count146
\l_fp_output_extended_int=\count147
\l_fp_round_position_int=\count148
\l_fp_round_target_int=\count149
\l_fp_split_sign_int=\count150
\l_fp_tmp_int=\count151
\l_fp_trig_octant_int=\count152
\l_fp_trig_sign_int=\count153
\l_fp_trig_decimal_int=\count154
\l_fp_trig_extended_int=\count155
\l_fp_tmp_dim=\dimen109
\l_fp_tmp_skip=\skip48
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3luatex.sty"
Package: l3luatex 2010/07/18 v1985 L3 Experimental LuaTeX functions
\g_cctab_allocate_int=\count156
\g_cctab_stack_int=\count157
)
("C:\Documents and Settings\Admin\Application Data\MiKTeX\2.9\tex\latex
\expl3\l
3font.sty"
Package: l3font 2011/03/03 v2175 L3 Experimental Font Loading
) ("C:\Program Files\MiKTeX 2.9\tex\latex\tools\calc.sty"
Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count158
\calc@Bcount=\count159
\calc@Adimen=\dimen110
\calc@Bdimen=\dimen111
\calc@Askip=\skip49
\calc@Bskip=\skip50
LaTeX Info: Redefining \setlength on input line 76.
LaTeX Info: Redefining \addtolength on input line 77.
\calc@Ccount=\count160
\calc@Cskip=\skip51
))
("C:\Program Files\MiKTeX 2.9\tex\latex\xpackages\xbase\xparse.sty"
Package: xparse 2011/01/23 v2136 Generic document command parser
\c_xparse_shorthands_prop=\toks34
\l_xparse_m_args_int=\count161
\l_xparse_mandatory_args_int=\count162
\l_xparse_processor_int=\count163
\l_xparse_total_args_int=\count164
)
("C:\Program Files\MiKTeX 2.9\tex\generic\binhex\binhex.tex")
\l_fontspec_script_int=\count165
\l_fontspec_language_int=\count166
\l_fontspec_strnum_int=\count167
Variant \tl_gset:cV already defined; not changing it on line 83
("C:\Program Files\MiKTeX 2.9\tex\latex\xkeyval\xkeyval.sty"
Package: xkeyval 2008/08/13 v2.6a package option processing (HA)
("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\xkeyval.tex"
\XKV@toks=\toks35
\XKV@tempa@toks=\toks36
\XKV@depth=\count168
File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\keyval.tex")))
("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec-patches.sty"
Package: fontspec-patches 2011/02/26 v2.1f Advanced font selection for
XeLaTeX/
LuaLaTeX
("C:\Program Files\MiKTeX 2.9\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.
)
("C:\Program Files\MiKTeX 2.9\tex\latex\base\fontenc.sty"
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
("C:\Program Files\MiKTeX 2.9\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.
("C:\Program Files\MiKTeX 2.9\tex\latex\euenc\eu1lmr.fd"
File: eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
("C:\Program Files\MiKTeX 2.9\tex\xelatex\xunicode\xunicode.sty"
File: xunicode.sty 2010/11/06 v0.96 provides access to latin accents
and many o
ther characters in Unicode lower plane
)
LaTeX info: Defining document command \fontspec
(LaTeX) with arg. spec. 'O{}m' on line 335.
LaTeX info: Defining document command \setmainfont
(LaTeX) with arg. spec. 'O{}m' on line 339.
LaTeX info: Defining document command \setsansfont
(LaTeX) with arg. spec. 'O{}m' on line 343.
LaTeX info: Defining document command \setmonofont
(LaTeX) with arg. spec. 'O{}m' on line 347.
LaTeX info: Defining document command \setmathrm
(LaTeX) with arg. spec. 'O{}m' on line 351.
LaTeX info: Defining document command \setboldmathrm
(LaTeX) with arg. spec. 'O{}m' on line 354.
LaTeX info: Defining document command \setmathsf
(LaTeX) with arg. spec. 'O{}m' on line 357.
LaTeX info: Defining document command \setmathtt
(LaTeX) with arg. spec. 'O{}m' on line 360.
LaTeX info: Defining document command \newfontfamily
(LaTeX) with arg. spec. 'mO{}m' on line 377.
LaTeX info: Defining document command \newfontface
(LaTeX) with arg. spec. 'mO{}m' on line 380.
LaTeX info: Defining document command \defaultfontfeatures
(LaTeX) with arg. spec. 'm' on line 383.
LaTeX info: Defining document command \addfontfeatures
(LaTeX) with arg. spec. 'm' on line 400.
LaTeX info: Defining document command \newfontfeature
(LaTeX) with arg. spec. 'mm' on line 407.
LaTeX info: Defining document command \newAATfeature
(LaTeX) with arg. spec. 'mmmm' on line 416.
LaTeX info: Defining document command \newICUfeature
(LaTeX) with arg. spec. 'mmm' on line 425.
LaTeX info: Defining document command \aliasfontfeature
(LaTeX) with arg. spec. 'mm' on line 427.
LaTeX info: Defining document command \aliasfontfeatureoption
(LaTeX) with arg. spec. 'mmm' on line 430.
LaTeX info: Defining document command \newfontscript
(LaTeX) with arg. spec. 'mm' on line 435.
LaTeX info: Defining document command \newfontlanguage
(LaTeX) with arg. spec. 'mm' on line 457.
LaTeX info: Defining document command \DeclareFontsExtensions
(LaTeX) with arg. spec. 'm' on line 474.
\c@fontspec_tmp_int=\count169
LaTeX Info: Redefining \itshape on input line 2105.
LaTeX Info: Redefining \slshape on input line 2109.
LaTeX Info: Redefining \scshape on input line 2113.
LaTeX Info: Redefining \upshape on input line 2117.
("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec.cfg"))
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\color.sty"
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\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.
("C:\Program Files\MiKTeX 2.9\tex\xelatex\xetex-def\xetex.def"
File: xetex.def 2009/11/22 v0.94 LaTeX color/graphics driver for XeTeX
(RRM/JK)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\dvipsnam.def"
File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
\g_fontspec_family_Linux Libertine O_int=\count170
fontspec info: Defining font family 'LinuxLibertineO(0)' for font
'Linux Liber
tine O' with options [Mapping=tex-text,Ligatures={Common},
Numbers={OldStyle}].
\g_fontspec_LinuxLibertineO(0)_prop=\toks37
fontspec info: Defining shape 'normal' with NFSS spec.:
(fontspec) <->"Linux Libertine O/
ICU:script=latn;language=DFLT;mapping=tex-tex
t;+liga;+onum;"
fontspec info: Defining shape 'small caps' with NFSS spec.:
(fontspec) <->"Linux Libertine O/
ICU:script=latn;language=DFLT;mapping=tex-tex
t;+liga;+onum;+smcp;"
fontspec info: Defining shape 'bold' with NFSS spec.:
(fontspec) <->"Linux Libertine O/B/
ICU:script=latn;language=DFLT;mapping=tex-t
ext;+liga;+onum;"
fontspec info: Defining shape 'bold small caps' with NFSS spec.:
(fontspec) <->"Linux Libertine O/B/
ICU:script=latn;language=DFLT;mapping=tex-t
ext;+liga;+onum;+smcp;"
fontspec info: Defining shape 'italic' with NFSS spec.:
(fontspec) <->"Linux Libertine O/I/
ICU:script=latn;language=DFLT;mapping=tex-t
ext;+liga;+onum;"
fontspec info: Defining shape 'italic small caps' with NFSS spec.:
(fontspec) <->"Linux Libertine O/I/
ICU:script=latn;language=DFLT;mapping=tex-t
ext;+liga;+onum;+smcp;"
fontspec info: Defining shape 'bold italic' with NFSS spec.:
(fontspec) <->"Linux Libertine O/BI/
ICU:script=latn;language=DFLT;mapping=tex-
text;+liga;+onum;"
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\hyperref.sty"
Package: hyperref 2011/03/09 v6.82d Hypertext links for LaTeX
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty"
Package: ltxcmds 2010/04/26 v1.7 LaTeX kernel commands for general use
(HO)
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2010/01/28 v2.1 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode not detected.
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdftexcmds.sty"
Package: pdftexcmds 2010/04/01 v0.9 Utility functions of pdfTeX for
LuaTeX (HO)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty"
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/message (HO)
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty"
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
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.
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\kvsetkeys.sty"
Package: kvsetkeys 2010/03/01 v1.9 Key value parser (HO)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty"
Package: etexcmds 2010/01/28 v1.3 Prefix for e-TeX command names (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.
))
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdfescape.sty"
Package: pdfescape 2010/03/01 v1.9 Provides hex, PDF name and string
conversion
s (HO)
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty"
Package: ifvtex 2010/03/01 v1.5 Switches for detecting VTeX and its
modes (HO)
Package ifvtex Info: VTeX not detected.
)
("C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty"
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\hycolor.sty"
Package: hycolor 2009/12/12 v1.6 Color options of hyperref/bookmark
(HO)
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\xcolor-patch.sty"
Package: xcolor-patch 2009/12/12 xcolor patch
))
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\letltxmacro.sty"
Package: letltxmacro 2008/06/24 v1.3 Let assignment for LaTeX macros
(HO)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty"
Package: kvoptions 2010/02/22 v3.7 Keyval support for LaTeX options
(HO)
)
\@linkdim=\dimen112
\Hy@linkcounter=\count171
\Hy@pagecounter=\count172
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\pd1enc.def"
File: pd1enc.def 2011/03/09 v6.82d Hyperref: PDFDocEncoding definition
(HO)
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\intcalc.sty"
Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO)
)
\Hy@SavedSpaceFactor=\count173
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\hyperref.cfg"
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)
Package hyperref Info: Option `unicode' set `true' on input line 3921.
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\puenc.def"
File: puenc.def 2011/03/09 v6.82d Hyperref: PDF Unicode definition
(HO)
)
Package hyperref Info: Option `bookmarks' set `true' on input line
3921.
Package hyperref Info: Option `colorlinks' set `true' on input line
3921.
Package hyperref Info: Option `breaklinks' set `true' on input line
3921.
Package hyperref Info: Hyper figures OFF on input line 4025.
Package hyperref Info: Link nesting OFF on input line 4030.
Package hyperref Info: Hyper index ON on input line 4033.
Package hyperref Info: Plain pages OFF on input line 4040.
Package hyperref Info: Backreferencing OFF on input line 4045.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4263.
\c@Hy@tempcnt=\count174
("C:\Program Files\MiKTeX 2.9\tex\xelatex\xetexurl\url.sty"
\Urlmuskip=\muskip10
Package: url 2004/03/15 ver 3.1 Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 4616.
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\bitset.sty"
Package: bitset 2007/09/28 v1.0 Data type bit set (HO)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\bigintcalc.sty"
Package: bigintcalc 2007/11/11 v1.1 Expandable big integer
calculations (HO)
))
\Fld@menulength=\count175
\Field@Width=\dimen113
\Fld@charsize=\dimen114
Package hyperref Info: Hyper figures OFF on input line 5700.
Package hyperref Info: Link nesting OFF on input line 5705.
Package hyperref Info: Hyper index ON on input line 5708.
Package hyperref Info: backreferencing OFF on input line 5715.
Package hyperref Info: Link coloring ON on input line 5718.
Package hyperref Info: Link coloring with OCG OFF on input line 5725.
Package hyperref Info: PDF/A mode OFF on input line 5730.
LaTeX Info: Redefining \ref on input line 5770.
LaTeX Info: Redefining \pageref on input line 5774.
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\atbegshi.sty"
Package: atbegshi 2010/03/25 v1.12 At begin shipout hook (HO)
)
\Hy@abspage=\count176
\c@Item=\count177
\c@Hfootnote=\count178
)
Package hyperref Message: Driver (autodetected): hxetex.
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\hxetex.def"
File: hxetex.def 2011/03/09 v6.82d Hyperref driver for XeTeX
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\stringenc.sty"
Package: stringenc 2010/03/01 v1.8 Converts strings between encodings
(HO)
)
\pdfm@box=\box27
\c@Hy@AnnotLevel=\count179
\HyField@AnnotCount=\count180
\Fld@listcount=\count181
\c@bookmark@seq@number=\count182
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\rerunfilecheck.sty"
Package: rerunfilecheck 2010/03/16 v1.6 Rerun checks for auxiliary
files (HO)
Package rerunfilecheck Info: Feature \pdfmdfivesum is not available
(rerunfilecheck) (e.g. pdfTeX or LuaTeX with package
`pdftexcmds').
(rerunfilecheck) Therefore file contents cannot be checked
efficien
tly
(rerunfilecheck) and the loading of the package is
aborted.
)
\Hy@SectionHShift=\skip52
)
(D:\Desktop\debug\groups.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line
10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line
10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line
10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line
10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for EU1/lmr/m/n on input line
10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line
10.
LaTeX Font Info: ... okay on input line 10.
LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 10.
LaTeX Font Info: ... okay on input line 10.
fontspec info: 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 10.
LaTeX Font Info: Redeclaring math accent \acute on input line 10.
LaTeX Font Info: Redeclaring math accent \grave on input line 10.
LaTeX Font Info: Redeclaring math accent \ddot on input line 10.
LaTeX Font Info: Redeclaring math accent \tilde on input line 10.
LaTeX Font Info: Redeclaring math accent \bar on input line 10.
LaTeX Font Info: Redeclaring math accent \breve on input line 10.
LaTeX Font Info: Redeclaring math accent \check on input line 10.
LaTeX Font Info: Redeclaring math accent \hat on input line 10.
LaTeX Font Info: Redeclaring math accent \dot on input line 10.
LaTeX Font Info: Redeclaring math accent \mathring on input line
10.
LaTeX Font Info: Redeclaring math symbol \colon on input line 10.
LaTeX Font Info: Redeclaring math symbol \Gamma on input line 10.
LaTeX Font Info: Redeclaring math symbol \Delta on input line 10.
LaTeX Font Info: Redeclaring math symbol \Theta on input line 10.
LaTeX Font Info: Redeclaring math symbol \Lambda on input line 10.
LaTeX Font Info: Redeclaring math symbol \Xi on input line 10.
LaTeX Font Info: Redeclaring math symbol \Pi on input line 10.
LaTeX Font Info: Redeclaring math symbol \Sigma on input line 10.
LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 10.
LaTeX Font Info: Redeclaring math symbol \Phi on input line 10.
LaTeX Font Info: Redeclaring math symbol \Psi on input line 10.
LaTeX Font Info: Redeclaring math symbol \Omega on input line 10.
LaTeX Font Info: Redeclaring math symbol \mathdollar on input line
10.
LaTeX Font Info: Redeclaring symbol font `operators' on input line
10.
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol
font
(Font) `operators' in the math version `normal' on input
line 10.
LaTeX Font Info: Overwriting symbol font `operators' in version
`normal'
(Font) OT1/cmr/m/n --> EU1/LinuxLibertineO(0)/m/n on
input lin
e 10.
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol
font
(Font) `operators' in the math version `bold' on input
line 10.
LaTeX Font Info: Overwriting symbol font `operators' in version
`bold'
(Font) OT1/cmr/bx/n --> EU1/LinuxLibertineO(0)/m/n on
input li
ne 10.
LaTeX Font Info: Overwriting symbol font `operators' in version
`normal'
(Font) EU1/LinuxLibertineO(0)/m/n --> EU1/
LinuxLibertineO(0)/m
/n on input line 10.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version
`normal'
(Font) EU1/LinuxLibertineO(0)/m/n --> EU1/
LinuxLibertineO(0)/m
/n on input line 10.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version
`normal'
(Font) OT1/cmr/m/it --> EU1/LinuxLibertineO(0)/m/it
on input l
ine 10.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version
`normal'
(Font) OT1/cmr/bx/n --> EU1/LinuxLibertineO(0)/bx/n
on input l
ine 10.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version
`normal'
(Font) OT1/cmss/m/n --> EU1/lmss/m/n on input line
10.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version
`normal'
(Font) OT1/cmtt/m/n --> EU1/lmtt/m/n on input line
10.
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 10.
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 10.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version
`bold'
(Font) OT1/cmr/bx/it --> EU1/LinuxLibertineO(0)/bx/it
on input
line 10.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version
`bold'
(Font) OT1/cmss/bx/n --> EU1/lmss/bx/n on input line
10.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version
`bold'
(Font) OT1/cmtt/m/n --> EU1/lmtt/bx/n on input line
10.
\AtBeginShipoutBox=\box28
Package hyperref Info: Link coloring ON on input line 10.
("C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\nameref.sty"
Package: nameref 2010/04/30 v2.40 Cross-referencing by name of section
("C:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\refcount.sty"
Package: refcount 2008/08/11 v3.1 Data extraction from references (HO)
)
("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\gettitlestring.sty"
Package: gettitlestring 2009/12/18 v1.3 Cleanup title references (HO)
)
\c@section@level=\count183
)
LaTeX Info: Redefining \ref on input line 10.
LaTeX Info: Redefining \pageref on input line 10.
LaTeX Info: Redefining \nameref on input line 10.
(D:\Desktop\debug\groups.out) (D:\Desktop\debug\groups.out)
\@outlinefile=\write3
[1
]
(D:\Desktop\debug\groups.aux) )
Here is how much of TeX's memory you used:
15393 strings out of 429292
252992 string characters out of 3170412
344783 words of memory out of 3000000
18487 multiletter control sequences out of 15000+200000
4002 words of font info for 23 fonts, out of 3000000 for 9000
670 hyphenation exceptions out of 8191
39i,5n,78p,531b,319s stack positions out of 5000i,500n,10000p,200000b,
50000s
Output written on groups.pdf (1 page).
Never mind, after spending 4 hours I tracked down the problem to MikTex buggy
2.9 installation. Replaced it with MikTex 2.8 works as magic (as before).
> Almost there (thanks for that), now warnings and errors are gone, but
> the output produced by a variation of the above code:
>
> \documentclass[12pt, a4paper]{article}
> \usepackage{fontspec}
> \usepackage[usenames,dvipsnames]{color}
> \defaultfontfeatures{Mapping=tex-text}
> \setromanfont[Ligatures={Common}, Numbers={OldStyle}]{Linux Libertine
> O}
> \usepackage[unicode, bookmarks, colorlinks, breaklinks,pdftitle={Haha}]
> {hyperref}
> \begin{document}
> Some text 124 right now...
> \end{document}
>
> Produces
>
> Some text right now‘
>
> somehow the numerals got garbled up. Any ideas???
Works fine for me (current miktex 2.9). Probably a problem with the
font. My version is C:/WINDOWS/Fonts/LinLibertine_Re-4.7.5.otf.
Use \XeTeXtracingfonts=1 and call xelatex with the option
--output-driver="xdvipdfmx -vv" to find out which fonts and their
version it uses.
> The problem seems to have been related to "Failed
> to convert input string to UTF16" warning.
This warning is mentioned in the readme.pdf of hyperref. You can
avoid it by using pdfencoding=auto which (regardless to the wording
in readme.pdf) seems to be not the default with xelatex.
--
Ulrike Fischer
> Works fine for me (current miktex 2.9). Probably a problem with the
> font. My version is C:/WINDOWS/Fonts/LinLibertine_Re-4.7.5.otf.
>
> Use \XeTeXtracingfonts=1 and call xelatex with the option
> --output-driver="xdvipdfmx -vv" to find out which fonts and their
> version it uses.
>
>> The problem seems to have been related to "Failed
>> to convert input string to UTF16" warning.
> This warning is mentioned in the readme.pdf of hyperref. You can avoid
> it by using pdfencoding=auto which (regardless to the wording in
> readme.pdf) seems to be not the default with xelatex.
Great, thank you! :)