From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: LaTeX export bugs? Date: Fri, 03 Jul 2009 12:52:26 -0400 Message-ID: <13216.1246639946@gamaville.dokosmarshall.org> References: <87vdmjglto.fsf@mundaneum.com> <874otwduhr.fsf@mundaneum.com> <9854.1246500519@gamaville.dokosmarshall.org> <87vdma17oz.fsf@mundaneum.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMm1J-0002CV-PM for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 12:53:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMm1F-0002Bb-Rq for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 12:53:53 -0400 Received: from [199.232.76.173] (port=58629 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMm1F-0002BO-Gn for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 12:53:49 -0400 Received: from vms173017pub.verizon.net ([206.46.173.17]:41884) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMm1F-0002ke-0b for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 12:53:49 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.221]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KM70073WTIIYTJ0@vms173017.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 03 Jul 2009 11:51:55 -0500 (CDT) In-reply-to: Message from =?utf-8?Q?S=C3=A9bastien_Vauban?= of "Fri, 03 Jul 2009 10:39:40 +0200." <87vdma17oz.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien_Vauban?= Cc: emacs-orgmode@gnu.org =?utf-8?Q?S=C3=A9bastien_Vauban?= wrote: > > Weird. Having done the above `add-to-list' in Emacs (with `C-x C-e'), > I got a different exported file than yours. But really different: > > --8<---------------cut here---------------start------------->8--- > ... > --8<---------------cut here---------------end--------------->8--- > > There is no text, in fact... > Don't understand why... > > I don't understand why either, but it may be some setting in my setup or your setup that leads to the different behavior. In case it matters, I use the following versions: GNU Emacs 23.0.93.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-05-11 on gamaville.dokosmarshall.org Org-mode version 6.28trans - git latest (more or less). Here is an even more simplified version, using a variation of Bernt Hansen's minimal .emacs. This version of slides.org takes care of the zapping of the TOC at the org level, and the beamer section in minimal.emacs gets rid of the third level Notes headlines (which cannot work this way, in any case). I checked with emacs -Q -l minimal.emacs slides.org exported to latex, and ran the latex file through pdflatex a couple of times. The resulting PDF file seems to work for me. Can you try it out? Thanks, Nick Here's the minimal.emacs - you'll need to adjust the load path for your setup: ,---- | (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/lisp")) | (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode)) | (require 'org-install) | (global-set-key "\C-cl" 'org-store-link) | (global-set-key "\C-ca" 'org-agenda) | (global-set-key "\C-cb" 'org-iswitchb) | (setq org-log-done (quote time)) | (setq org-log-into-drawer t) | | (load "org-exp") | (load "org-latex") | | (add-to-list 'org-export-latex-classes | '("beamer" | "\\documentclass[11pt]{beamer} | \\usepackage[utf8]{inputenc} | \\usepackage[T1]{fontenc} | \\usepackage{hyperref} | \\usepackage{verbatim} | \\setbeameroption{show notes} | \\usetheme{Goettingen} | \\useoutertheme{infolines}" | ("\\begin{frame}\\frametitle{%s}\\begin{itemize}" "\\end{itemize}\\end{frame}" | "\\begin{frame}\\frametitle{%s}\\begin{itemize}" "\\end{itemize}\\end{frame}") | ("\\item{%s}" . "\\item*{%s}") | ) | ) `---- and here's slides.org: ,---- | #+LaTeX_CLASS: beamer | #+TITLE: Example presentation | #+AUTHOR: Nick Dokos \\ $<$\href{mailto:nicholas.dokos@hp.com}{nicholas.dokos@hp.com}$>$ | #+EMAIL: nicholas.dokos@hp.com | #+OPTIONS: toc:nil H:2 | | * Why | ** Reason 1. | Text explaining reason #1. | ** Reason 2. | ... more explanations. | ** Reason 3. | Blah, blah, blah. | | ** Reason 4. | Why not? | | * What | ** First piece. | ** Second piece. | ** Third piece. | ** Fourth piece. `----