Ticket #11067 (needs_review enhancement)

Opened 2 years ago

Last modified 8 weeks ago

make it possible to use lstlisting instead of verbose in latex document without breaking "sage -t"

Reported by: was Owned by: mvngu
Priority: minor Milestone: sage-5.10
Component: doctest framework Keywords:
Cc: Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

Right now example code has to be in \begin{verbatim}/\end{verbatim} blocks. However, lstlisting looks much better. With this patch one can write latex documents and have "sage -t" work on them, if they use one or the other type of blocks.

It's probably not optimal -- it would be better to maybe make this customizable or something. I don't know.

Attachments

trac_11067.patch Download (1.9 KB) - added by was 2 years ago.

Change History

Changed 2 years ago by was

comment:1 Changed 2 years ago by was

  • Status changed from new to needs_review

comment:2 Changed 2 years ago by novoselt

This ticket may be related to #10146 (SageTeX with support for lstlistings).

comment:3 Changed 10 months ago by jdemeyer

Please fill in your real name as Author.

comment:4 Changed 8 weeks ago by roed

  • Component changed from doctest to doctest framework
Note: See TracTickets for help on using tickets.