[pypy-svn] r66107 - pypy/extradoc/talk/rst2beamer-template

antocuni at codespeak.net antocuni at codespeak.net
Sat Jul 4 11:00:17 CEST 2009


Author: antocuni
Date: Sat Jul  4 11:00:15 2009
New Revision: 66107

Added:
   pypy/extradoc/talk/rst2beamer-template/
   pypy/extradoc/talk/rst2beamer-template/Makefile
   pypy/extradoc/talk/rst2beamer-template/author.latex
      - copied unchanged from r66036, pypy/extradoc/talk/ep2009/jit/author.latex
   pypy/extradoc/talk/rst2beamer-template/beamerdefs.txt
      - copied unchanged from r66034, pypy/extradoc/talk/ep2009/jit/beamerdefs.txt
   pypy/extradoc/talk/rst2beamer-template/stylesheet.latex
      - copied unchanged from r66034, pypy/extradoc/talk/ep2009/jit/stylesheet.latex
   pypy/extradoc/talk/rst2beamer-template/talk.pdf.info
      - copied, changed from r66034, pypy/extradoc/talk/pycon-italy-2009/status/status.pdf.info
   pypy/extradoc/talk/rst2beamer-template/talk.txt   (contents, props changed)
   pypy/extradoc/talk/rst2beamer-template/title.latex
      - copied, changed from r66034, pypy/extradoc/talk/ep2009/jit/title.latex
Log:
a template directory with all the files needed to produce an rst2beamer based talk


Added: pypy/extradoc/talk/rst2beamer-template/Makefile
==============================================================================
--- (empty file)
+++ pypy/extradoc/talk/rst2beamer-template/Makefile	Sat Jul  4 11:00:15 2009
@@ -0,0 +1,17 @@
+# 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.txt author.latex title.latex stylesheet.latex
+	rst2beamer.py --stylesheet=stylesheet.latex --documentoptions=14pt talk.txt 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 &

Copied: pypy/extradoc/talk/rst2beamer-template/talk.pdf.info (from r66034, pypy/extradoc/talk/pycon-italy-2009/status/status.pdf.info)
==============================================================================
--- pypy/extradoc/talk/pycon-italy-2009/status/status.pdf.info	(original)
+++ pypy/extradoc/talk/rst2beamer-template/talk.pdf.info	Sat Jul  4 11:00:15 2009
@@ -1,6 +1,6 @@
 AvailableTransitions=[Crossfade]
 TransitionDuration = 100
-EstimatedDuration = 60*60
+EstimatedDuration = 60*60       # in seconds
 MinutesOnly = True
 
 PageProps = {

Added: pypy/extradoc/talk/rst2beamer-template/talk.txt
==============================================================================
--- (empty file)
+++ pypy/extradoc/talk/rst2beamer-template/talk.txt	Sat Jul  4 11:00:15 2009
@@ -0,0 +1,7 @@
+.. include:: beamerdefs.txt
+
+================================
+Title
+================================
+
+XXX

Copied: pypy/extradoc/talk/rst2beamer-template/title.latex (from r66034, pypy/extradoc/talk/ep2009/jit/title.latex)
==============================================================================
--- pypy/extradoc/talk/ep2009/jit/title.latex	(original)
+++ pypy/extradoc/talk/rst2beamer-template/title.latex	Sat Jul  4 11:00:15 2009
@@ -1,5 +1,5 @@
 \begin{titlepage}
 \begin{figure}[h]
-\includegraphics[width=80px]{../../img/py-web.png}
+\includegraphics[width=80px]{../img/py-web.png}
 \end{figure}
 \end{titlepage}



More information about the Pypy-commit mailing list