From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Huszagh Subject: Re: Issues with nested begin..end blocks in inline math environments Date: Sat, 07 Dec 2019 11:28:12 -0800 Message-ID: <87muc49bqr.fsf@gmail.com> References: <87d0d0e5kg.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58395) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idfkb-00082N-NN for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 14:28:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idfka-00078I-DX for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 14:28:21 -0500 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]:43134) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1idfka-00077n-82 for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 14:28:20 -0500 Received: by mail-pf1-x431.google.com with SMTP id h14so5088217pfe.10 for ; Sat, 07 Dec 2019 11:28:20 -0800 (PST) In-Reply-To: <87d0d0e5kg.fsf@ucl.ac.uk> 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: "Fraga, Eric" Cc: "emacs-orgmode@gnu.org" "Fraga, Eric" writes: > The identification of LaTeX fragments is somewhat fragile (in my > experience). I would suggest you enclose complex LaTeX code fragments > within an #+begin_export latex ... #+end_export environment. > > Assuming your export target is LaTeX and/or PDF. Thanks for the suggestion. Unfortunately these are mostly just used as latex previews in the org buffer. I'm going to try to improve support for this when I get the time since I use this capability extensively. If you have any thoughts/suggestions on best ways to improve this I'd be happy to hear them.