emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: coroa@online.de (Jonas Hörsch)
To: emacs-orgmode@gnu.org
Subject: org-edit-special on "inline latex"
Date: Tue, 04 Dec 2012 15:56:58 +0100	[thread overview]
Message-ID: <33fozk1tx3ut.fsf@jango.physik.fu-berlin.de> (raw)

hi list,

i recently switched from using the verbose

#+begin_latex
\begin{eqnarray}
  8 &=& 7 + 1
\end{eqnarray}
#+end_latex

to just the "inline version"

\begin{eqnarray}
  8 &=& 7 + 1
\end{eqnarray}

which is: shorter to write thus also clearer to read and as a welcome
gadget even exports to html as well.

but i see also two drawbacks:
1. syntax highlighting is lost
2. org-edit-special (C-') doesn't switch to auctex anymore[fn:1]


it would be fantastic if it was possible for org-edit-special to work on
an enclosing \begin -- \end region the same way it did on a latex block,
i.e. show a new window with the snippet in latex mode.

in there one would have all the pleasures of syntax highlighting and
auctex shortcuts and whatelse.


is this already possible?

thanks,
jonas

Footnotes:

[fn:1] while org-cdlatex-mode is great, i sometimes prefer auctex

             reply	other threads:[~2012-12-04 14:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-04 14:56 Jonas Hörsch [this message]
2012-12-24  1:02 ` org-edit-special on "inline latex" Bastien

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=33fozk1tx3ut.fsf@jango.physik.fu-berlin.de \
    --to=coroa@online.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).