diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-13 22:52:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-13 22:52:08 +0000 |
commit | 72c8eee56c474d51318b0296700506a912d726ff (patch) | |
tree | 02ca21faf7cf7e175c46e4effc038911beefb081 /Master/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty | |
parent | f503033f36e49df5beb6e09aa7ca2cb6d6b31820 (diff) |
beamer 3.11 (12sep11)
git-svn-id: svn://tug.org/texlive/trunk@23934 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty index f202f382bf7..a411a7ed321 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty @@ -1,5 +1,6 @@ % Copyright 2003--2007 by Till Tantau % Copyright 2010 by Vedran Mileti\'c +% Copyright 2011 by Vedran Mileti\'c, Joseph Wright % % This file may be distributed and/or modified % @@ -8,7 +9,7 @@ % % See the file doc/licenses/LICENSE for more details. -\ProvidesPackageRCS $Header: /home/vedranm/bitbucket/beamer/base/beamerbaseverbatim.sty,v efa082c6111d 2010/05/01 11:27:03 rivanvx $ +\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbaseverbatim.sty,v 70f9d8411e54 2011/09/12 18:58:34 joseph $ \mode <presentation> @@ -37,14 +38,18 @@ } {\catcode`\^^M=12\endlinechar=-1% - \long\gdef\beamer@processframefirstline#1^^M{% - \def\beamer@test{#1}% + \long\gdef\beamer@processframefirstline#1#2^^M{% + \def\beamer@test{#1#2}% \ifx\beamer@test\beamer@stopframefirst% \let\next=\beamer@framewritten% \else - \@temptokena={#1}% - \immediate\write\beamer@verbatimfileout{\the\@temptokena}% - \let\next=\beamer@processframeline% + \def\beamer@test{#1}% + \@onelevel@sanitize\beamer@test + \edef\beamer@test{\beamer@test\space}% + \edef\beamer@test{\expandafter\zap@space\beamer@test\@empty}% + \@temptokena{#2}% + \immediate\write\beamer@verbatimfileout{\beamer@test\the\@temptokena}% + \let\next=\beamer@processframeline% \fi% \next% } |