emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Richard Lawrence <richard.lawrence@berkeley.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Avoid escaping braces in LaTeX export?
Date: Sat, 8 Jun 2013 15:35:34 +0100	[thread overview]
Message-ID: <877gi4n009.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87r4gdehmp.fsf@berkeley.edu> (Richard Lawrence's message of "Fri, 7 Jun 2013 14:27:26 -0700")

Richard Lawrence <richard.lawrence@berkeley.edu> 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

  reply	other threads:[~2013-06-08 14:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-07 17:26 Avoid escaping braces in LaTeX export? Richard Lawrence
2013-06-07 18:45 ` Marcin Borkowski
2013-06-07 21:27   ` Richard Lawrence
2013-06-08 14:35     ` Eric S Fraga [this message]
2013-06-08 17:45       ` Richard Lawrence
2013-06-09  7:37         ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gi4n009.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=richard.lawrence@berkeley.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).