From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Tutorial for Beamer export seems to lack settings Date: Sat, 06 Aug 2011 20:55:28 +0200 Message-ID: <80bow2id3z.fsf@somewhere.org> References: <80y5z6inng.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi LanX, LanX wrote: > ECM? See http://orgmode.org/worg/org-faq.html#ecm. This is an French acronym I t= ry to push in this ML=C2=A0;-) > The worg tutorial has an example using #+begin_src which should be > translated into \begin{lstlisting} environments in latex. > > namely: > > #+begin_src octave > A =3D [1 2 ; 3 4] > b =3D [1; 1]; > x =3D A\b > #+end_src > > But when I check the corresponding latexcode (C-c C-e L) the necessary > package is not imported, namely "\usepackage{listings}" > > I was able to solve the other problem with BEAMER_FRAME_LEVEL adding > "\subsection{%s}" to Org-Export-Latex-Classes. Euh, you should not (need to) edit `org-export-latex-classes'. I'm not sure why you need it. Maybe providing us with such an ECM would allow us to see = if you include the right header options. > I'm using gnu-emacs 23.1.50.1. So do I. > It seems like some auto-configurations of the latex-classes are not > initialized. > > If I'm the only one experiencing this problem I will try to set up a new > emacs instance to test it. > > Cheers > Rolf > 2011/8/6 Sebastien Vauban > >> Hi LanX, >> >> LanX wrote: >> > maybe I'm missing something but the examples in >> > >> > http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html >> > >> > don't seem to work with a normal org-mode 7.7 installation. >> > >> > For instance needed to add \usepackage{hyperref} in >> > Org-Export-Latex-Classes to make #+begin_src work. >> > >> > Are the settings of >> > >> http://emacs-fu.blogspot.com/2009/10/writing-presentations-with-org-mode= -and.htmlnecessary >> > to use this tutorial? >> > >> > Also >> > #+BEAMER_FRAME_LEVEL: 3 >> > doesn't seem to work for me... no subsections are generated. >> >> Could you send us an ECM (complete, but... minimal example) that allows = us >> to reproduce the above problems? Best regards, Seb --=20 Sebastien Vauban