aclap-dev / vdhcoapp

Companion application for Video DownloadHelper browser add-on
GNU General Public License v2.0
1.72k stars 280 forks source link

LaTeX: Unknown float option `H'. #16

Closed ghost closed 6 years ago

ghost commented 6 years ago

On Ubuntu 17.10 build of theora fails with: LaTeX: Unknown float option `H'.

This is a known issue with a fix: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1350523.html

The diff from upstream: https://git.xiph.org/?p=theora.git;a=commitdiff;h=fbb275803696085225c310773474ef4dcf8a4528

That patch right here so you don't even have to click on a link:

diff --git a/doc/spec/spec.tex b/doc/spec/spec.tex
index 5cd0e59..2206e10 100644
--- a/doc/spec/spec.tex
+++ b/doc/spec/spec.tex
@@ -11,6 +11,7 @@
 \usepackage{longtable}
 \usepackage{ltablex}
 \usepackage{wrapfig}
+\usepackage{float}
 \usepackage[pdfpagemode=None,pdfstartview=FitH,pdfview=FitH,colorlinks=true]%
  {hyperref}

@@ -1959,7 +1960,7 @@ These are indicated as they appear in the sections below.
 \section{Common Header Decode}
 \label{sub:common-header}

-\begin{figure}[Htbp]
+\begin{figure}[H]
 \begin{center}
 \begin{verbatim}
   0                   1                   2                   3   
@@ -2034,7 +2035,7 @@ Packets with other header types (\hex{83}--\hex{FF}) are reserved and MUST be
 \section{Identification Header Decode}
 \label{sec:idheader}

-\begin{figure}[Htbp]
+\begin{figure}[H]
 \begin{center}
 \begin{verbatim}
   0                   1                   2                   3   
mi-g commented 6 years ago

This compiles for me on both Ubuntu 16.04 and 18.04 (ESR Ubuntu releases).