octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doctest and @example blocks without an actual cope and paste example


From: Mike Miller
Subject: Re: doctest and @example blocks without an actual cope and paste example
Date: Thu, 9 Jul 2015 09:46:15 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Jul 09, 2015 at 14:33:19 +0100, Carnë Draug wrote:
> doctest extracts code from @example blocks.  However, @example is also used
> to display definitions as in the following case from imbothat [1]:
[…]
> Point is, despite the name, @example is not being used only for examples.
> Am I using TexInfo incorrectly?  What would be the best way to do this?

It's also used throughout Octave to display math formulas in ASCII art
format:

https://www.gnu.org/software/octave/doc/interpreter/Special-Functions.html#XREFerf

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]