Какая-то хрень с latex! Пытаюсь создать протой pdf-файл из такого tex'a:
\documentclass{article}
\usepackage[T2A]{fontenc}
\usepackage[koi8-r]{inputenc}
\usepackage[russian]{babel}
\title{Тест LaTEX}
\author{Автор и прочее}
\begin{document}
\maketitle
Проба пера\ldots
\end{document}
делаю $ pdflatex test.tex
на выходе получаю test.aux test.log и test.pdf.. Вроде все ок..
Но русский отображается странными кракозябрами, хотя дата (\maketitle) отображается нормально (пишет 14 мая 2006г.) Не пойму в чем трабла, вроде шрифты установлены, кодировка настроена!
$ latex --version
TeX (Web2C 7.4.5) 3.14159
kpathsea version 3.4.5
Copyright (C) 1997-2003 D.E. Knuth.
Kpathsea is copyright (C) 1997-2003 Free Software Foundation, Inc.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
Kpathsea written by Karl Berry and others.
В логах пишет:
! Package inputenc Error: Keyboard character used is undefined
(inputenc) in inputencoding `koi8-r'.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.8 \maketitle
You need to provide a definition with \DeclareInputText
or \DeclareInputMath before using this key.
что за \DeclareInputText ??? Как решить эту проблему??
дистр gentoo
Спасибо.
Ответ на:
комментарий
от Begemoth
Ответ на:
комментарий
от anonymous
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Реренос строк в Latex (2006)
- Форум Настройка библиографии LaTeX (2015)
- Форум LaTeX и utf-8 (2006)
- Форум TeX русские команды (2010)
- Форум ubuntu, LATEX, Kile, utf8, а кирилица того! (2009)
- Форум [Latex][amsart]Проблемы с кириллицей в заголовке (2011)
- Форум [LaTeX][Calendar]Environment weekly undefined. (2011)
- Форум texlive-latex и русский язык (2008)
- Форум Ошибка при компиляции pdf в LaTeX mode emacs (2019)
- Форум LaTex. Руссификация. file `t2enc.def' not found (2017)