From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Avoid escaping braces in LaTeX export? Date: Sat, 8 Jun 2013 15:35:34 +0100 Message-ID: <877gi4n009.fsf@ucl.ac.uk> References: <87bo7hkf20.fsf@berkeley.edu> <20130607204548.6fabee8f@aga-netbook> <87r4gdehmp.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlKF7-0006Ld-OD for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 10:35:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlKF6-0004XU-B7 for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 10:35:45 -0400 Received: from co1ehsobe005.messaging.microsoft.com ([216.32.180.188]:19192 helo=co1outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlKF6-0004XF-0g for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 10:35:44 -0400 In-Reply-To: <87r4gdehmp.fsf@berkeley.edu> (Richard Lawrence's message of "Fri, 7 Jun 2013 14:27:26 -0700") 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: Richard Lawrence Cc: emacs-orgmode@gnu.org Richard Lawrence writes: [...] > Still, this won't work directly for cases where I have loaded a LaTeX > package that provides a command which uses curly braces. (I could > redefine such commands, as above, but that could get real ugly, real > fast...). It seems like this a general problem that the exporter should > have a way to handle. Org is not latex, for better or for worse. However, it does allow you to mix the two in various ways. The inline approach is limited to {text} that is on the same line. You could try using visual-line-mode and have all paragraphs be single lines. Alternative, you could try (untested): blah blah blah #+LATEX: \ic{ some text for the inline comment #+LATEX: } more blah HTH, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_8.0.3-193-g334581