[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: links to table of contents
From: |
Graham Percival |
Subject: |
Re: links to table of contents |
Date: |
Sat, 1 Mar 2008 21:29:41 -0800 |
On Sat, 1 Mar 2008 22:18:44 -0700
"Carl D. Sorensen" <address@hidden> wrote:
> > -----Original Message-----
> > From: Graham Percival [mailto:address@hidden
> > Sent: Friday, February 29, 2008 10:37 AM
> > To: Sandrine Chaumeton
> > Cc: address@hidden
> > Subject: Re: links to table of contents
> >
> > Not possible with the current infrastructure. If we switch
> > to texi2html, we could do this, but we can't find a perl
> > programmer willing to do about 10 hours of work to make this
> > possible.
>
> I'm not a perl expert, but I might be able to figure out enough about
> this to make it work.
>
> What are the relevant pieces of code I need to review?
We want texi2html to split based on whether a node has a number or not.
Currently it can split by chapter, section, or node. It should be
"easy" to do this using the element_file_name function:
http://lists.gnu.org/archive/html/texi2html-bug/2007-10/msg00010.html
Attached an example .texi file for testing.
If you're serious about this, then we'll probably find a bunch of other
errors after this is fixed. I spent quite a few hours working on
texi2html last Oct, and the maintainers fixed a bunch of bugs for me,
so I feel a bit bad that we never actually switched. However, we can't
switch until texi2html handles everything that makeinfo --html does.
Cheers,
- Graham
splitme.texi
Description: Binary data