Latex Output UTF8

Anonymous avatarAnonymous created an issue

Thanks, first of all for the great package.

However, I am having trouble getting a UTF8 document compiled in Latex. First of all Sphinx includes by default

\usepackage[utf8]{inputenc}

where, to my knowledge it is advisable to

\usepackage[utf8x]{inputenc}

At least this way I can get rid of some of the errors caused by unicode characters. Now, still a code fragment

.. code-block:: cpp

define { CAPITAL [ΆΈΉΊΌΎ-Ϋ] LOWERCASE [ά-ώ] NUMBER [0-9][0-9.,]+ }

is translated into latex-code as

\begin{Verbatim}[commandchars=@\[\]] define { CAPITAL @PYGZlb[]ΆΈΉΊΌΎ-Ϋ@PYGZrb[] LOWERCASE @PYGZlb[]ά-ώ@PYGZrb[] NUMBER @PYGZlb[]0-9@PYGZrb[]@PYGZlb[]0-9.,@PYGZrb[]+ } .....

which causes latex to complain:

(/usr/share/texmf/tex/latex/ucs/data/uni-3.def) ! Undefined control sequence. <argument> \textAlpha

l.3280 ...ITAL @PYGZlb[]ΆΈΉΊΌΎ-Ϋ@PYGZrb[]

And here is where I am lost. I have no clue how to fix that.

Best Regards

Frank

Comments (4)

  1. Anonymous

    No, putting utf8x helps to get things like the '>=' sign correct, but it is not enough.

    There is something weird going on.

    Best Regards

    Frank

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.