Re: HTML <title> node names: Not emitting 'Top (Manual name)'
Gavin Smith <[email protected]> Sun, 17 Mar 2024 14:23:34 +0000
| Newsgroups | gmane.comp.tex.texinfo.general |
|---|---|
| Message-ID | <Zfb85jJAGUi3VWO/@beigestar> |
On Sun, Mar 17, 2024 at 02:27:11PM +0100, [email protected] wrote: > > The code that appears to strip the comment out is very short and probably > > not the main source of complexity in the Emacs Lisp program: > I am not sure that it is that code, as texi5 is defined by, I believe > > let ((texi5 (search-forward "<!DOCTYPE" nil t)) > opoint) > > So it should be set as there is a "<!DOCTYPE" in recent Texinfo > releases. I think that the code you flagged out was there to remove the > CSS or something along for makeinfo <= 4. I expect you are right. > My feeling is that the removal of the Copyright comment is > inentended, as it is left in HTML files split by node. I believe it is > rather because of the following that deletes everything between the > first meta, which should be > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> > and <title>: > > (search-forward "<title>") > (delete-region opoint (match-beginning 0)) > (search-forward "</title>\n") > > But it is more a wild guess. > > -- > Pat