emacs-orgmode
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Orgmode] False footnotes in Perlcode for Beamerslides
From
:
LanX
Subject
:
[Orgmode] False footnotes in Perlcode for Beamerslides
Date
:
Fri, 3 Sep 2010 18:42:18 +0200
Hi Folks
I'm trying to produce a beamer presentation including perl source code.
I'm using the patter from
http://emacs-fu.blogspot.com/2009/10/writing-presentations-with-org-mode-and.html
to get some Syntax highlighting.
My problem is that org-mode parses $_[0] as footnotes!
Switching to
#+begin_src perl
solves the problem but without syntax highlighting.
Any help appreciated! (my talk is tomorrow :)
Especially, is there a simple way to setup begin_src such that it uses
\begin{lstlisting}[language=Perl]
instead of
\begin{verbatim}
?
Bye
rolf
#+LaTeX_CLASS: beamer
#+MACRO: beamermode presentation
#+MACRO: beamertheme Singapore
#+MACRO: beamercolortheme lily
#+MACRO: beamersubject RMRF
* test2
#+begin_src perl
sub swap {
($_[0],$_[1]) = ($_[1],$_[0])
};
($a,$b)=(1,2);
swap($a,$b);
print $a,$b; # 21
sub swap { @_[0,1] = @_[1,0] }; #elegantere Alternative
#+end_src perl
* Test1
#+begin_LaTeX
\begin{lstlisting}[language=Perl]
sub swap {
($_[0],$_[1]) = ($_[1],$_[0])
};
($a,$b)=(1,2);
swap($a,$b);
print $a,$b; # 21
sub swap { @_[0,1] = @_[1,0] }; #elegantere Alternative
\end{lstlisting}
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
[Orgmode] False footnotes in Perlcode for Beamerslides
,
LanX
<=
Prev by Date:
Re: [Orgmode] horiontal alignment of tables in latex export?
Next by Date:
[Orgmode] Re: "Interactive" Search in Agenda
Previous by thread:
[Orgmode] horiontal alignment of tables in latex export?
Next by thread:
[Orgmode] Re: SOLVED False footnotes in Perlcode for Beamerslides
Index(es):
Date
Thread