[pypy-commit] extradoc extradoc: (cfbolz, bivab) lstinline settings
bivab
noreply at buildbot.pypy.org
Thu Aug 16 11:59:19 CEST 2012
Author: David Schneider <david.schneider at picle.org>
Branch: extradoc
Changeset: r4605:602177a8c7b9
Date: 2012-08-16 11:58 +0200
http://bitbucket.org/pypy/extradoc/changeset/602177a8c7b9/
Log: (cfbolz, bivab) lstinline settings
diff --git a/talk/vmil2012/paper.tex b/talk/vmil2012/paper.tex
--- a/talk/vmil2012/paper.tex
+++ b/talk/vmil2012/paper.tex
@@ -24,9 +24,12 @@
\definecolor{commentgray}{rgb}{0.3,0.3,0.3}
+\lstdefinelanguage{none}{
+ keywords={},
+}
\lstset{
basicstyle=\ttfamily\footnotesize,
- language=Python,
+ language=none,
keywordstyle=\bfseries,
stringstyle=\color{blue},
commentstyle=\color{commentgray}\textit,
@@ -82,6 +85,9 @@
\renewcommand\cite[1]{\ifthenelse{\equal{#1}{XXX}}{[citation~needed]}{\oldcite{#1}}}
+\let\oldlstinline=\lstinline
+\renewcommand\lstinline[1]{\oldlstinline[basicstyle=\ttfamily]{#1}}
+
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\begin{document}
@@ -121,7 +127,6 @@
%___________________________________________________________________________
-\todo{better formatting for lstinline}
\section{Introduction}
Tracing just-in-time (JIT) compilers record and compile commonly executed
More information about the pypy-commit
mailing list