You right it works. And UTF8 works after I comment

\usepackage[utf8]{inputenc}

and add

\usepackage{fontspec}
\setsansfont{Arial}
\setromanfont{Arial}
\setmonofont{DejaVu Sans Mono}

to the end of preambule. 

Code litings are word-wraped after I \usepackage{fancyvrb} -- but syntax 
coloring stops to work then. I'm now asking asking for help at 
stackexchange<http://tex.stackexchange.com/questions/68287/commandchars-in-fancyvrb>.
 



On Tuesday, August 21, 2012 11:41:47 AM UTC+4, Pedro Kroger wrote:
>
> Hi,
>
> what packages are you using? I had this problem with xelatex:
>
> ! Undefined control sequence.
> l.5 \DeclareUnicodeCharacter
>                             {00A0}{\nobreakspace}
>
> but I solved it by setting 'utf8extra' to an empty string on my conf.py:
>
> latex_elements = {
>      'utf8extra': "",
> }
>
> Cheers,
>
> Pedro
>
> On Saturday, August 18, 2012 11:27:22 AM UTC-3, Boris Kheyfets wrote:
>>
>> Oh I did the right way. But xelatex complains at pygments:
>>
>> ! Package inputenc Error: Keyboard character used is undefined
>> (inputenc)                in inputencoding `utf8'.
>>
>> See the inputenc package documentation for explanation.
>> Type  H <return>  for immediate help.
>>  ...                                              
>>                                                   
>> l.337 ...ater{}\PYGZcb{} = \PYGZob{}«/»\PYGZcb{}
>>                                                   
>> ? 
>>
>> Do You think something can be done about it?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sphinx-dev/-/rcvrdVzOke4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to