Package: doxygen Version: 1.8.7-1 Severity: serious Generation documentation from the doxygen generated latex source fails with:
\begin{figure}[H] fails with: LaTeX Error: Unknown float option `H' See e.g.: http://aws-logs.debian.net/ftbfs-logs/2014/06/01/globus-common_14.10-2_unstable.log http://aws-logs.debian.net/ftbfs-logs/2014/06/01/globus-ftp-client_7.6-1_unstable.log The reason for this is an updated version of the fixltx2e package in the latest texlive version that adds syntax checking to the float command. This check is confused if the float package is included before the fixltx2e package, as is done in the doxygen generated sources. Fix available as a github pull request: https://github.com/doxygen/doxygen/pull/178 Also attached as a patch.
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 40ad877..10e50de 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -290,6 +290,7 @@ static void writeDefaultHeaderPart1(FTextStream &t) // Load required packages t << "% Packages required by doxygen\n" + "\\usepackage{fixltx2e}\n" // for \textsubscript "\\usepackage{calc}\n" "\\usepackage{doxygen}\n" "\\usepackage{graphicx}\n" @@ -297,7 +298,6 @@ static void writeDefaultHeaderPart1(FTextStream &t) "\\usepackage{makeidx}\n" "\\usepackage{multicol}\n" "\\usepackage{multirow}\n" - "\\usepackage{fixltx2e}\n" // for \textsubscript "\\PassOptionsToPackage{warn}{textcomp}\n" "\\usepackage{textcomp}\n" "\\usepackage[nointegrals]{wasysym}\n"
signature.asc
Description: This is a digitally signed message part