From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: Re: Several questions about beamer export Date: Fri, 12 Jul 2013 07:16:56 +0200 Message-ID: <874nc0we5z.fsf@free.fr> References: <87li5cwymc.fsf@free.fr> <87vc4g4g5p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxVjI-0004h2-O2 for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 01:17:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxVjH-0007xm-Qu for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 01:17:16 -0400 Received: from plane.gmane.org ([80.91.229.3]:37064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxVjH-0007xR-KJ for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 01:17:15 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UxVjE-0002Gt-Rk for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 07:17:12 +0200 Received: from 37.161.107.196 ([37.161.107.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jul 2013 07:17:12 +0200 Received: from j.cubizolles by 37.161.107.196 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jul 2013 07:17:12 +0200 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 Nick Dokos writes: > Julien Cubizolles writes: > >> ... >> * All the headers I add end up on the same line when I define them like >> in the following (even with an empty line). >> >> #+LATEX_HEADER_EXTRA: \institute{My Institure} >> >> #+LATEX_HEADER:\usepackage{mypackage} >> >> The LaTeX file produced is not very readable. How can I produce >> linebreaks between different LATEX_HEADER entriesĀ ? >> > > You need to modify the code to get them: that's probably an omission > (ngz will probably respond in much more detail than I can). They are > only cosmetic of course, but if you have to have them, you can try > adding them in org-beamer-template around line 880: > > (concat (plist-get info :latex-header) > "\n" > (plist-get info :latex-header-extra) > "\n" > (plist-get info :beamer-header-extra) > "\n"))) Let's make it an improvement suggestion then: getting \usepackage{} and \date{} commands mixed in the LaTeX file isn't very nice. > The problem with this is that the newlines are added even if the > various items are empty, so you may end up with more newlines than > are necessary. I'd personally prefer having empty lines instead of everything on the same line. Julien.