bug-texinfo
[Top][All Lists]
Advanced

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

Re: Output files for html?


From: Patrice Dumas
Subject: Re: Output files for html?
Date: Sat, 22 Jun 2019 09:00:26 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, Jun 21, 2019 at 11:52:03AM -0700, Raymond Toy wrote:
> In version 6.6, if you had
> 
> @setfilename foo.info
> 
> all of the html files would be placed in the foo directory with names
> foo_0.html, foo_1.html, and so on.
> 
> With 6.6dev, this isn't true anymore.  The foo directory contains things
> like index.html, section-title-1.html, section-title-2.html, and so on.
> 
> Was this change intentional?  Is it possible to get back the old version?

I think that this change was intentional.  To get back to the old
version, you would need an init file, I believe.  I attach one which
should do what you want, except maybe for the top file.

you can use it with

texi2any --html --init file_names_simple.pm toto.texi

(As a side note, my guess would be that you do not have nodes in your
texinfo file, otherwise you would have seen the "new behaviour" earlier).

> In addition, a very old version of texi2html (was used in Maxima for a long
> time) put the table of contents in foo_toc.html.  This was useful for
> external interfaces to maxima to have a table of contents that could be
> shown.  Right now, the toc is placed in one of the foo_*.html files.

For that, you can set
  -c INLINE_CONTENTS=0

If you want more generally the texi2html style, you can use
 -c TEXI2HTML

-- 
Pat

Attachment: file_names_simple.pm
Description: Text Data


reply via email to

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