From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Section between #+latex: declarations not converted during export Date: Sun, 13 Mar 2011 15:59:57 -0400 Message-ID: <16171.1300046397@alphaville.dokosmarshall.org> References: <87r5abi1tn.fsf@fastmail.fm> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=52985 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyrSm-0001BQ-Vh for emacs-orgmode@gnu.org; Sun, 13 Mar 2011 16:00:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PyrSl-0001qG-Q8 for emacs-orgmode@gnu.org; Sun, 13 Mar 2011 16:00:28 -0400 Received: from vms173001pub.verizon.net ([206.46.173.1]:36283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PyrSl-0001q2-Mp for emacs-orgmode@gnu.org; Sun, 13 Mar 2011 16:00:27 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LI000LH7I7X1P90@vms173001.mailsrvcs.net> for emacs-orgmode@gnu.org; Sun, 13 Mar 2011 15:00:10 -0500 (CDT) In-reply-to: Message from Matt Lundin of "Sun, 13 Mar 2011 09:31:48 EDT." <87r5abi1tn.fsf@fastmail.fm> 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: Matt Lundin Cc: nicholas.dokos@hp.com, Org Mode 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: > > \section{Testing} > \label{sec-1} > > \custommacro{% > [[http:www.google.com][Google]] > /The quick brown fox./ > } > > I would expect this behavior with "#+begin_latex:...#+end_latex", but > not with "#+latex". > The opening brace in the `#+ latex:' line confuses something. My usual workaround is to fake a closing brace in the comment: --8<---------------cut here---------------start------------->8--- * Testing #+latex: \custommacro{% fake it out } [[http:www.google.com][Google]] /The quick brown fox./ #+latex: } --8<---------------cut here---------------end--------------->8--- which produces --8<---------------cut here---------------start------------->8--- \section{Testing} \label{sec-1} \custommacro{% fake it out } \href{http:www.google.com}{Google} \emph{The quick brown fox.} } --8<---------------cut here---------------end--------------->8--- Nick