@ifinfo
Søren Hauberg
soren at hauberg.org
Sun Nov 2 10:53:08 CST 2008
Hi,
Many places in the documentation we have constructs like this
@iftex
...
@end iftex
@ifinfo
...
@end ifinfo
Assuming we only support 'tex' and 'info', then this reads (in
pseudo-code)
if (tex)
...
else
...
endif
This used construct does, however, not work well when generating
documentation for other formats (like HTML). The attached patch changes
the construct to
@iftex
...
@end iftex
@ifnottex
...
@end ifnottex
which works well with more formats. The patch is large (hence the
compression), but it's just a search-replace that changes 'ifinfo' to
'ifnottex'.
Søren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: more_formats.patch.bz2
Type: application/x-bzip
Size: 8830 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20081102/210bb0ee/attachment.bin
More information about the Bug-octave
mailing list