Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TeTeX] unicode problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ross_MoHaX
n00b
n00b


Joined: 13 Feb 2005
Posts: 42

PostPosted: Tue Feb 21, 2006 8:59 am    Post subject: [TeTeX] unicode problem Reply with quote

I've emrged tetex and latex-unicode packages. Then I created an *.tex file (in UTF-8 encoding):
Code:
\documentclass[10pt,a4paper]{article}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\author{Иванов Максим}
\title{Unicode test}
\begin{document}
Test of unicode
Тест уникода!! %Some russian text here
\end{document}


When I try to make pdf file with pdflatex I get these errors:
Code:
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
entering extended mode
(./diploma.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/latex-unicode/ucs.sty
(/usr/share/texmf/tex/latex/latex-unicode/uni-global.def))
(/usr/share/texmf/tex/latex/base/inputenc.sty
(/usr/share/texmf/tex/latex/latex-unicode/utf8x.def)) (./diploma.aux)
(/usr/share/texmf/tex/latex/latex-unicode/ucsencs.def)
(/usr/share/texmf/tex/latex/latex-unicode/uni-4.def)
! Undefined control sequence.
\u-default-1058 #1->\CYRT

last two lines repeated at every symbol of russian text.

If I remove russian text everythig goes fine!

Is it possible to get LaTeX work with utf-8 encoding?
Back to top
View user's profile Send private message
ross_MoHaX
n00b
n00b


Joined: 13 Feb 2005
Posts: 42

PostPosted: Wed Feb 22, 2006 10:08 am    Post subject: Reply with quote

anyone? any Ideas?
Back to top
View user's profile Send private message
big_gie
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 158

PostPosted: Mon Nov 20, 2006 7:29 pm    Post subject: Re: [TeTeX] unicode problem Reply with quote

ross_MoHaX wrote:
Is it possible to get LaTeX work with utf-8 encoding?

Yes it is.

First, download unicode.tgz from http://www.unruh.de/DniQ/latex/unicode/

Second, extract and put in /usr/share/texmf/tex/latex/unicode
Third, run (as root):
Code:
# texhash


And finaly, put this at the begining of your tex file :
Code:
\usepackage{ucs}
\usepackage[utf8x]{inputenc}


http://www.unruh.de/DniQ/latex/unicode/
http://www-lipn.univ-paris13.fr/~audibert/pages/trucs_astuces/latex.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum