[pypy-commit] extradoc extradoc: skeleton for my talk

antocuni pypy.commits at gmail.com
Mon Jul 10 18:53:53 EDT 2017


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: extradoc
Changeset: r5806:539d94abb88f
Date: 2017-07-10 15:46 +0200
http://bitbucket.org/pypy/extradoc/changeset/539d94abb88f/

Log:	skeleton for my talk

diff --git a/talk/ep2017/the-joy-of-pypy-jit/Makefile b/talk/ep2017/the-joy-of-pypy-jit/Makefile
new file mode 100644
--- /dev/null
+++ b/talk/ep2017/the-joy-of-pypy-jit/Makefile
@@ -0,0 +1,18 @@
+# you can find rst2beamer.py here:
+# http://codespeak.net/svn/user/antocuni/bin/rst2beamer.py
+
+# WARNING: to work, it needs this patch for docutils
+# https://sourceforge.net/tracker/?func=detail&atid=422032&aid=1459707&group_id=38414
+
+talk.pdf: talk.rst author.latex title.latex stylesheet.latex
+	python `which rst2beamer.py` --stylesheet=stylesheet.latex --documentoptions=14pt talk.rst talk.latex || exit
+	#/home/antocuni/.virtualenvs/rst2beamer/bin/python `which rst2beamer.py` --stylesheet=stylesheet.latex --documentoptions=14pt talk.rst talk.latex || exit
+	sed 's/\\date{}/\\input{author.latex}/' -i talk.latex || exit
+	#sed 's/\\maketitle/\\input{title.latex}/' -i talk.latex || exit
+	pdflatex talk.latex  || exit
+
+view: talk.pdf
+	evince talk.pdf &
+
+xpdf: talk.pdf
+	xpdf talk.pdf &
diff --git a/talk/ep2017/the-joy-of-pypy-jit/author.latex b/talk/ep2017/the-joy-of-pypy-jit/author.latex
new file mode 100644
--- /dev/null
+++ b/talk/ep2017/the-joy-of-pypy-jit/author.latex
@@ -0,0 +1,8 @@
+\definecolor{rrblitbackground}{rgb}{0.0, 0.0, 0.0}
+
+\title[PyPy: abstractions for free]{PyPy: Abstractions for free}
+\author[antocuni]
+{Antonio Cuni}
+
+\institute{EuroPython 2017}
+\date{July 12 2017}
diff --git a/talk/ep2017/the-joy-of-pypy-jit/beamerdefs.txt b/talk/ep2017/the-joy-of-pypy-jit/beamerdefs.txt
new file mode 100644
--- /dev/null
+++ b/talk/ep2017/the-joy-of-pypy-jit/beamerdefs.txt
@@ -0,0 +1,111 @@
+.. colors
+.. ===========================
+
+.. role:: green
+.. role:: red
+
+
+.. general useful commands
+.. ===========================
+
+.. |pause| raw:: latex
+
+   \pause
+
+.. |small| raw:: latex
+
+   {\small
+
+.. |end_small| raw:: latex
+
+   }
+
+.. |scriptsize| raw:: latex
+
+   {\scriptsize
+
+.. |end_scriptsize| raw:: latex
+
+   }
+
+.. |strike<| raw:: latex
+
+   \sout{
+
+.. closed bracket
+.. ===========================
+
+.. |>| raw:: latex
+
+   }
+
+
+.. example block
+.. ===========================
+
+.. |example<| raw:: latex
+
+   \begin{exampleblock}{
+
+
+.. |end_example| raw:: latex
+
+   \end{exampleblock}
+
+
+
+.. alert block
+.. ===========================
+
+.. |alert<| raw:: latex
+
+   \begin{alertblock}{
+
+
+.. |end_alert| raw:: latex
+
+   \end{alertblock}
+
+
+
+.. columns
+.. ===========================
+
+.. |column1| raw:: latex
+
+   \begin{columns}
+      \begin{column}{0.45\textwidth}
+
+.. |column2| raw:: latex
+
+      \end{column}
+      \begin{column}{0.45\textwidth}
+
+
+.. |end_columns| raw:: latex
+
+      \end{column}
+   \end{columns}
+
+
+
+.. |snake| image:: ../../img/py-web-new.png
+           :scale: 15%
+           
+
+.. |ok| image:: ok.png
+           :scale: 25%
+
+
+.. nested blocks
+.. ===========================
+
+.. |nested| raw:: latex
+
+   \begin{columns}
+      \begin{column}{0.85\textwidth}
+
+.. |end_nested| raw:: latex
+
+      \end{column}
+   \end{columns}
diff --git a/talk/ep2017/the-joy-of-pypy-jit/stylesheet.latex b/talk/ep2017/the-joy-of-pypy-jit/stylesheet.latex
new file mode 100644
--- /dev/null
+++ b/talk/ep2017/the-joy-of-pypy-jit/stylesheet.latex
@@ -0,0 +1,10 @@
+\usetheme{Boadilla}
+\setbeamercovered{transparent}
+\setbeamertemplate{navigation symbols}{}
+
+\definecolor{darkgreen}{rgb}{0, 0.5, 0.0}
+\newcommand{\docutilsrolegreen}[1]{\color{darkgreen}#1\normalcolor}
+\newcommand{\docutilsrolered}[1]{\color{red}#1\normalcolor}
+
+\newcommand{\green}[1]{\color{darkgreen}#1\normalcolor}
+\newcommand{\red}[1]{\color{red}#1\normalcolor}
diff --git a/talk/ep2017/the-joy-of-pypy-jit/talk.pdf.info b/talk/ep2017/the-joy-of-pypy-jit/talk.pdf.info
new file mode 100644
--- /dev/null
+++ b/talk/ep2017/the-joy-of-pypy-jit/talk.pdf.info
@@ -0,0 +1,11 @@
+AvailableTransitions=[Crossfade]
+TransitionDuration = 100
+EstimatedDuration = 45*60       # in seconds
+MinutesOnly = True
+
+PageProps = {
+    1: {
+    'reset': FirstTimeOnly,
+    'progress': False,
+    },
+}
diff --git a/talk/ep2017/the-joy-of-pypy-jit/talk.rst b/talk/ep2017/the-joy-of-pypy-jit/talk.rst
new file mode 100644
--- /dev/null
+++ b/talk/ep2017/the-joy-of-pypy-jit/talk.rst
@@ -0,0 +1,18 @@
+.. include:: beamerdefs.txt
+
+==========================================
+The joy of PyPy JIT: abstractions for free
+==========================================
+
+About me
+---------
+
+- PyPy core dev
+
+- ``pdb++``, ``cffi``, ``vmprof``, ``capnpy``, ...
+
+- Consultant, trainer
+
+- http://antocuni.eu
+
+


More information about the pypy-commit mailing list