all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* porting guide from old to new beamer export?
@ 2015-08-30 23:02 Marko Schütz Schmuck
  2015-08-31  0:03 ` Suvayu Ali
  0 siblings, 1 reply; 13+ messages in thread
From: Marko Schütz Schmuck @ 2015-08-30 23:02 UTC (permalink / raw)
  To: Orgmode Mailing List

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

Dear All,

I have again tried (unsuccessfully in the time I was able to spend on
this) to switch to a newer version of org (tried ELPA as well as
8.2.4). The obstacle is always the beamer export. I have consulted the
documentation online, but by following the instructions there the
generated LaTeX does not use the frame environment at all. I did set
H:1, but no frames...

I would imagine I am not the only person struggling with this.

If someone knowledgeable about the two beamer exports could maybe put
together a "porting guide" that would really be great...

Thanks in advance,

Marko

[-- Attachment #2: OpenPGP Digital Signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-08-30 23:02 porting guide from old to new beamer export? Marko Schütz Schmuck
@ 2015-08-31  0:03 ` Suvayu Ali
  2015-08-31  8:11   ` Joseph Vidal-Rosset
  2015-08-31 17:23   ` Marko Schütz-Schmuck
  0 siblings, 2 replies; 13+ messages in thread
From: Suvayu Ali @ 2015-08-31  0:03 UTC (permalink / raw)
  To: emacs-orgmode

On Sun, Aug 30, 2015 at 07:02:51PM -0400, Marko Schütz Schmuck wrote:
> Dear All,
> 
> I have again tried (unsuccessfully in the time I was able to spend on
> this) to switch to a newer version of org (tried ELPA as well as
> 8.2.4). The obstacle is always the beamer export. I have consulted the
> documentation online, but by following the instructions there the
> generated LaTeX does not use the frame environment at all. I did set
> H:1, but no frames...

Which documentation did you look at?  The manual is very complete, and
if you want something more along the lines of a tutorial, see the
articles listed on this page:

  http://orgmode.org/worg/exporters/beamer/index.html

If you have specific questions, please feel free to ask.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-08-31  0:03 ` Suvayu Ali
@ 2015-08-31  8:11   ` Joseph Vidal-Rosset
  2015-08-31  8:32     ` Loris Bennett
  2015-08-31 17:23   ` Marko Schütz-Schmuck
  1 sibling, 1 reply; 13+ messages in thread
From: Joseph Vidal-Rosset @ 2015-08-31  8:11 UTC (permalink / raw)
  To: Liste-emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1135 bytes --]

Is it possible to get something like the CambridgeUS colortheme via the
org-export of beamer? I do not succeed to do it, it is always the same
theme.

Best wishes

Jo.

2015-08-31 2:03 GMT+02:00 Suvayu Ali <fatkasuvayu+linux@gmail.com>:

> On Sun, Aug 30, 2015 at 07:02:51PM -0400, Marko Schütz Schmuck wrote:
> > Dear All,
> >
> > I have again tried (unsuccessfully in the time I was able to spend on
> > this) to switch to a newer version of org (tried ELPA as well as
> > 8.2.4). The obstacle is always the beamer export. I have consulted the
> > documentation online, but by following the instructions there the
> > generated LaTeX does not use the frame environment at all. I did set
> > H:1, but no frames...
>
> Which documentation did you look at?  The manual is very complete, and
> if you want something more along the lines of a tutorial, see the
> articles listed on this page:
>
>   http://orgmode.org/worg/exporters/beamer/index.html
>
> If you have specific questions, please feel free to ask.
>
> Hope this helps,
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>
>

