octave-maintainers
[Top][All Lists]
Advanced

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

Re: @example's as doctests


From: Colin Macdonald
Subject: Re: @example's as doctests
Date: Tue, 05 May 2015 10:29:15 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 05/05/15 06:59, Oliver Heimlich wrote:
Colin, two remarks on your solution:

1. The file extension .texi seems to be the standard one, but you should
also allow .texinfo, .tex and .txi [1]. An alternative solution would be
to scan the first row for “\input texinfo”.

2. My texinfo examples contain no whitespace at the beginning of input
rows and are thus not detected if they contain no “>>”. You should add
an additional space after the automatically inserted “>>” to make that
work.

Oliver


P.S. I have >260 files to check. A summary at the end of the file list
(FAIL count) would help me check whether there are errors at all.

All those sound good. Could you file three issues on github so I don't miss them?

https://github.com/catch22/doctest-for-matlab/issues

Colin



reply via email to

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