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

Bug#658609: texlive-latex-extra: cooking.sty does not use recipeendhook, which is used by package option newpage



Package: texlive-latex-extra
Version: 2009-10
Severity: minor
Tags: patch

Dear Maintainer,

the file /usr/share/texmf-texlive/tex/latex/cooking/cooking.sty seems to 
contain a bug which renders one package option (newpage) useless.

The package option newpage is documented here:
/usr/share/doc/texlive-latex-extra-doc/latex/cooking/cooking.pdf

The documentation says: "There are two further package options controlling the 
page breaks between recipes:
\usepackage[nopage]{cooking}
allows recipes anywhere on the page, whereas
\usepackage[newpage]{cooking}
forces a new page after each recipe. The latter is the default."

But this does not work as expected.

It looks like cooking.sty does define \recipeendhook, but does not use it, so 
this simple patch resolves the problem:

$ diff cooking.sty.debian-orig cooking.sty
94c94
<   \end{list}%
---
>   \end{list}\recipeendhook%

The bug and the solution seem to be ages old, both are mentioned e.g. here:
<http://de.narkive.com/2004/11/9/748547-usepackage-newpage-cooking-macht-
keinen-seitenumbruch.html> (sorry, German only).

I hope you can resolve the issue in Debian and probably forward the bug 
upstream, so it gets fixed in the CTAN version of cooking.sty.

With regards, Alex

-- 
Alexander Bugl, Central IT Services, ZMAW
Max-Planck-Institute for Meteorology
Bundesstrasse 55, D-20146 Hamburg, Germany
Tel.: +49-40-41173-361, Fax -298, room PE039



Reply to: