avr-libc-commit
[Top][All Lists]
Advanced

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

[avr-libc-commit] [2197] Workaround for LaTeX build error after upgradin


From: Joerg Wunsch
Subject: [avr-libc-commit] [2197] Workaround for LaTeX build error after upgrading doxygen to
Date: Wed, 24 Nov 2010 22:02:54 +0000

Revision: 2197
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2197
Author:   joerg_wunsch
Date:     2010-11-24 22:02:53 +0000 (Wed, 24 Nov 2010)
Log Message:
-----------
Workaround for LaTeX build error after upgrading doxygen to
version 1.7.x
* doc/api/Makefile.am: replace the \renewcommand for
\cftchapfont and \cftchappagefont, respectively, by a
\newcommand.

Modified Paths:
--------------
    trunk/avr-libc/ChangeLog
    trunk/avr-libc/doc/api/Makefile.am

Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog    2010-11-24 03:57:03 UTC (rev 2196)
+++ trunk/avr-libc/ChangeLog    2010-11-24 22:02:53 UTC (rev 2197)
@@ -1,3 +1,11 @@
+2010-11-24  Joerg Wunsch <address@hidden>
+
+       Workaround for LaTeX build error after upgrading doxygen to
+       version 1.7.x
+       * doc/api/Makefile.am: replace the \renewcommand for
+       \cftchapfont and \cftchappagefont, respectively, by a
+       \newcommand.
+
 2010-11-23  Eric B. Weddington  <address@hidden>
 
     * doc/api/rel-method.dox: Escape all instances of @svn to silence

Modified: trunk/avr-libc/doc/api/Makefile.am
===================================================================
--- trunk/avr-libc/doc/api/Makefile.am  2010-11-24 03:57:03 UTC (rev 2196)
+++ trunk/avr-libc/doc/api/Makefile.am  2010-11-24 22:02:53 UTC (rev 2197)
@@ -163,6 +163,10 @@
 # as a magic string in order to replace the \\ at the end of the table
 # heading by \endhead so longtable will know what heading to repeat in
 # table continuations.
+#
+# The last sed command replaces the \renewcommand for \cftchapfont and
+# \cftchappagefont, respectively, by a \newcommand, to fix a LaTeX
+# error.
 
 latex_src/refman.tex: doxygen.config $(IMAGE_EPS) $(IMAGE_PNG)
        doxygen doxygen.config
@@ -188,6 +192,10 @@
                -e '/MCU types are currently/,/Architecture/s/>.*|/l|l|/' \
                $$UT > tmp.$$ && \
                mv -f tmp.$$ $$UT
+       cd latex_src && \
+               sed -e '/renewcommand.*cftchap.*font/s/renew/new/' \
+               doxygen.sty > tmp.$$ && \
+               mv -f tmp.$$ doxygen.sty
 
 #doxygen.config: doxygen.config.in $(top_srcdir)/stamp-h1
 doxygen.config: doxygen.config.in




reply via email to

[Prev in Thread] Current Thread [Next in Thread]