bug-texinfo
[Top][All Lists]
Advanced

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

Re: Take account of splitting option in gendocs.sh


From: Karl Berry
Subject: Re: Take account of splitting option in gendocs.sh
Date: Sun, 26 Mar 2023 16:11:45 -0600

    +   gendocs: support chapter- and section-level split

Seems sensible to me. Basically making the html-by-node part of the
template conditional along with the other split options?

(Overall, it seems to me that several of these variants are pretty
pointless nowadays, but never mind.)

FWIW, in the past, only texi2html supported split=chapter. Hence the
hardwiring of various things.

     else
       # should take account of --split here.
    -  CONDS="/%%ENDIF.*%%/d;/%%IF  *HTML_SECTION%%/d;/%%IF  *HTML_CHAPTER%%/d"
    +  CONDS="/%%IF.*%%/d;/%%ENDIF.*%%/d;"

Should the comment now be something like
# No split output, so delete all conditionals.
?

--

    <p>Copyright &copy; 2022 Free Software Foundation, Inc.</p>

On the usual triviality front, the copyright year in gendocs_template
apparently didn't get updated along with everything else.

     Please make sure the copyright date is consistent with the document
     and that it is like this: "2001, 2002", not this: "2001-2002". -->

That comment has been obsolete for a couple for decades.
1) rms agreed to allow ranges; 2) only a single year is listed (which is
ok for web pages). It goes against the copyright listing at the top of
the file, so rather confusing.

That's what I see. I didn't actually try it, sorry. --thanks, karl.



reply via email to

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