#3912: sage -t foo.tex should also test listings blocks not only verbatim
-------------------------+-------------------------------------------------
Reporter: malb | Owner: tba
Type: | Status: needs_review
enhancement | Milestone: sage-6.3
Priority: minor | Resolution:
Component: | Merged in:
documentation | Reviewers:
Keywords: | Work issues:
doctest, latex | Commit:
Authors: | 6767e49fed16e13fb6523e2c896594f01cde6ee7
Frédéric Chapoton | Stopgaps:
Report Upstream: N/A |
Branch: |
u/chapoton/3912 |
Dependencies: |
-------------------------+-------------------------------------------------
Changes (by {'newvalue': u'Fr\xe9d\xe9ric Chapoton', 'oldvalue': ''}):
* status: new => needs_review
* author: => Frédéric Chapoton
* branch: => u/chapoton/3912
* milestone: sage-wishlist => sage-6.3
* keywords: doctest => doctest, latex
* commit: => 6767e49fed16e13fb6523e2c896594f01cde6ee7
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{lslisting}
> }}}
> 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{lstlisting}
}}}
which looks so much nicer.
--
Comment:
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=6767e49fed16e13fb6523e2c896594f01cde6ee7
6767e49]||{{{trac #3912 tentative of using lstlisting in latex
doctests}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/3912#comment:2>
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.