From mboxrd@z Thu Jan 1 00:00:00 1970 From: edgar@openmail.cc Subject: [Feature request] LaTeX blocks preview Date: Mon, 14 Aug 2017 20:33:36 +0000 Message-ID: <9ec2ba3edfeedf8fb05ec988b8669411@openmail.cc> 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]:39033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhM3x-0007w9-4Z for emacs-orgmode@gnu.org; Mon, 14 Aug 2017 16:34:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhM3r-0000VW-VD for emacs-orgmode@gnu.org; Mon, 14 Aug 2017 16:34:13 -0400 Received: from onethreetwo.vfemail.net ([199.16.11.132]:60293 helo=vfemail.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dhM3r-0000Tu-Pz for emacs-orgmode@gnu.org; Mon, 14 Aug 2017 16:34:07 -0400 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: emacs-orgmode@gnu.org 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!