Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: extradoc
Changeset: r3599:1a890680015e
Date: 2011-06-06 10:42 +0200
http://bitbucket.org/pypy/extradoc/changeset/1a890680015e/

Log:    use rst2beamer

diff --git a/talk/djangocon.eu2011/Makefile b/talk/djangocon.eu2011/Makefile
--- a/talk/djangocon.eu2011/Makefile
+++ b/talk/djangocon.eu2011/Makefile
@@ -1,3 +1,9 @@
-display:
-       rst2s5.py --current-slide talk.rst talk.html
-       chromium-browser talk.html
+
+pypy-talk.pdf: talk.rst author.latex title.latex stylesheet.latex
+       rst2beamer --input-encoding=utf-8 --output-encoding=utf-8 
--stylesheet=stylesheet.latex --documentoptions=14pt --theme=Warsaw 
--overlaybullets=False talk.rst pypy-talk.latex || exit
+       sed 's/\\date{}/\\input{author.latex}/' -i pypy-talk.latex || exit
+       sed 's/\\maketitle/\\input{title.latex}/' -i pypy-talk.latex || exit
+       pdflatex pypy-talk.latex  || exit
+
+view: pypy-talk.pdf
+       evince pypy-talk.pdf &
\ No newline at end of file
diff --git a/talk/djangocon.eu2011/author.latex 
b/talk/djangocon.eu2011/author.latex
new file mode 100644
--- /dev/null
+++ b/talk/djangocon.eu2011/author.latex
@@ -0,0 +1,8 @@
+\definecolor{rrblitbackground}{rgb}{0.0, 0.0, 0.0}
+
+\title[PyPy]{Django and PyPy: performant is a word}
+\author[agaynor]
+{Alex Gaynor}
+
+\institute{Djangocon.eu 2011}
+\date{6 June 2011}
diff --git a/talk/djangocon.eu2011/stylesheet.latex 
b/talk/djangocon.eu2011/stylesheet.latex
new file mode 100644
--- /dev/null
+++ b/talk/djangocon.eu2011/stylesheet.latex
@@ -0,0 +1,10 @@
+\usetheme{Warsaw}
+\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/djangocon.eu2011/title.latex 
b/talk/djangocon.eu2011/title.latex
new file mode 100644
--- /dev/null
+++ b/talk/djangocon.eu2011/title.latex
@@ -0,0 +1,5 @@
+\begin{titlepage}
+\begin{figure}[h]
+\scalebox{0.8}{\includegraphics[width=80px]{../img/py-web.png}}
+\end{figure}
+\end{titlepage}
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to