emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: edgar@openmail.cc
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: [Feature request] LaTeX blocks preview
Date: Wed, 13 Sep 2017 14:28:54 +0000	[thread overview]
Message-ID: <ade855498f91adf3e37ed7ba94313042@openmail.cc> (raw)
In-Reply-To: <87378olytz.fsf@nicolasgoaziou.fr>

On 2017-08-19 08:57, Nicolas Goaziou wrote:
>> to be previewed in the same way as
>> 
>>          \begin{align}
>>            I_{0}
>>            & > \max{(\lambda_{f}^{2})}
>>            \\
>>            & > 2^{2}
>>            \\
>>            I_{0} & > 4
>>          \end{align}
> 
> It is not possible in the general case. The export block is not
> guaranteed to contain a complete environment; it isn't necessarily
> displayable either.
> 

I am guessing that I missed this in the documentation or that it is 
conveniently unexpected behaviour, but I can do C-' to org-edit-special 
with \begin{align} ... \end{align} alone (as shown above; without the 
#+BEGIN_ ... #+END_).

>> - 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.

I beg to keep it as it is; it's not a bug, but a feature in my opinion. 
I just want to leave this for future reference to others. Thanks!

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

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!  

      parent reply	other threads:[~2017-09-13 14:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-14 20:33 [Feature request] LaTeX blocks preview edgar
2017-08-19  8:57 ` Nicolas Goaziou
2017-08-19 23:53   ` edgar
2017-09-13 14:28   ` edgar [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=ade855498f91adf3e37ed7ba94313042@openmail.cc \
    --to=edgar@openmail.cc \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).