From mboxrd@z Thu Jan 1 00:00:00 1970 From: LanX Subject: Tutorial for Beamer export seems to lack settings Date: Sat, 6 Aug 2011 16:25:27 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00504502cc5a4cc03604a9d6fc06 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qphog-0000wz-Ii for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 10:25:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qphof-0005AM-E9 for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 10:25:30 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:42911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qphof-0005AI-7h for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 10:25:29 -0400 Received: by pzk36 with SMTP id 36so5742204pzk.17 for ; Sat, 06 Aug 2011 07:25:27 -0700 (PDT) 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --00504502cc5a4cc03604a9d6fc06 Content-Type: text/plain; charset=ISO-8859-1 Hi Guys, 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. Cheers Rolf --00504502cc5a4cc03604a9d6fc06 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Guys,

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=A0 needed to add =A0=A0=A0=A0=A0 \usepackage{hyperref} in
Org-= Export-Latex-Classes to make #+begin_src work.

Are the settings of <= a href=3D"http://emacs-fu.blogspot.com/2009/10/writing-presentations-with-o= rg-mode-and.html">http://emacs-fu.blogspot.com/2009/10/writing-presentation= s-with-org-mode-and.html necessary to use this tutorial?

Also
#+BEAMER_FRAME_LEVEL: 3
doesn't seem to work for me... = no subsections are generated.

Cheers
=A0 Rolf
--00504502cc5a4cc03604a9d6fc06-- 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 17:07:47 +0200 Message-ID: <80y5z6inng.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: > 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 -- Sebastien Vauban From mboxrd@z Thu Jan 1 00:00:00 1970 From: LanX Subject: Re: Tutorial for Beamer export seems to lack settings Date: Sat, 6 Aug 2011 17:31:46 +0200 Message-ID: References: <80y5z6inng.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd150f870d08804a9d7e97a Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qpiqr-0005jf-5l for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 11:31:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qpiqp-0000cJ-PH for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 11:31:49 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:45240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qpiqp-0000cD-Gs for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 11:31:47 -0400 Received: by pzk36 with SMTP id 36so5822842pzk.17 for ; Sat, 06 Aug 2011 08:31:46 -0700 (PDT) In-Reply-To: <80y5z6inng.fsf@somewhere.org> 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: emacs-orgmode@gnu.org --000e0cd150f870d08804a9d7e97a Content-Type: text/plain; charset=ISO-8859-1 ECM? The worg tutorial has an example using #+begin_src which should be translated into \begin{lstlisting} environments in latex. namely: #+begin_src octave A = [1 2 ; 3 4] b = [1; 1]; x = 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. I'm using gnu-emacs 23.1.50.1. 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 > > -- > Sebastien Vauban > > > --000e0cd150f870d08804a9d7e97a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable ECM?

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=A0 necessary package is not im= ported, namely =A0 "\usepackage{listings}"

I was able to s= olve the other problem with BEAMER_FRAME_LEVEL=A0 adding "\subsection{= %s}" to Org-Export-Latex-Classes.

I'm using=A0 gnu-emacs 23.1.50.1.

It seems like some auto-co= nfigurations of the latex-classes are not initialized.

If I'm th= e only one experiencing this problem I will try to set up a new emacs insta= nce to test it.

Cheers
=A0 Rolf
2011/8/6 Sebastien Vauban <<= a href=3D"mailto:wxhgmqzgwmuf@spammotel.com">wxhgmqzgwmuf@spammotel.com= >
Hi LanX,

LanX wrote:
> maybe I'm missing something but the examples in
>
> http://orgmode.org/worg/org-tutorials/org-beamer/tut= orial.html
>
> don't seem to work with a normal org-mode 7.7 installation.
>
> For instance =A0needed to add =A0 =A0 =A0 \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) tha= t allows us to
reproduce the above problems?

Best regards,
=A0Seb

--
Sebastien Vauban



--000e0cd150f870d08804a9d7e97a-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: LanX Subject: Re: Tutorial for Beamer export seems to lack settings Date: Sat, 6 Aug 2011 18:52:20 +0200 Message-ID: References: <80y5z6inng.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd1521e98d7a304a9d909b8 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qpk6p-00020E-Co for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 12:52:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qpk6n-0005hF-UQ for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 12:52:23 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:60450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qpk6n-0005eW-Jg for emacs-orgmode@gnu.org; Sat, 06 Aug 2011 12:52:21 -0400 Received: by mail-pz0-f44.google.com with SMTP id 36so5918859pzk.17 for ; Sat, 06 Aug 2011 09:52:20 -0700 (PDT) In-Reply-To: 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: emacs-orgmode@gnu.org --000e0cd1521e98d7a304a9d909b8 Content-Type: text/plain; charset=ISO-8859-1 seems like I found the solution, see * Org Export Latex Listings: ... If you want to use this, you also need to make LaTeX use the listings package, and if you want to have color, the color package. Just add these to `org-export-latex-packages-alist', for example using customize, or with something like (require 'org-latex) (add-to-list 'org-export-latex-packages-alist '("" "listings")) (add-to-list 'org-export-latex-packages-alist '("" "color")) maybe this should be mentioned in the tutorial. Actually I don't understand why this flag doesn't automatically include the latex-package listings. Nevermind the other problem with BEAMER_FRAME_LEVEL, it was a consequence of trying to solve the former one. Cheers Rolf 2011/8/6 LanX > ECM? > > The worg tutorial has an example using #+begin_src which should be > translated into \begin{lstlisting} environments in latex. > > namely: > > #+begin_src octave > A = [1 2 ; 3 4] > b = [1; 1]; > > x = 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. > > I'm using gnu-emacs 23.1.50.1. > > 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 >> >> -- >> Sebastien Vauban >> >> >> > --000e0cd1521e98d7a304a9d909b8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable seems like I found the solution, see

* Org Export Latex Listings: ...
=A0=A0 If you want to use this, you also need to make LaTeX use th= e
=A0=A0 listings package, and if you want to have color, the color
= =A0=A0 package.=A0 Just add these to `org-export-latex-packages-alist',=
=A0=A0 for example using customize, or with something like
=A0=A0
= =A0=A0=A0=A0 (require 'org-latex)
=A0=A0=A0=A0 (add-to-list 'org= -export-latex-packages-alist '("" "listings"))
= =A0=A0=A0=A0 (add-to-list 'org-export-latex-packages-alist '("= " "color"))
=A0=A0
maybe this should be mentioned in the tutorial.

Actually = I don't understand why this flag doesn't automatically include the = latex-package listings.

Nevermind the other problem with BEAMER_FRAM= E_LEVEL, it was a consequence of trying to solve the former one.

Cheers
=A0 Rolf

2011/8/6 LanX <lanx.perl@goo= glemail.com>
ECM?

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=A0 necessary package is not im= ported, namely =A0 "\usepackage{listings}"

I was able to s= olve the other problem with BEAMER_FRAME_LEVEL=A0 adding "\subsection{= %s}" to Org-Export-Latex-Classes.

I'm using=A0 gnu-emacs 23.1.50.1.

It seems like some auto-co= nfigurations of the latex-classes are not initialized.

If I'm th= e only one experiencing this problem I will try to set up a new emacs insta= nce to test it.

Cheers
=A0 Rolf

2011/8/6 Sebast= ien Vauban <wxhgmqzgwmuf@spammotel.com>
Hi LanX,

LanX wrote:
> maybe I'm missing something but the examples in
>
> http://orgmode.org/worg/org-tutorials/org-beamer/tut= orial.html
>
> don't seem to work with a normal org-mode 7.7 installation.
>
> For instance =A0needed to add =A0 =A0 =A0 \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) tha= t allows us to
reproduce the above problems?

Best regards,
=A0Seb

--
Sebastien Vauban




--000e0cd1521e98d7a304a9d909b8-- 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 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:58:11 +0200 Message-ID: <807h6qiczg.fsf@somewhere.org> References: <80y5z6inng.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: > seems like I found the solution, see I'm glad. > * Org Export Latex Listings: > ... > If you want to use this, you also need to make LaTeX use the > listings package, and if you want to have color, the color > package. Just add these to `org-export-latex-packages-alist', > for example using customize, or with something like > > (require 'org-latex) > (add-to-list 'org-export-latex-packages-alist '("" "listings")) > (add-to-list 'org-export-latex-packages-alist '("" "color")) > > maybe this should be mentioned in the tutorial. > > Actually I don't understand why this flag doesn't automatically include the > latex-package listings. What do you mean by flag? Those packages? Yes, on one side, I agree it'd be better if they'd been included by default. Though, some people use other packages to provide support for coloring code in LaTeX, namely minted. Hence... no default choice, to allow everybody to choose what he prefers. > Nevermind the other problem with BEAMER_FRAME_LEVEL, it was a consequence of > trying to solve the former one. Excellent! Best regards, Seb -- Sebastien Vauban