#3912: sage -t foo.tex should also test listings blocks not only verbatim
---------------------------------+-----------------------------
       Reporter:  malb           |        Owner:  tba
           Type:  enhancement    |       Status:  new
       Priority:  minor          |    Milestone:  sage-wishlist
      Component:  documentation  |   Resolution:
       Keywords:  doctest        |    Merged in:
        Authors:                 |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:                 |       Commit:
   Dependencies:                 |     Stopgaps:
---------------------------------+-----------------------------
Changes (by chapoton):

 * keywords:   => doctest
 * upstream:   => N/A


Old description:

> sage -t can check stuff in
> {{{
> \begin{verbatim}
> sage: 2 + 3
> 5
> \end{verbatim}
> }}}
>
> I propose to also support
> {{{
> \begin{lstlisting}
> sage: 2 + 3
> 5
> \end{llstisting}
> }}}
> which looks so much nicer.

New description:

 sage -t can check stuff in
 {{{
 \begin{verbatim}
 sage: 2 + 3
 5
 \end{verbatim}
 }}}

 I propose to also support
 {{{
 \begin{lstlisting}
 sage: 2 + 3
 5
 \end{lslisting}
 }}}
 which looks so much nicer.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/3912#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to