2014 dxdy logo

Научный форум dxdy

Математика, Физика, Computer Science, Machine Learning, LaTeX, Механика и Техника, Химия,
Биология и Медицина, Экономика и Финансовая Математика, Гуманитарные науки




 
 Траблы с пакетом color.
Сообщение04.12.2010, 20:00 
Аватара пользователя
Возникла небольшая проблема при использовании пакета color. Не подскажете в чём может быть дело?

PDFLaTeX не может создать pdf-ку. Код такой, например:
Цитата:
\documentclass[11pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}

\usepackage{color}

\begin{document}
text
\end{document}

Использую эту сборку:
http://rutracker.org/forum/viewtopic.php?t=3205070

 
 
 
 Re: Траблы с пакетом color.
Сообщение04.12.2010, 21:35 
Аватара пользователя
Вот лог полностью:

[syntax]
This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9) (preloaded format=pdflatex 2010.10.13) 4 DEC 2010 21:29
entering extended mode
**cool_problems.tex
(D:\t\cool_problems.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.
(C:\_TeX_\texmf\tex\latex\base\article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(C:\_TeX_\texmf\tex\latex\base\size11.clo
File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(C:\_TeX_\texmf\tex\latex\base\inputenc.sty
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15

(C:\_TeX_\texmf\tex\latex\base\utf8.def
File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc
Now handling font encoding OML ...
... no UTF-8 mapping file for font encoding OML
Now handling font encoding T1 ...
... processing UTF-8 mapping file for font encoding T1

(C:\_TeX_\texmf\tex\latex\base\t1enc.dfu
File: t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
defining Unicode char U+00A1 (decimal 161)
простыню дефайнов опускаю
)
Now handling font encoding OT1 ...
... processing UTF-8 mapping file for font encoding OT1

(C:\_TeX_\texmf\tex\latex\base\ot1enc.dfu
File: ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
defining Unicode char U+00A1 (decimal 161)
defining Unicode char U+00A3 (decimal 163)
defining Unicode char U+00B8 (decimal 184)
defining Unicode char U+00BF (decimal 191)
defining Unicode char U+00C5 (decimal 197)
defining Unicode char U+00C6 (decimal 198)
defining Unicode char U+00D8 (decimal 216)
defining Unicode char U+00DF (decimal 223)
defining Unicode char U+00E6 (decimal 230)
defining Unicode char U+00EC (decimal 236)
defining Unicode char U+00ED (decimal 237)
defining Unicode char U+00EE (decimal 238)
defining Unicode char U+00EF (decimal 239)
defining Unicode char U+00F8 (decimal 248)
defining Unicode char U+0131 (decimal 305)
defining Unicode char U+0141 (decimal 321)
defining Unicode char U+0142 (decimal 322)
defining Unicode char U+0152 (decimal 338)
defining Unicode char U+0153 (decimal 339)
defining Unicode char U+2013 (decimal 8211)
defining Unicode char U+2014 (decimal 8212)
defining Unicode char U+2018 (decimal 8216)
defining Unicode char U+2019 (decimal 8217)
defining Unicode char U+201C (decimal 8220)
defining Unicode char U+201D (decimal 8221)
)
Now handling font encoding OMS ...
... processing UTF-8 mapping file for font encoding OMS

(C:\_TeX_\texmf\tex\latex\base\omsenc.dfu
File: omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
defining Unicode char U+00A7 (decimal 167)
defining Unicode char U+00B6 (decimal 182)
defining Unicode char U+00B7 (decimal 183)
defining Unicode char U+2020 (decimal 8224)
defining Unicode char U+2021 (decimal 8225)
defining Unicode char U+2022 (decimal 8226)
)
Now handling font encoding OMX ...
... no UTF-8 mapping file for font encoding OMX
Now handling font encoding U ...
... no UTF-8 mapping file for font encoding U
defining Unicode char U+00A9 (decimal 169)
defining Unicode char U+00AA (decimal 170)
defining Unicode char U+00AE (decimal 174)
defining Unicode char U+00BA (decimal 186)
defining Unicode char U+02C6 (decimal 710)
defining Unicode char U+02DC (decimal 732)
defining Unicode char U+200C (decimal 8204)
defining Unicode char U+2026 (decimal 8230)
defining Unicode char U+2122 (decimal 8482)
defining Unicode char U+2423 (decimal 9251)
))
(C:\_TeX_\texmf\tex\generic\babel\babel.sty
Package: babel 2008/07/06 v3.8l The Babel package

*************************************
* Local config file bblopts.cfg used
*
(C:\_TeX_\texmf\tex\latex\00miktex\bblopts.cfg
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
(C:\_TeX_\texmf\tex\generic\babel\russianb.ldf
Language: russianb 2008/03/21 v1.1r Russian support from the babel system

(C:\_TeX_\texmf\tex\generic\babel\babel.def
File: babel.def 2008/07/06 v3.8l Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
)
(C:\_TeX_\texmf\tex\latex\cyrillic\t2aenc.def
File: t2aenc.def 2005/09/27 v1.0i Cyrillic encoding definition file
Now handling font encoding T2A ...
... processing UTF-8 mapping file for font encoding T2A

(C:\_TeX_\texmf\tex\latex\base\t2aenc.dfu
File: t2aenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
defining Unicode char U+00A4 (decimal 164)
defining Unicode char U+00A7 (decimal 167)
defining Unicode char U+00AB (decimal 171)

простыню дефайнов опускаю
))
Package babel Info: Making " an active character on input line 199.
))
(C:\_TeX_\texmf\tex\latex\graphics\color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)

(C:\_TeX_\texmf\tex\latex\00miktex\color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: pdftex.def on input line 130.

(C:\_TeX_\texmf\tex\latex\pdftex-def\pdftex.def
File: pdftex.def 2010/09/14 v0.05b Graphics/color for pdfTeX
\Gread@gobject=\count88
)) (D:\t\cool_problems.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for T2A/cmr/m/n on input line 8.
LaTeX Font Info: Try loading font information for T2A+cmr on input line 8.

(C:\_TeX_\texmf\tex\latex\cyrillic\t2acmr.fd
File: t2acmr.fd 2001/08/11 v1.0a Computer Modern Cyrillic font definitions
)
LaTeX Font Info: ... okay on input line 8.
[/syntax]
Да, dvi собирается.

 
 
 
 Re: Траблы с пакетом color.
Сообщение05.12.2010, 10:08 
Аватара пользователя
А
Код:
\usepackage[T1,T2A]{fontenc}
куда дели?

 
 
 
 Re: Траблы с пакетом color.
Сообщение05.12.2010, 16:00 
Аватара пользователя
.Serj.
Насколько я понял из поверхностного гугления, эта строчка нужна при проблемах с кириллицей. На будущее учту, но для текущего вопроса это неактуально.

 
 
 
 Re: Траблы с пакетом color.
Сообщение05.12.2010, 17:44 
Аватара пользователя
Причём, если в коде, приведённом выще, внутри \begin{document} / \end{document} писать любой бред, не могущий скомпилироваться, результат тот же - PDFLaTeX failed to create a pdf file.

 
 
 
 Re: Траблы с пакетом color.
Сообщение05.12.2010, 18:42 
А автору сборки с того торрент-трекера задали такой вопрос? Я думаю это проблема сборки.
И еще: если убрать \usepackage{color}, то все нормально?

 
 
 
 Re: Траблы с пакетом color.
Сообщение05.12.2010, 18:50 
Аватара пользователя
Delpiero,
Задал. Пока ответа не получил. Надеялся, может кто здесь юзал нечто подобное.

Если \usepackage{color} убрать, всё норм. Более того, если писать \usepackage[dvips]{color} то pdf собирается, но текст внутри \textcolor{red}{red text} чёрно-белый.

 
 
 
 Re: Траблы с пакетом color.
Сообщение05.12.2010, 19:09 
Может попробовать обновить этот пакет, то есть установить по новому, так как причина может быть в отсутствии необходимых вспомогательных файлов http://tug.ctan.org/tex-archive/macros/latex/required/graphics/?...

 
 
 
 Re: Траблы с пакетом color.
Сообщение05.12.2010, 19:50 
Аватара пользователя
Да, судя по последним строчкам лога
Цитата:
C:\_TeX_\texmf\tex\latex\cyrillic\t2acmr.fd)pdflatex.exe: Not a package repository.
pdflatex.exe: Data: F:\___DISTIBUTIVES___\MikTeX 2.9 setup

MiKTeX Package Manager пытается загрузить недостающие пакеты, но обламывается, т.к. в этой сборке прописано грузить с директории, которой у меня нет. И, видимо, всё будет хорошо, если научить его грузить их из инета.

Если в окне Change Package Ropository просто указать грузить пакеты из инета, выдаёт:

Message: Host not found
Data: get host by name failed in tcp_connect()

Какой адрес прокси-сервера надо указать в Connection Settings?

С приведённой ссылкой я не разобрался. Следуя readme пишу latex graphics.ins. На что latex выдаёт, что не может найти такой файл.

 
 
 [ Сообщений: 9 ] 


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group