From: Bastien <bzg@altern.org>
To: "Jonas Hörsch" <coroa@online.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-edit-special on "inline latex"
Date: Mon, 24 Dec 2012 02:02:16 +0100 [thread overview]
Message-ID: <87wqw8uusn.fsf@bzg.ath.cx> (raw)
In-Reply-To: <33fozk1tx3ut.fsf@jango.physik.fu-berlin.de> ("Jonas Hörsch"'s message of "Tue, 04 Dec 2012 15:56:58 +0100")
Hi Jonas,
coroa@online.de (Jonas Hörsch) writes:
> 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.
The support for inline \begin{...} is a convenient hack, but it's
a hack and adding features of the #+begin_src/latex blocks to it
would only make it more hackish. I suggest you use a code block
and C-c ' when necessary.
Best,
--
Bastien
prev parent reply other threads:[~2012-12-24 1:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-04 14:56 org-edit-special on "inline latex" Jonas Hörsch
2012-12-24 1:02 ` Bastien [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=87wqw8uusn.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=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).