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 17:09:56 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (irix)

On Fri, 04 Jun 2004 16:21:45 +0200, Yuri D'Elia wrote:
>>      \input texinfo
>>      @setfilename INFO-FILE-NAME
>>      @settitle NAME-OF-MANUAL
>
> Of course, but this doesn't solve the problem.
> If I remove the macro invocation the head is emitted, setfilename/title
> or not.

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.

Further investigation shows that in node.c:442 the expansion of
"anode:: @amacro{}" isn't "anode:: test" but...

expanded_line = 0x1006bd60 = "<html lang=\"en\">\n<head>\n<title>A 
Title</title>\n<meta http-equiv=\"Content-Type\" content=\"text/html\">\n<meta 
name=\"description\" content=\"A Title\">\n<meta name=\"generator\" 
content=\"makeinfo 4.7\">\n<link title=\"Top\" rel=\"top\" 
href=\"#Top\">\n<link href=\"http://www.g";...

The html head is expanded inline.
I'm not sure how to fix this. It seems to be caused by a recursive
invocation of reader_loop().

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





reply via email to

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