From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Beamer export: one question and one bug Date: Sat, 26 Oct 2013 21:31:23 -0400 Message-ID: <87hac3lct0.fsf@gmail.com> References: <87a9hxmujd.fsf@syk.fi> <87bo2drxfp.fsf@gmail.com> <87ob6cts64.fsf@syk.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaFCi-0001Hj-4K for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 21:31:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VaFCc-0003vf-4E for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 21:31:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:44772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaFCb-0003vO-TO for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 21:31:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VaFCa-0008J7-FR for emacs-orgmode@gnu.org; Sun, 27 Oct 2013 02:31:36 +0100 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Oct 2013 02:31:36 +0100 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Oct 2013 02:31:36 +0100 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 Jarmo Hurri writes: > Greetings! > > Nicolas Goaziou 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