emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: edgar@openmail.cc
To: emacs-orgmode@gnu.org
Subject: [Feature request] LaTeX blocks preview
Date: Mon, 14 Aug 2017 20:33:36 +0000	[thread overview]
Message-ID: <9ec2ba3edfeedf8fb05ec988b8669411@openmail.cc> (raw)

Hello,

I would like to ask if it is possible to preview latex blocks. Something 
like this (replace EXPORT with SRC, if you wish):

         #+BEGIN_EXPORT latex
         \begin{align}
           I_{0}
           & > \max{(\lambda_{f}^{2})}
           \\
           & > 2^{2}
           \\
           I_{0} & > 4
         \end{align}
         #+END_EXPORT

to be previewed in the same way as

         \begin{align}
           I_{0}
           & > \max{(\lambda_{f}^{2})}
           \\
           & > 2^{2}
           \\
           I_{0} & > 4
         \end{align}

- Rationale :: the LaTeX blocks have improved highlighting and editing 
commands than pure Org-mode, they can be folded (hidden?) in Org-mode 
and some extra options can be activated when exporting. Many times, it 
is needed to preview the equations before actually exporting.

- Related ::
   - org-edit-latex-mode
     There is org-edit-latex-mode, but it requires  some extra work:
     1. org-edit-special (C-')
     2. org-edit-latex-preview-at-point (C-c C-p C-p)
     3. org-edit-src-exit (C-')

     Besides, the preview does not stay in the original Org-mode buffer, 
but it's lost with step 3.

Please? Thank you!

-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  

             reply	other threads:[~2017-08-14 20:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-14 20:33 edgar [this message]
2017-08-19  8:57 ` [Feature request] LaTeX blocks preview Nicolas Goaziou
2017-08-19 23:53   ` edgar
2017-09-13 14:28   ` edgar

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=9ec2ba3edfeedf8fb05ec988b8669411@openmail.cc \
    --to=edgar@openmail.cc \
    --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).