tags 396930 patch
thanks

Julien Danjou <[EMAIL PROTECTED]> wrote:

>> ./macros.tex:24: Warning: Command not found: \remakesection
>> ./macros.tex:25: Parsing of argument failed
>> Giving up command: \chapter
>> Giving up command: \input
>> ./macros.tex:25: Error while reading LaTeX macros arguments:
>>      Argument expected

This is caused by #397332.  Here's a patch until hevea is fixed:

diff -Nur ion2-20040729.old/debian/changelog ion2-20040729/debian/changelog
--- ion2-20040729.old/debian/changelog  2006-11-06 17:42:07.000000000 +0100
+++ ion2-20040729/debian/changelog      2006-11-06 17:43:58.000000000 +0100
@@ -1,3 +1,9 @@
+ion2 (20040729-2.1~1) unstable; urgency=low
+
+  * Testing a patch for #396930
+
+ -- Frank Küster <[EMAIL PROTECTED]>  Mon,  6 Nov 2006 17:43:51 +0100
+
 ion2 (20040729-2) unstable; urgency=low
 
   * Used libxinerama-dev instead of libx11-dev in build-dependencies and
diff -Nur ion2-20040729.old/ion-doc/macros.tex ion2-20040729/ion-doc/macros.tex
--- ion2-20040729.old/ion-doc/macros.tex        2006-11-06 17:42:07.000000000 
+0100
+++ ion2-20040729/ion-doc/macros.tex    2006-11-06 17:43:17.000000000 +0100
@@ -21,6 +21,20 @@
 \begin{htmlonly}
 %END LATEX
 
+% compatibility hack: hevea 1.09 is missing \remakesection
+\newcommand{\remakesection}[7]{%
+  \renewcommand{#1}[2][]{%
+    \checkdepth{#2}{\refstepcounter{#3}}%
+    [EMAIL PROTECTED]
+    [EMAIL PROTECTED]
+    [EMAIL PROTECTED]
+    [EMAIL PROTECTED]@[EMAIL PROTECTED]
+    [EMAIL PROTECTED]@secend}%
+  \renewcommand{#1*}[1]{%
+    [EMAIL PROTECTED]@norefs}}%
+    [EMAIL PROTECTED]
+% end hack
+
 \remakesection
   {\chapter}{-1}{chapter}
   [EMAIL PROTECTED]@close{H1}}
Regards, Frank
-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

Reply via email to