Package: doxygen Version: 1.7.3-4 Severity: normal Tags: experimental patch
Generating documentation for package ppl in experimental (0.11-3) fails with "undefined command \rowcolors". The generated doxygen.sty contains \RequirePackage{xcolor} which lacks the "table" option. \rowcolors will only be defined if this option is present. This error will probably not show until the documentation generates some tables. Patch attached. Note that latexgen.cpp emits a bunch \usepackage statements in another function which are similar to these \RequirePackage statements. The latter DO specify the "table" option. -- System Information: Debian Release: 6.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-rc2 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages doxygen depends on: ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libgcc1 1:4.6-20110125-1 GCC support library ii libstdc++6 4.6-20110125-1 The GNU Standard C++ Library v3 Versions of packages doxygen recommends: ii doxygen-latex 1.7.3-4 Documentation system for C, C++, J Versions of packages doxygen suggests: ii doxygen-doc 1.7.3-4 Documentation for doxygen ii doxygen-gui 1.7.3-4 GUI configuration tool for doxygen ii graphviz 2.26.3-5 rich set of graph drawing tools -- no debconf information
--- doxygen-1.7.3-ORIG/src/latexgen.cpp 2011-01-30 23:11:50.696072904 +0100 +++ doxygen-1.7.3/src/latexgen.cpp 2011-01-30 23:12:20.331268173 +0100 @@ -317,7 +317,7 @@ "\\RequirePackage{longtable}\n" "\\RequirePackage{verbatim}\n" "\\RequirePackage{ifthen}\n" - "\\RequirePackage{xcolor}\n\n"; + "\\RequirePackage[table]{xcolor}\n\n"; t << "% Use helvetica font instead of times roman\n" "\\RequirePackage{helvet}\n"