From 4567d3ce38dda57cf348e12117e1bae3e2c9d88b Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 21 May 2003 19:33:35 +0000 Subject: 2003-05-21 Ralf Corsepius * texi2www: Add support for @ifnottex. --- doc/tools/texi2www/ChangeLog | 4 ++++ doc/tools/texi2www/texi2www | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'doc/tools') diff --git a/doc/tools/texi2www/ChangeLog b/doc/tools/texi2www/ChangeLog index fa05df7f88..3200d20ded 100644 --- a/doc/tools/texi2www/ChangeLog +++ b/doc/tools/texi2www/ChangeLog @@ -1,3 +1,7 @@ +2003-05-21 Ralf Corsepius + + * texi2www: Add support for @ifnottex. + 2002-03-27 Ralf Corsepius * Makefile.am: Remove AUTOMAKE_OPTIONS. diff --git a/doc/tools/texi2www/texi2www b/doc/tools/texi2www/texi2www index dbce9a7f19..1a294d24bb 100755 --- a/doc/tools/texi2www/texi2www +++ b/doc/tools/texi2www/texi2www @@ -1020,6 +1020,11 @@ sub read_input "$texinfo_file[0] line $."); next; } + if (/^\@ifnottex/) { + &read_input($echo,'/^\@end\s+ifnottex/', + "$texinfo_file[0] line $."); + next; + } if (/^\@ifhtml/) { &read_input($echo,'/^\@end\s+ifhtml/', "$texinfo_file[0] line $."); -- cgit v1.2.3