Package: latex-xcolor
Version: 2.00-1

When using the xcolor package, latex complains that it cannot find the file 
"svgnam.def", which contains the predefined named SVG colors.

Here is the error message when trying to run latex on an input file 
(xcolor_test.tex, see attachment) which uses the predefined svgnames:

[EMAIL PROTECTED] latex xcolor_test.tex
This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5)
entering extended mode
(./xcolor_test.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, catalan, croatian, czech, danish, dutch, finnish, greek, iceland
ic, irish, italian, latin, magyar, norsk, norsk, portuges, romanian, russian, s
lovak, slovene, spanish, swedish, turkish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
(/usr/share/texmf/tex/latex/config/color.cfg)
(/usr/share/texmf/tex/latex/graphics/dvips.def)

! LaTeX Error: File `svgnam.def' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: def)

Enter file name: /tmp/xcolor-2.00/svgnam.def
(/tmp/xcolor-2.00/svgnam.def)) (./xcolor_test.aux) [1] (./xcolor_test.aux) )
Output written on xcolor_test.dvi (1 page, 472 bytes).
Transcript written on xcolor_test.log.



Including the generated file "svgnam.def" in the package should fix the bug.
This is how I fixed the problem. Downloaded the source package, ran "latex 
xcolor.ins", copied svgnam.def to /usr/share/texmf/tex/latex/xcolor, and ran 
texhash.



Isaac Sijaranamual

Attachment: xcolor_test.tex
Description: TeX document

Reply via email to