emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Beamer export: one question and one bug


From: Nick Dokos
Subject: Re: [O] Beamer export: one question and one bug
Date: Sat, 26 Oct 2013 21:31:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Jarmo Hurri <address@hidden> writes:

> Greetings!
>
> Nicolas Goaziou <address@hidden> writes:
>
>>> 1. First the question: when I export the org file below as Beamer (C-c
>>>    C-e l O), I get an empty outline. How do I fix this?
>>
>> I cannot reproduce it. What happens with "-q"?
>
> The same thing: an empty outline.
>

Seems to work fine for me with the older version that I was running,
but I upgraded to latest and I get the beamer presentation I expected.

> To be exact, I ran "emacs -q" and the executed the following commands
> before loading the org-file, in order to use the newest version of org:
>
> (setq load-path (cons "/home/jarmo/addons/emacs-packages/org/lisp" load-path))
> (require 'org)
> (require 'ox-beamer)
>
> Maybe this is related to TeX version? Mine is
>
> TeX 3.1415926 (TeX Live 2013)
>

My TeX says 

This is TeX, Version 3.1415926 (TeX Live 2009/Debian)

but I don't know whether that explains it.

>>> 2. Then the bug. If you remove the comment character in the second
>>>    slide, Beamer export gives an error, while a regular LaTeX export
>>>    (C-c C-e l o) produced output.
>> The export process doesn't unencode hexified links, so the problem
>> doesn't come from the equality sign but from the percent one.
>
> Ok.
>
>> This problem was discussed recently (look for a thread named "Encoding
>> Problem in export?" on the ML), but, IIRC, no solution was found.
>
> I will read through the thread, but at the moment I don't understand why
> the Beamer export behaves differently than the regular LaTeX export.
>

Export to Latex produces

\section{And this is the second slide}
\label{sec-2}
\begin{itemize}
\item with one commented item\ldots{}
\item \ldots{} containing a \href{https://www.google.com/#q%3Dorg%2Bmode}{link} 
that will amaze the reader
\end{itemize}

Export to beamer produces

\begin{frame}[label=sec-2]{And this is the second slide}
\begin{itemize}
\item with one commented item\ldots{}
\item \ldots{} containing a \href{https://www.google.com/#q%3Dorg%2Bmode}{link} 
that will amaze the reader
\end{itemize}
\end{frame}

so the link is treated exactly the same in the two cases. Probably the
enclosing environment (\section vs \frame) is what causes the different
behavior.
-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]