bug-texinfo
[Top][All Lists]
Advanced

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

Re: [makeinfo] macros in menu description causes no HTML head


From: Yuri D'Elia
Subject: Re: [makeinfo] macros in menu description causes no HTML head
Date: Sat, 05 Jun 2004 21:11:00 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (irix)

On Sat, 05 Jun 2004 17:09:56 +0200, Yuri D'Elia wrote:
> I've nailed down the issue a bit. The problem seems into
> makeinfo/node.c:718, when calling glean_node_from_menu to retrieve the
> first menu entry for the Top entry. In this example the menu entry is
> _not_ found.

--- makeinfo.c  Fri Apr 09 23:17:17 CEST 2004
+++ makeinfo-fix.c      Sat Jun 05 21:05:04 CEST 2004
@@ -2610,7 +2610,7 @@
            the document can do @settitle, @documentlanguage, etc, in
            any order and with any omissions, and we'll still output
            the html <head> `just in time'.  */
-        if ((executing_macro || !executing_string)
+        if ((executing_macro || !executing_string) && !only_macro_expansion
             && html && !html_output_head_p && !defining_copying ())
           html_output_head ();

seems to do the trick.

-- 
'(wave++ "Yuri D'Elia" "http://www.yuv.info/~wavexx/";)





reply via email to

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