emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Maximilian Matthe <Maxi.Matthe@web.de>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Latex-Export with custom commands
Date: Wed, 13 Oct 2010 01:53:16 -0400	[thread overview]
Message-ID: <21072.1286949196@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Maximilian Matthe <Maxi.Matthe@web.de> of "Wed, 13 Oct 2010 07:46:13 +0200." <4CB547A5.1030405@web.de>

Maximilian Matthe <Maxi.Matthe@web.de> wrote:

> 
> 
> Nick Dokos schrieb:
> > You cannot expect org to do anything else: how is it supposed to know
> > that the \cA is part of a math expression?
> >
> >   
> >> Is there some workaround for that behaviour?
> >>
> >>     
> >
> > The obvious one of telling org (and latex) that these are math expressions
> > works fine:
> >
> >       $\cA$ and $\cA^n$ 
> >
> > or (as I prefer to write it):
> >
> >       \(\cA\) and \(\cA^n\)
> >
> > HTH,
> > Nick
> >   
> Hi,
> 
> (why is there no answer directly in the mailing list?)

Because I forgot to cc: the list (I tend to do that on a regular basis:
apologies).

> I know your shown workaround, but I thougt that it would be possible,
> to export
> 
> > \cA^n
> 
> as
> 
> $\cA^n$ instead of \cA$^n$. That is, if there is only one sign before
> the superscript, org shoud include it into the math-fragment.
> 

I don't think that's possible: it would require a parser of far greater
complexity.

> Regards, Max
> 

Nick

      parent reply	other threads:[~2010-10-13  5:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-12 18:35 Latex-Export with custom commands Maximilian Matthe
     [not found] ` <8011.1286914651@alphaville.usa.hp.com>
     [not found]   ` <4CB547A5.1030405@web.de>
2010-10-13  5:53     ` Nick Dokos [this message]

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=21072.1286949196@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=Maxi.Matthe@web.de \
    --cc=emacs-orgmode@gnu.org \
    /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).