[code-saturne] 03/12: New patch pdflatex.patch
Gilles Filippini
pini at debian.org
Sat Jul 25 07:57:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
pini pushed a commit to branch master
in repository code-saturne.
commit 2aeb69ed3fbf8d7ee692c2bcb0796e31e16886ce
Author: Gilles Filippini <pini at debian.org>
Date: Fri Jul 3 14:11:02 2015 +0200
New patch pdflatex.patch
to fix invalid latex location specifiers in documentation.
---
debian/changelog | 2 +
debian/patches/pdflatex.patch | 110 ++++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 113 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 3b633f7..e9586e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
code-saturne (4.0.1+repack-1) UNRELEASED; urgency=medium
* New upstream release.
+ * New patch pdflatex.patch: fix invalid latex location specifiers in
+ documentation.
-- Gilles Filippini <pini at debian.org> Mon, 29 Jun 2015 23:28:01 +0200
diff --git a/debian/patches/pdflatex.patch b/debian/patches/pdflatex.patch
new file mode 100644
index 0000000..acb511f
--- /dev/null
+++ b/debian/patches/pdflatex.patch
@@ -0,0 +1,110 @@
+Description: Fix invalid location specifiers.
+ Location specifiers 'c' and 'H' produce the latex error
+ "Unknown float option". 'c' is an invalid location specifier, and 'H'
+ is an add-on of the package float.
+ See https://bugs.debian.org/790909
+Author: Gilles Filippini <pini at debian.org>
+Index: code-saturne/docs/theory/combustion_gas.tex
+===================================================================
+--- code-saturne.orig/docs/theory/combustion_gas.tex
++++ code-saturne/docs/theory/combustion_gas.tex
+@@ -121,7 +121,7 @@ fraction (subroutines: \fort{d3pphy, d3p
+ \end{eqnarray}
+
+ %========================================
+-\begin{figure}[!htcb]
++\begin{figure}[!htb]
+ \centerline{\includegraphics[width=0.8\textwidth]{Yf}}
+ \caption{Mass fraction of global species are piecewise linear with mixture fraction.}
+ \end{figure}
+@@ -142,7 +142,7 @@ with a presumed form, for the mixture fr
+ cppdf, fupdf}).
+
+ %========================================
+-\begin{figure}[!htcb]
++\begin{figure}[!htb]
+ \centerline{\includegraphics[width=0.8\textwidth]{Pf}}
+ \centerline{\includegraphics[width=0.8\textwidth]{Pf2}}
+ \caption{Examples of presumed PDF: cheapest form.}
+Index: code-saturne/docs/theory/navstv.tex
+===================================================================
+--- code-saturne.orig/docs/theory/navstv.tex
++++ code-saturne/docs/theory/navstv.tex
+@@ -126,7 +126,7 @@ We define beforehand:
+ at first order in space, for ${K = I \,\text{or}\, J}$}
+ \end{equation}
+
+-\begin{figure}[!htbc]
++\begin{figure}[!htb]
+ \centering
+ \subfigure[Internal face.]{
+ \includegraphics[width=0.4\textwidth]{facette}
+Index: code-saturne/docs/theory/spadis.tex
+===================================================================
+--- code-saturne.orig/docs/theory/spadis.tex
++++ code-saturne/docs/theory/spadis.tex
+@@ -437,7 +437,7 @@ For both methods, the adaptation to grad
+
+
+ \subsubsection{General description}
+-\begin{figure}[!htbcp]
++\begin{figure}[!htbp]
+ \centering
+ \mbox{
+ \subfigure[Internal face]{
+Index: code-saturne/docs/developer/write_theory.tex
+===================================================================
+--- code-saturne.orig/docs/developer/write_theory.tex
++++ code-saturne/docs/developer/write_theory.tex
+@@ -53,7 +53,7 @@ present the macros defined in \texttt{cs
+ The available macros located in the \texttt{csmacros} and \texttt{csvers.tex} package are displayed
+ in \tablename~\ref{tab:macros_soft} and \tablename~\ref{tab:macros_math}.
+
+-\begin{table}[!htbcp]
++\begin{table}[!htbp]
+ \centering
+ \begin{tabular}{p{0.25 \textwidth} | p{0.25 \textwidth} }
+ \LaTeX code & preview \\
+@@ -88,7 +88,7 @@ in \tablename~\ref{tab:macros_soft} and
+ \caption{Macros of softwares defined in \texttt{csmacros.sty}.\label{tab:macros_soft}}
+ \end{table}
+
+-\begin{table}[!htbpc]
++\begin{table}[!htbp]
+ \begin{tabular}{p{0.5 \textwidth} | p{0.5 \textwidth} }
+ \LaTeX code & preview \\
+ \hline
+@@ -114,7 +114,7 @@ in \tablename~\ref{tab:macros_soft} and
+ \end{table}
+
+ %
+-\begin{table}[!htbpc]
++\begin{table}[!htbp]
+ \begin{tabular}{p{0.5 \textwidth} | p{0.5 \textwidth} }
+ \LaTeX code & preview \\
+ \hline
+Index: code-saturne/docs/theory/theory.tex
+===================================================================
+--- code-saturne.orig/docs/theory/theory.tex
++++ code-saturne/docs/theory/theory.tex
+@@ -26,6 +26,7 @@
+ %
+ % MACROS SUPPLEMENTAIRES
+ \usepackage{csmacros}
++\usepackage{float}
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+Index: code-saturne/docs/theory/turbul.tex
+===================================================================
+--- code-saturne.orig/docs/theory/turbul.tex
++++ code-saturne/docs/theory/turbul.tex
+@@ -355,7 +355,7 @@ r &=& \min \left[ \dfrac{ \tilde{\nu} }{
+ %
+ The constants are defined in \tablename~\ref{tab:const_SA}.
+
+-\begin{table}[!htbc]
++\begin{table}[!htb]
+ \centering
+ $
+ \begin{array}{c | c | c | c | c | c | c | c }
diff --git a/debian/patches/series b/debian/patches/series
index 9ca93de..7bfab14 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+pdflatex.patch
ac_init.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/code-saturne.git
More information about the debian-science-commits
mailing list