LaTeX и cp1251 (Помогите разбраться с LaTeX)
Модератор: Модераторы разделов
-
AleksK
- Сообщения: 35
- ОС: WinXP, Ubuntu 8.04.1
LaTeX и cp1251
Система Mandriva 2008. При компиляции русских текстов в виндовой кодировке LaTeX выдаёт кучу ошибок но всё вроде компилируется. Что с этм можно сделать?
-
Uncle_Theodore
- Сообщения: 3339
- ОС: Slackware 12.2, ArchLinux 64
-
Фантом
- Сообщения: 463
- ОС: openSUSE
-
AleksK
- Сообщения: 35
- ОС: WinXP, Ubuntu 8.04.1
Re: LaTeX и cp1251
Вот примерно список ошибок:
./Каверин07_3.tex:66: Foreign command \over;(amsmath) \frac or \genfrac should be used instead(amsmath) on input line 66. Foreign command \over;(amsmath) \frac or \genfrac should be used instead(amsmath)
./Каверин07_3.tex:119:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. �� ����������� $S^+_1$ � �����������^^G
./Каверин07_3.tex:129: Command \cyrp invalid in math mode on input line 129.
./Каверин07_3.tex:129: Command \cyrr invalid in math mode on input line 129.
./Каверин07_3.tex:129: Command \cyri invalid in math mode on input line 129.
./Каверин07_3.tex:133:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. $Q{\in}\overline{S^+_1}$ ��^^G
./Каверин07_3.tex:202:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. {\sl T���������v �����^^G
./Каверин07_3.tex:234:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. =�� ����������� �����^^G
./Каверин07_3.tex:302:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. x_{n+1},\,\ldots\,,x_N)$. ������� ���^^G
./Каверин07_3.tex:302:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ...,,x_N)$. ������� ���^^G����, �� �����^^G
./Каверин07_3.tex:303:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ��������v� $t_1,...,t_n$ � ��������^^G
./Каверин07_3.tex:304:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ...�� $(|x|,0,...,0)$, �������� � �����^^G
./Каверин07_3.tex:299:Underfull \hbox (badness 1281) in paragraph
./Каверин07_3.tex:358:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ��������� $\varphi_p$ � �����^^G
./Каверин07_3.tex:407:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. T � � � � � � 1.7.8 (����^^G
Каверин07_3.tex:411:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. �����^^G
Каверин07_3.tex:416:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ...������� � ������ ���������, ����������^^G
Каверин07_3.tex:451:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ...��� �������-����������-�������� � ����^^G
В преамбуле \usepackage[cp1251]{inputenc} есть.
./Каверин07_3.tex:66: Foreign command \over;(amsmath) \frac or \genfrac should be used instead(amsmath) on input line 66. Foreign command \over;(amsmath) \frac or \genfrac should be used instead(amsmath)
./Каверин07_3.tex:119:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. �� ����������� $S^+_1$ � �����������^^G
./Каверин07_3.tex:129: Command \cyrp invalid in math mode on input line 129.
./Каверин07_3.tex:129: Command \cyrr invalid in math mode on input line 129.
./Каверин07_3.tex:129: Command \cyri invalid in math mode on input line 129.
./Каверин07_3.tex:133:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. $Q{\in}\overline{S^+_1}$ ��^^G
./Каверин07_3.tex:202:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. {\sl T���������v �����^^G
./Каверин07_3.tex:234:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. =�� ����������� �����^^G
./Каверин07_3.tex:302:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. x_{n+1},\,\ldots\,,x_N)$. ������� ���^^G
./Каверин07_3.tex:302:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ...,,x_N)$. ������� ���^^G����, �� �����^^G
./Каверин07_3.tex:303:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ��������v� $t_1,...,t_n$ � ��������^^G
./Каверин07_3.tex:304:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ...�� $(|x|,0,...,0)$, �������� � �����^^G
./Каверин07_3.tex:299:Underfull \hbox (badness 1281) in paragraph
./Каверин07_3.tex:358:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ��������� $\varphi_p$ � �����^^G
./Каверин07_3.tex:407:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. T � � � � � � 1.7.8 (����^^G
Каверин07_3.tex:411:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. �����^^G
Каверин07_3.tex:416:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ...������� � ������ ���������, ����������^^G
Каверин07_3.tex:451:Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `cp1251'. ...��� �������-����������-�������� � ����^^G
В преамбуле \usepackage[cp1251]{inputenc} есть.
-
Фантом
- Сообщения: 463
- ОС: openSUSE
Re: LaTeX и cp1251
Такое в любом тексте или в данном конкретном? Если второе - можно посмотреть исходник?
Пока напрашиваются два варианта:
1) Где-то не поставлен (или поставлен лишний) $, и ошибки вызывает кириллица в математической моде.
2) Текст все-таки набран не в cp1251, а в какой-то другой кодировке. Наиболее вероятно, что в utf-8.
Пока напрашиваются два варианта:
1) Где-то не поставлен (или поставлен лишний) $, и ошибки вызывает кириллица в математической моде.
2) Текст все-таки набран не в cp1251, а в какой-то другой кодировке. Наиболее вероятно, что в utf-8.
-
AleksK
- Сообщения: 35
- ОС: WinXP, Ubuntu 8.04.1
Re: LaTeX и cp1251
Я тут поэкспериментировал и склоняюсь ко второму варианту.
А возможно что текст кусками в разных кодировках?
А возможно что текст кусками в разных кодировках?
-
Фантом
- Сообщения: 463
- ОС: openSUSE
Re: LaTeX и cp1251
Запихать в один файл несколько кусков в разных кодировках технически возможно (и даже несложно). Могло ли это случиться в действительности - тебе лучше знать.