Am Dienstag, 11. März 2008 schrieb Graham Percival:
> To do that, we need to use texi2html, and to do that, we need
> about 10 hours of work from a perl programmer.

If I understood it correctly, your main problem with texi2html is that you 
want to split only at numbered sections, right?

How about using something like the attached 
texi2html-split-at-numbered-init.pl as init-file for texi2html (it does 
exactly what Pat suggested in 
http://lists.gnu.org/archive/html/texi2html-bug/2007-10/msg00010.html).

I've run it on the sample file that you provide in 
http://lists.gnu.org/archive/html/lilypond-devel/2008-03/msg00005.html and it 
seems to work just fine. Simply call texi2html as

texi2html --init-file=texi2html-split-at-numbered-init.pl splitme.texi 

and it will generate files for sections 1, 2, 2.1, 2.2 and 2.2.1, but not 
for "one A", "one B", "two one A", etc.

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
\input texinfo
@node Top
@top Example

Example @[EMAIL PROTECTED]

@menu
* one::                         
* two::                         
@end menu

@contents

@node one
@chapter one

@menu
* one A::                       
* one B::                       
@end menu

@node one A
@unnumberedsec one A

@node one B
@unnumberedsec one B


@node two
@chapter two

@menu
* two one::                     
* two two::                     
@end menu

@node two one
@section two one

@menu
* two one A::                   
* two one B::                   
@end menu

@node two one A
@unnumberedsubsec two one A

@node two one B
@unnumberedsubsec two one B


@node two two
@section two two

@menu
* two two one::                 
@end menu

@node two two one
@subsection two two one

@menu
* two two one A::               
* two two one B::               
@end menu

@node two two one A
@unnumberedsubsubsec two one one A

@node two two one B
@unnumberedsubsubsec two two one B


@bye

Attachment: texi2html-split-at-numbered-init.pl
Description: Perl program

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to