Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sage -t foo.tex should also test listings blocks not only verbatim #3912

Closed
malb opened this issue Aug 20, 2008 · 13 comments
Closed

sage -t foo.tex should also test listings blocks not only verbatim #3912

malb opened this issue Aug 20, 2008 · 13 comments

Comments

@malb
Copy link
Member

malb commented Aug 20, 2008

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.

CC: @sagetrac-mvngu

Component: documentation

Keywords: latex

Author: Frédéric Chapoton

Branch/Commit: 82abb80

Reviewer: André Apitzsch

Issue created by migration from https://trac.sagemath.org/ticket/3912

@fchapoton

This comment has been minimized.

@fchapoton

This comment has been minimized.

@fchapoton
Copy link
Contributor

Branch: u/chapoton/3912

@fchapoton
Copy link
Contributor

Changed keywords from none to latex

@fchapoton
Copy link
Contributor

Author: Frédéric Chapoton

@fchapoton
Copy link
Contributor

New commits:

6767e49trac #3912 tentative of using lstlisting in latex doctests

@fchapoton
Copy link
Contributor

Commit: 6767e49

@fchapoton
Copy link
Contributor

comment:3

See http://mvngu.wordpress.com/2010/06/27/typesetting-sage-code-listings-in-latex/ for nice parameters for the package listings.

@a-andre
Copy link

a-andre commented Jul 27, 2014

comment:5

Line 153 contains a left parenthesis which is never closed.

Could you also unify Line 1142 and Line 1219.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 27, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

82abb80trac #3912 reviewer's comments

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 27, 2014

Changed commit from 6767e49 to 82abb80

@a-andre
Copy link

a-andre commented Jul 27, 2014

Reviewer: André Apitzsch

@vbraun
Copy link
Member

vbraun commented Jul 28, 2014

Changed branch from u/chapoton/3912 to 82abb80

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants