Bug#790442: FTBFS with new LaTeX: Unknown float option `H'.
Martin Michlmayr
tbm at hp.com
Mon Jun 29 15:32:43 UTC 2015
Package: libtheora
Version: 1.1.1+dfsg.1-6
Severity: serious
Tags: patch
libtheora fails to build because of LaTeX errors. (Note that a new
texlive entered unstable recently.)
You're using the "H" float option. According to
https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions you
need \usepackage{float} for that, but it seems simpler solution is to
replace it with "!h".
Below is a patch that makes the package compile. However, the options
Htbp (or now !htbp) seem very odd to me. Reading
https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
h means exactly h whereas t means top and b bottom and p to put it on
a special page -- which one do you want?
Martin
> sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c2n1.hlinux.usa.hp.com
...
> ! LaTeX Error: Unknown float option `H'.
> See the LaTeX manual or LaTeX Companion for explanation.
...
> Makefile:696: recipe for target 'Theora.pdf' failed
--
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard
-------------- next part --------------
--- libtheora-1.1.1+dfsg.1~/doc/spec/spec.tex 2015-06-29 15:20:58.993562759 +0000
+++ libtheora-1.1.1+dfsg.1/doc/spec/spec.tex 2015-06-29 15:23:17.261565620 +0000
@@ -1949,7 +1950,7 @@
\section{Common Header Decode}
\label{sub:common-header}
-\begin{figure}[Htbp]
+\begin{figure}[!htbp]
\begin{center}
\begin{verbatim}
0 1 2 3
@@ -2024,7 +2025,7 @@
\section{Identification Header Decode}
\label{sec:idheader}
-\begin{figure}[Htbp]
+\begin{figure}[!htbp]
\begin{center}
\begin{verbatim}
0 1 2 3
More information about the pkg-xiph-maint
mailing list