[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#700532: Fonts in footnote #6 of PS/PDF awry



clone 700532 -1
reassign -1 debiandoc-sgml
retitle -1 debiandoc2latex do not handle <example> inside <footnote>
On Sun, Feb 24, 2013 at 01:05:03PM +0900, Charles Plessy wrote:
> user debian-policy@packages.debian.org
> usertags 700532 packaging
> thanks
> 
> Le Thu, Feb 14, 2013 at 01:53:05AM +0000, Tim Landscheidt a écrit :
> > 
> > the last line ("Then all of the bug numbers listed will be
> > closed by the archive maintenance script (katie) using the
> > version of the changelog entry.") of footnote #6 is set in
> > the same font height as normal text; it should use the font
> > height for footnotes.
> 
> Thanks Tim,
> 
> it looks like a more generic bug in the conversion to PostScript and PDF, that
> happens each time the "example" tag is used within a "footnote" tag.

Indeed, the generated LaTeX code is incorrect:
this is the footnote:
---
<footnote>
              To be precise, the string should match the following
              Perl regular expression:
              <example>
/closes:\s*(?:bug)?\#?\s?\d+(?:,\s*(?:bug)?\#?\s?\d+)*/i
              </example>
              Then all of the bug numbers listed will be closed by the
              archive maintenance software (<prgn>dak</prgn>) using the
              <var>version</var> of the changelog entry.
</footnote>
---

This is the LaTeX code:
---
\footnote{To be precise, the string should match the following
Perl regular expression:
\scriptsize\begin{alltt}
/closes:\textbackslash{}s*(?:bug)?\textbackslash{}\#?\textbackslash{}s?\textbackslash{}d+(?:,\textbackslash{}s*(?:bug)?\textbackslash{}\#?\textbackslash{}s?\textbackslash{}d+)*/i
\end{alltt}\normalsize
Then all of the bug numbers listed will be closed by the
archive maintenance software (\texttt{dak}) using the
\textit{version} of the changelog entry.
}
---
The \normalsize directive is incorrect since it reverts to the main size instead of
the footnote size.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here.


Reply to: