From mboxrd@z Thu Jan 1 00:00:00 1970 From: edgar@openmail.cc Subject: Re: [Feature request] LaTeX blocks preview Date: Wed, 13 Sep 2017 14:28:54 +0000 Message-ID: References: <9ec2ba3edfeedf8fb05ec988b8669411@openmail.cc> <87378olytz.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ds8fI-0003ba-0o for emacs-orgmode@gnu.org; Wed, 13 Sep 2017 10:29:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ds8fD-0001np-1P for emacs-orgmode@gnu.org; Wed, 13 Sep 2017 10:29:20 -0400 Received: from onethreetwo.vfemail.net ([199.16.11.132]:30066 helo=vfemail.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ds8fC-0001mw-RO for emacs-orgmode@gnu.org; Wed, 13 Sep 2017 10:29:14 -0400 In-Reply-To: <87378olytz.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org 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!