From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Section between #+latex: declarations not converted during export Date: Mon, 14 Mar 2011 08:56:26 -0400 Message-ID: <877hc1n9mt.fsf@fastmail.fm> References: <87r5abi1tn.fsf@fastmail.fm> <16171.1300046397@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=54527 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pz7K3-0005vN-Ng for emacs-orgmode@gnu.org; Mon, 14 Mar 2011 08:56:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pz7K2-00016G-DS for emacs-orgmode@gnu.org; Mon, 14 Mar 2011 08:56:31 -0400 Received: from out5.smtp.messagingengine.com ([66.111.4.29]:33742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pz7K2-00014u-5K for emacs-orgmode@gnu.org; Mon, 14 Mar 2011 08:56:30 -0400 In-Reply-To: <16171.1300046397@alphaville.dokosmarshall.org> (Nick Dokos's message of "Sun, 13 Mar 2011 15:59:57 -0400") 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: nicholas.dokos@hp.com Cc: Org Mode Nick Dokos writes: > Matt Lundin wrote: > >> In the following example... >> >> * Testing >> #+latex: \custommacro{% >> [[http:www.google.com][Google]] >> /The quick brown fox./ >> #+latex: } >> >> ...the lines between the latex declarations are not exported: >> > The opening brace in the `#+ latex:' line confuses something. > My usual workaround is to fake a closing brace in the comment: > > * Testing > #+latex: \custommacro{% fake it out } > [[http:www.google.com][Google]] > /The quick brown fox./ > #+latex: } > > > which produces > > \section{Testing} > \label{sec-1} > > \custommacro{% fake it out } > \href{http:www.google.com}{Google} > \emph{The quick brown fox.} > } Thanks for the tip! It's simple enough to add an extra parenthesis there. Best, Matt