@ifinfo
John W. Eaton
jwe at octave.org
Wed Jan 14 19:45:08 CST 2009
On 2-Nov-2008, Søren Hauberg wrote:
| 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'.
I applied this changeset.
Thanks,
jwe
More information about the Bug-octave
mailing list