[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fun with texi2html --section
From: |
Reinhold Kainhofer |
Subject: |
Re: fun with texi2html --section |
Date: |
Sat, 22 Aug 2009 11:15:13 +0200 |
User-agent: |
KMail/1.11.4 (Linux/2.6.29-02062906-generic; KDE/4.2.4; i686; ; ) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Samstag, 22. August 2009 07:51:25 schrieb Graham Percival:
> Anybody feel like seeing a joke? Apply the attached patch and
> make doc.
>
> Does anybody have any clue why "texi2html --split=foo" results in
> *nothing* being stored in $Texi2HTML::Config::SPLIT ? I'm quite
> baffled.
How are you calling texi2html exactly? My guess is that your call looks like
texi2html --init=web-texi2html.init --split=foo general.texi
In particular, I guess that the init file is given prior to split. texi2html
processes its command lines sequentially, so the init file is evaluated before
the split from the command line is set.
That's why I took spacial care that for the docs the order of the texi2html
arugments is correct. (I even think I put a comment somewhere into the
makefiles, didn't I?)
If you want to make sure that everything is initialized, you can also add your
own init handler, that is called after initialization:
sub your_own_init_handler ()
{
/* Do what ever customization you need with everything initialized */
}
push @Texi2HTML::Config::command_handler_init, \&your_own_init_handler;
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKj7ciTqjEwhXvPN0RAoNdAKCe45CTyTUOrWPvHHaJ5aN+o7bwQACfdDt/
rUCSqslZrEsmZEQLl2efimc=
=oxXO
-----END PGP SIGNATURE-----