From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Oddity in LaTeX export? Date: Sun, 13 Dec 2009 02:35:07 -0500 Message-ID: <29794.1260689707@gamaville.dokosmarshall.org> References: <4B24803F.7090402@comcast.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJk6F-0002tM-RA for emacs-orgmode@gnu.org; Sun, 13 Dec 2009 03:46:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJk6B-0002rq-BW for emacs-orgmode@gnu.org; Sun, 13 Dec 2009 03:46:43 -0500 Received: from [199.232.76.173] (port=43046 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJk6B-0002rn-7I for emacs-orgmode@gnu.org; Sun, 13 Dec 2009 03:46:39 -0500 Received: from vms173017pub.verizon.net ([206.46.173.17]:61976) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJk6A-0006xv-U1 for emacs-orgmode@gnu.org; Sun, 13 Dec 2009 03:46:39 -0500 Received: from gamaville.dokosmarshall.org ([173.76.32.106]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KUK00IG6YD5UIG1@vms173017.mailsrvcs.net> for emacs-orgmode@gnu.org; Sun, 13 Dec 2009 01:34:23 -0600 (CST) In-reply-to: Message from Mark Elston of "Sat, 12 Dec 2009 21:48:47 PST." <4B24803F.7090402@comcast.net> 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: Mark Elston Cc: org-mode emacs-orgmode Mark Elston wrote: > I have a standard format I like to use in creating some class notes > in latex. I use memoir and have a boilerplate that only differs > in the title from notes to notes. I have decided to try to manage > my documentation for my notes in org to see if it is easier to do. > Mostly (so far) it is a pretty good match. > > However, I have run into a snag for exporting the notes to latex. > I tried using the #+TITLE: directive but got page numbers (in roman) > on the first couple of pages. This looked ugly. Can you post the tex file that is produced with the TITLE directive? I don't understand why/how roman page numbers are produced (but I don't know memoir well). > So I set the#+TITLE: directive to be empty and added to the #+TEXT: block > the following: > > #+TEXT: \title{ABC Class Notes} > #+TEXT: \begin{titlingpage} > #+TEXT: \maketitle > #+TEXT: \end{titlingpage} > > This almost works. The problem is the first of these lines gets > exported with the closing '}' escaped. In other words it comes > out as: > > \title{ABC Class Notes\} > > I am not sure why this is or what to do about it. This is probably a bug - Carsten has fixed a number of instances of such escaped braces I believe. > > BTW, I had to set the TITLE directive to empty since just having it > resulted in an automatic \maketitle export which was not surrounded > by the titlingpage environment. I really wanted that titlingpage > environment and I couldn't think of another way of handling it. > You can perhaps redefine org-export-latex-title-command: (setq org-export-latex-title-command "\\begin{titlingpage}\n\\maketitle\n\\end{titlingpage}") and try using the TITLE directive again. I'm surmising that this had something to do with the roman page numbers, but maybe that's wrong? HTH, Nick