From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: [PATCH] Protect starred commands in LaTeX export correctly Date: Wed, 23 Mar 2011 19:28:57 +0800 Message-ID: <87hbaudqiu.fsf@ericabrahamsen.net> References: <87lj06fpjr.fsf@ericabrahamsen.net> <87mxkmp5y6.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=41316 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2MFV-0000aY-5e for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 07:29:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2MFT-0002Gq-5L for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 07:29:12 -0400 Received: from lo.gmane.org ([80.91.229.12]:57933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2MFS-0002GI-W6 for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 07:29:11 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q2MFQ-0007FE-O9 for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 12:29:08 +0100 Received: from 123.121.214.111 ([123.121.214.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Mar 2011 12:29:08 +0100 Received: from eric by 123.121.214.111 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Mar 2011 12:29:08 +0100 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: emacs-orgmode@gnu.org Lawrence Mitchell writes: > * lisp/org-latex.el (org-export-latex-preprocess): Correctly > match starred command names. > > Many LaTeX commands exist in both normal and starred forms. Adjust > the regexp in `org-export-latex-preprocess' to match the starred form > as well. Awesome! This seems like a good idea. Though the other Eric's suggestion just to use #+LATEX of course worked perfectly, I'm not sure why I thought I needed #+TEXT in order to place the text before the first headline… Eric