[-- Attachment #2: Type: text/html, Size: 1725 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-08-31  8:11   ` Joseph Vidal-Rosset
@ 2015-08-31  8:32     ` Loris Bennett
  2015-08-31  9:46       ` Suvayu Ali
  2015-09-01 19:11       ` Joseph Vidal-Rosset
  0 siblings, 2 replies; 13+ messages in thread
From: Loris Bennett @ 2015-08-31  8:32 UTC (permalink / raw)
  To: emacs-orgmode

Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:

> Is it possible to get something like the CambridgeUS colortheme via
> the org-export of beamer? I do not succeed to do it, it is always the
> same theme.
>
> Best wishes
>
> Jo. 

#+BEAMER_THEME: CambridgeUS

If that doesn't work, you should post a minimal working example which
illustrates the problem.

Cheers,

Loris

-- 
This signature is currently under construction.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-08-31  8:32     ` Loris Bennett
@ 2015-08-31  9:46       ` Suvayu Ali
  2015-09-01 19:11       ` Joseph Vidal-Rosset
  1 sibling, 0 replies; 13+ messages in thread
From: Suvayu Ali @ 2015-08-31  9:46 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, Aug 31, 2015 at 10:32:35AM +0200, Loris Bennett wrote:
> Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
> 
> > Is it possible to get something like the CambridgeUS colortheme via
> > the org-export of beamer? I do not succeed to do it, it is always the
> > same theme.
> >
> > Best wishes
> >
> > Jo. 
> 
> #+BEAMER_THEME: CambridgeUS
> 
> If that doesn't work, you should post a minimal working example which
> illustrates the problem.

Most of the standard stuff is quite extensively documented.  E.g. see
these:

- Manual: (info "(org) Beamer specific export settings")
  http://orgmode.org/manual/Beamer-specific-export-settings.html#Beamer-specific-export-settings
- Worg: http://orgmode.org/worg/exporters/beamer/ox-beamer.html#config

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-08-31  0:03 ` Suvayu Ali
  2015-08-31  8:11   ` Joseph Vidal-Rosset
@ 2015-08-31 17:23   ` Marko Schütz-Schmuck
  2015-08-31 20:50     ` Suvayu Ali
  1 sibling, 1 reply; 13+ messages in thread
From: Marko Schütz-Schmuck @ 2015-08-31 17:23 UTC (permalink / raw)
  To: emacs-orgmode

Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:

> 
> On Sun, Aug 30, 2015 at 07:02:51PM -0400, Marko Schütz Schmuck wrote:
> > Dear All,
> > 
> > I have again tried (unsuccessfully in the time I was able to spend on
> > this) to switch to a newer version of org (tried ELPA as well as
> > 8.2.4). The obstacle is always the beamer export. I have consulted the
> > documentation online, but by following the instructions there the
> > generated LaTeX does not use the frame environment at all. I did set
> > H:1, but no frames...
> 
> Which documentation did you look at?  The manual is very complete, and
> if you want something more along the lines of a tutorial, see the
> articles listed on this page:
> 
>   http://orgmode.org/worg/exporters/beamer/index.html
> 
> If you have specific questions, please feel free to ask.

Thanks for the link. I had used all of the documentation that are referenced
on that page.

I have uploaded a typical file with slides to http://pastebin.com/L2ss0hXG
and http://pastebin.com/D61eSkDq.

When I publish this to PDF with the new exporter the LaTeX file that is
generated does not use any frames http://pastebin.com/8jN6XeuE

Best regards

Marko

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-08-31 17:23   ` Marko Schütz-Schmuck
@ 2015-08-31 20:50     ` Suvayu Ali
  2015-09-01  0:19       ` Marko Schütz-Schmuck
  0 siblings, 1 reply; 13+ messages in thread
From: Suvayu Ali @ 2015-08-31 20:50 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, Aug 31, 2015 at 05:23:52PM +0000, Marko Schütz-Schmuck wrote:
> 
> Thanks for the link. I had used all of the documentation that are referenced
> on that page.
> 
> I have uploaded a typical file with slides to http://pastebin.com/L2ss0hXG
> and http://pastebin.com/D61eSkDq.
> 
> When I publish this to PDF with the new exporter the LaTeX file that is
> generated does not use any frames http://pastebin.com/8jN6XeuE

I think you are doing one of two things wrong.  Either your
org-latex-classes is incorrectly setup, or you are simply exporting to
latex instead of beamer (C-c C-e l b).  E.g. I get the following as the
first frame:

  \begin{frame}[label={sec:orgheadline1}]{linear search}
   %% stuff
  \end{frame}

My org-latex-classes has an entry like this:

 ("beamer" "\\documentclass[presentation]{beamer}"
  ("\\section{%s}" . "\\section*{%s}")
  ("\\subsection{%s}" . "\\subsection*{%s}")
  ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))

Does yours?

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-08-31 20:50     ` Suvayu Ali
@ 2015-09-01  0:19       ` Marko Schütz-Schmuck
  2015-09-01  7:06         ` Suvayu Ali
  0 siblings, 1 reply; 13+ messages in thread
From: Marko Schütz-Schmuck @ 2015-09-01  0:19 UTC (permalink / raw)
  To: emacs-orgmode

Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:

> 
> On Mon, Aug 31, 2015 at 05:23:52PM +0000, Marko Schütz-Schmuck wrote:
> > 
> > Thanks for the link. I had used all of the documentation that are referenced
> > on that page.
> > 
> > I have uploaded a typical file with slides to http://pastebin.com/L2ss0hXG
> > and http://pastebin.com/D61eSkDq.
> > 
> > When I publish this to PDF with the new exporter the LaTeX file that is
> > generated does not use any frames http://pastebin.com/8jN6XeuE
> 
> I think you are doing one of two things wrong.  Either your
> org-latex-classes is incorrectly setup, or you are simply exporting to
> latex instead of beamer (C-c C-e l b).  E.g. I get the following as the
> first frame:

Thanks, that helps a lot!

I did not have an option to export to beamer. I wasn't aware that I had to
require ox-beamer explicitly.

Now I notice that the new exporter makes frame titles like this

\begin{frame}[label=sec-8]{proving \hoareTriple{V}\{\(\textmath{merge}\)\}\{P\}}

where the old one generated this

\begin{frame}
\frametitle{proving \hoareTriple{V}{\(\textmath{merge}\)}{P}}
\label{sec-8}

The new exporter escaped some { and } that should not be escaped.

Would you also have a hint to solve that?

Thanks,

Marko

>   \begin{frame}[label={sec:orgheadline1}]{linear search}
>    %% stuff
>   \end{frame}
> 
> My org-latex-classes has an entry like this:
> 
>  ("beamer" "\\documentclass[presentation]{beamer}"
>   ("\\section{%s}" . "\\section*{%s}")
>   ("\\subsection{%s}" . "\\subsection*{%s}")
>   ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
> 
> Does yours?
> 



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-09-01  0:19       ` Marko Schütz-Schmuck
@ 2015-09-01  7:06         ` Suvayu Ali
  2015-09-01 18:15           ` Marko Schütz-Schmuck
  0 siblings, 1 reply; 13+ messages in thread
From: Suvayu Ali @ 2015-09-01  7:06 UTC (permalink / raw)
  To: emacs-orgmode

On Tue, Sep 01, 2015 at 12:19:32AM +0000, Marko Schütz-Schmuck wrote:
> Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:
> 
> > 
> > On Mon, Aug 31, 2015 at 05:23:52PM +0000, Marko Schütz-Schmuck wrote:
> > > 
> > > Thanks for the link. I had used all of the documentation that are referenced
> > > on that page.
> > > 
> > > I have uploaded a typical file with slides to http://pastebin.com/L2ss0hXG
> > > and http://pastebin.com/D61eSkDq.
> > > 
> > > When I publish this to PDF with the new exporter the LaTeX file that is
> > > generated does not use any frames http://pastebin.com/8jN6XeuE
> > 
> > I think you are doing one of two things wrong.  Either your
> > org-latex-classes is incorrectly setup, or you are simply exporting to
> > latex instead of beamer (C-c C-e l b).  E.g. I get the following as the
> > first frame:
> 
> Thanks, that helps a lot!
> 
> I did not have an option to export to beamer. I wasn't aware that I had to
> require ox-beamer explicitly.

Okay good.

> Now I notice that the new exporter makes frame titles like this
> 
> \begin{frame}[label=sec-8]{proving \hoareTriple{V}\{\(\textmath{merge}\)\}\{P\}}
> 
> where the old one generated this
> 
> \begin{frame}
> \frametitle{proving \hoareTriple{V}{\(\textmath{merge}\)}{P}}
> \label{sec-8}
> 
> The new exporter escaped some { and } that should not be escaped.

The new exporter tries to preserve special characters whenever it
doesn't recognise a latex snippet.  To ensure they are not escaped as
special characters, you should use export snippets.  Try:

  @@latex:\hoareTriple{V}{@@\(\textmath{merge}\)@@latex:}{P}@@

See the help string for org-export-snippet-translation-alist.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-09-01  7:06         ` Suvayu Ali
@ 2015-09-01 18:15           ` Marko Schütz-Schmuck
  0 siblings, 0 replies; 13+ messages in thread
From: Marko Schütz-Schmuck @ 2015-09-01 18:15 UTC (permalink / raw)
  To: emacs-orgmode

Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:

[..]
>    <at>  <at> latex:\hoareTriple{V}{ <at>  <at> \(\textmath{merge}\) <at>
 <at> latex:}{P} <at>  <at> 
> 
> See the help string for org-export-snippet-translation-alist.
> 
> Hope this helps,

Yes!! It does help a lot! Thank you very much.

Best regards,

Marko

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-08-31  8:32     ` Loris Bennett
  2015-08-31  9:46       ` Suvayu Ali
@ 2015-09-01 19:11       ` Joseph Vidal-Rosset
  2015-09-02  9:05         ` Suvayu Ali
  2015-09-02 11:13         ` Eric S Fraga
  1 sibling, 2 replies; 13+ messages in thread
From: Joseph Vidal-Rosset @ 2015-09-01 19:11 UTC (permalink / raw)
  To: Loris Bennett; +Cc: Liste-emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

2015-08-31 10:32 GMT+02:00 Loris Bennett <loris.bennett@fu-berlin.de>:

> #+BEAMER_THEME: CambridgeUS
>
> If that doesn't work, you should post a minimal working example which
> illustrates the problem.
>


I must say to the list that the code that solves my problem is given in
Eric Fraga's tutorial:

#+latex_header:
\mode<beamer>{\usetheme{CambridgeUS}\usepackage{beamer_udl_theme}}

where the last \usepackage refers to a personal customization of
CambridgeUS theme.

Now I meet a new problem : what is the org-mode code to export this Latex
code that customizes the frame of the title page? :

\begin{frame}
\titlepage
\begin{center}
\includegraphics[height=1cm,width=1cm]{cnrs_noir}~~
\includegraphics[height=1cm,width=1cm]{logo}~
\includegraphics[height=1cm,width=1cm]{logo-udl}
\end{center}
\end{frame}

Best wishes

Jo.

[-- Attachment #2: Type: text/html, Size: 1479 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-09-01 19:11       ` Joseph Vidal-Rosset
@ 2015-09-02  9:05         ` Suvayu Ali
  2015-09-02 11:13         ` Eric S Fraga
  1 sibling, 0 replies; 13+ messages in thread
From: Suvayu Ali @ 2015-09-02  9:05 UTC (permalink / raw)
  To: emacs-orgmode

On Tue, Sep 01, 2015 at 09:11:36PM +0200, Joseph Vidal-Rosset wrote:
> 2015-08-31 10:32 GMT+02:00 Loris Bennett <loris.bennett@fu-berlin.de>:
> 
> > #+BEAMER_THEME: CambridgeUS
> >
> > If that doesn't work, you should post a minimal working example which
> > illustrates the problem.
> >
> 
> 
> I must say to the list that the code that solves my problem is given in
> Eric Fraga's tutorial:
> 
> #+latex_header:
> \mode<beamer>{\usetheme{CambridgeUS}\usepackage{beamer_udl_theme}}

If using the BEAMER_THEME keyword option does not work for you, please
submit a bug report with a minimal working example demonstrating the
bug.

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: porting guide from old to new beamer export?
  2015-09-01 19:11       ` Joseph Vidal-Rosset
  2015-09-02  9:05         ` Suvayu Ali
@ 2015-09-02 11:13         ` Eric S Fraga
  1 sibling, 0 replies; 13+ messages in thread
From: Eric S Fraga @ 2015-09-02 11:13 UTC (permalink / raw)
  To: Joseph Vidal-Rosset; +Cc: Liste-emacs-orgmode@gnu.org

On Tuesday,  1 Sep 2015 at 21:11, Joseph Vidal-Rosset wrote:
> 2015-08-31 10:32 GMT+02:00 Loris Bennett <loris.bennett@fu-berlin.de>:
>
>> #+BEAMER_THEME: CambridgeUS
>>
>> If that doesn't work, you should post a minimal working example which
>> illustrates the problem.
>>
>
>
> I must say to the list that the code that solves my problem is given in
> Eric Fraga's tutorial:
>
> #+latex_header:
> \mode<beamer>{\usetheme{CambridgeUS}\usepackage{beamer_udl_theme}}

I'm glad my tutorial helped but I am surprised you needed to do
this.  Can you please post a minimal example that fails when using the
"#+beamer_theme:" construct as suggested by Loris above?  This
definitely works for me.

Also, what version of org?  (M-x org-version RET)

> Now I meet a new problem : what is the org-mode code to export this Latex
> code that customizes the frame of the title page? :
>
> \begin{frame}
> \titlepage
> \begin{center}
> \includegraphics[height=1cm,width=1cm]{cnrs_noir}~~
> \includegraphics[height=1cm,width=1cm]{logo}~
> \includegraphics[height=1cm,width=1cm]{logo-udl}
> \end{center}
> \end{frame}

For customisation of the title page, I tend to use the #+date: header
and put whatever LaTeX I want there.  For instance, for a conference I
am presenting at next week, I have done:

#+begin_src org
  ,#+date: 8 September 2015 @@latex:\\@@ Carbon dioxide utilisation @@latex:\\@@ Faraday Discussions
#+end_src

You could easily put your graphics within a @@latex:...@@ construct in
the DATE header.

HTH,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-188-g410ea6

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-09-02 11:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-30 23:02 porting guide from old to new beamer export? Marko Schütz Schmuck
2015-08-31  0:03 ` Suvayu Ali
2015-08-31  8:11   ` Joseph Vidal-Rosset
2015-08-31  8:32     ` Loris Bennett
2015-08-31  9:46       ` Suvayu Ali
2015-09-01 19:11       ` Joseph Vidal-Rosset
2015-09-02  9:05         ` Suvayu Ali
2015-09-02 11:13         ` Eric S Fraga
2015-08-31 17:23   ` Marko Schütz-Schmuck
2015-08-31 20:50     ` Suvayu Ali
2015-09-01  0:19       ` Marko Schütz-Schmuck
2015-09-01  7:06         ` Suvayu Ali
2015-09-01 18:15           ` Marko Schütz-Schmuck

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.