From c6ffb2602f792309509ee72dc283e222e09c71ff Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Wed, 25 Jan 2012 17:47:49 -0800
Subject: latex: use ignorenonframetext on beamer, and make proper title slide.

---
 default.latex | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'default.latex')

diff --git a/default.latex b/default.latex
index d0e2df490..0c5ca20a1 100644
--- a/default.latex
+++ b/default.latex
@@ -1,4 +1,4 @@
-\documentclass[$if(fontsize)$$fontsize$,$endif$$if(handout)$handout,$endif$]{$documentclass$}
+\documentclass[$if(fontsize)$$fontsize$,$endif$$if(handout)$handout,$endif$$if(beamer)$ignorenonframetext,$endif$]{$documentclass$}
 $if(theme)$
 \usetheme{$theme$}
 $endif$
@@ -126,8 +126,12 @@ $endif$
 
 \begin{document}
 $if(title)$
+$if(beamer)$
+\frame{\titlepage}
+$else$
 \maketitle
 $endif$
+$endif$
 
 $for(include-before)$
 $include-before$
-- 
cgit v1.2.3

