[pypy-commit] extradoc extradoc: number lines

cfbolz noreply at buildbot.pypy.org
Thu Jul 26 11:14:02 CEST 2012


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: extradoc
Changeset: r4365:690092e7499a
Date: 2012-07-25 11:07 +0200
http://bitbucket.org/pypy/extradoc/changeset/690092e7499a/

Log:	number lines

diff --git a/talk/vmil2012/figures/example.tex b/talk/vmil2012/figures/example.tex
--- a/talk/vmil2012/figures/example.tex
+++ b/talk/vmil2012/figures/example.tex
@@ -1,4 +1,4 @@
-\begin{lstlisting}[language=Python]
+\begin{lstlisting}[language=Python, numbers=right]
 class Base(object):
     def __init__(self, n):
         self.value = n
diff --git a/talk/vmil2012/figures/log.tex b/talk/vmil2012/figures/log.tex
--- a/talk/vmil2012/figures/log.tex
+++ b/talk/vmil2012/figures/log.tex
@@ -1,4 +1,4 @@
-\begin{lstlisting}[mathescape]
+\begin{lstlisting}[mathescape, numbers=right]
 [$j_1$, $a_1$]
 label($j_1$, $a_1$, descr=label0))
 $j_2$ = int_add($j_1$, 1)


More information about the pypy-commit mailing list