From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6OhfEKc9w14WWgAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 02:00:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +DIKDKc9w159MAAAbx9fmQ (envelope-from ) for ; Tue, 19 May 2020 02:00:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 197AE94053D for ; Tue, 19 May 2020 02:00:06 +0000 (UTC) Received: from localhost ([::1]:37276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jarY5-0000NC-2C for larch@yhetil.org; Mon, 18 May 2020 22:00:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jarXk-0000Ms-6K for emacs-orgmode@gnu.org; Mon, 18 May 2020 21:59:44 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:34456) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jarXj-0005Cn-5l for emacs-orgmode@gnu.org; Mon, 18 May 2020 21:59:43 -0400 Received: by mail-pl1-x635.google.com with SMTP id d3so269918pln.1 for ; Mon, 18 May 2020 18:59:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version; bh=2yHm3Sl56fUUGZ9IvA6w1ruz9UPNcMkzERWbUH3oVww=; b=Gsf+B9U+OeTsL0vg8e9p8EDlPS2LvnZSu/zMTArF0WtxZd7o29kcNO8OqNb83Tmz7o nJK+DLq28ltcrkCCoooFSqfrjfHQrY6v72On9J7TYDhHkDGf+R/GfEK2KmXBNUoaDkJl iAxCZ3MEFnOeLKJ7VfAQQ4XmfcWoTBb6fpbO5w8T/qD+T/yGXuUqrQDp5D42AVN4T0NN MBN68zN1vTzJN2+8Mj1fxBl3RF60XOtsaE1aIa3VeNyJw2hCFYxHxnnS9gKgycTH1Hbb zilyVGERAk36cOEAVR62Bgu8NYsC/t7YEYzdFXAqb6iQNaPLLE8UEhcQAioQm2sH61Vt qtIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:message-id:subject:mime-version; bh=2yHm3Sl56fUUGZ9IvA6w1ruz9UPNcMkzERWbUH3oVww=; b=uhCEjC79FWfen02ew3vEu0gaLPik8igziSGi1ZTxfGSKr9teCXbg0OhycgPyqjIQqB 9xTA91oE16V87Zm6aU5OZ2aIQ3aCoUdreUEbSN5fd/8eJEMuppFDzROFK3KmWb0BOXTX shKr4brsZ0cnueLaDPZpevBg4t4LcPBZGYDWzV4V34b0yGGDaRwPytcOt3biHuRGxzp9 6abcRME4yKvG4zJIaSeNUSqSqJoV/Q/NjMMtfFlRQxkjeUUS/zw5colJ/oL/o7OycVnU 9HesJMLQC+qZ8BTfWj+PbMTGsPDt+bw6+3cLwS+RRXWUQzLUm+6eKQ5R2AhZl50fO2vz 7wvg== X-Gm-Message-State: AOAM53066XpzlI8CrbyrVWFO2PGrUuu3KezGIn75159nBLWIJ0FImF35 71wpF7bRVBrFk36cnIgPM4mDVw3V X-Google-Smtp-Source: ABdhPJzfvIHv6k7tQ+I703z084mYGKs+E6LfHho1Hxzw7zGi3jxOgdUVt0zJvHaDTOvo14zfjViaQA== X-Received: by 2002:a17:90a:6881:: with SMTP id a1mr2436523pjd.153.1589853581711; Mon, 18 May 2020 18:59:41 -0700 (PDT) Received: from tranquillity (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id m4sm654167pje.47.2020.05.18.18.59.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 May 2020 18:59:41 -0700 (PDT) Date: Tue, 19 May 2020 09:59:37 +0800 From: Timothy To: "=?utf-8?Q?emacs-orgmode=40gnu.org?=" Message-ID: Subject: (Feature Request) customise LaTeX-preview regex X-Mailer: Mailspring MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5ec33d89_123c1bca_8ce" Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=tecosaur@gmail.com; helo=mail-pl1-x635.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Gsf+B9U+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.50 X-TUID: cyPm34oNDpEC --5ec33d89_123c1bca_8ce Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Another email, another request =F0=9F=98=80 Hoping that you aren't tired of me yet, I have =E2=80=A6 (drum-roll) anot= her feature request=21 This time, I'm wanting to be able to use the lovely org latex preview fun= ctionality for more than just the default blocks. =46or instance, I'm interested in applying it to mhchem =5Cce=7B =E2=80=A6= =7D fragments, as well as siunitx =5CSI=7B =E2=80=A6 =7D=7B =E2=80=A6 =7D= . I thought modifying org-latex-regexps may do the trick, yet despite tryin= g a few different things, I was confused when unable to get it to work. I= t looks like I'm being confounded by the fact that org-format-latex doesn= 't even reference org-latex-regexps, and instead uses it's own hard-coded= regexps. Hopefully it may be possible to tweak this so that once can preview more = than just the defaults hardcoded into org-format-latex. Warm regards, Timothy --5ec33d89_123c1bca_8ce Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Another ema= il, another request =F0=9F=98=80

Hoping that you aren't = tired of me yet, I have =E2=80=A6 (drum-roll) another feat= ure request=21
This time, I'm wanting to be able to use the lovely = org latex preview functionality for more than just the default blocks.
=46or instance, I'm interested in applying it to mhchem =5Cce=7B =E2= =80=A6 =7D fragments, as well as siunitx =5CSI=7B =E2=80=A6 =7D=7B =E2=80= =A6 =7D.

I thought modifying org-latex-regexps may do the tri= ck, yet despite trying a few different things, I was confused when unable= to get it to work. It looks like I'm being confounded by the fact that o= rg-format-latex doesn't even reference org-latex-regexps, and instead use= s it's own hard-coded regexps.

Hopefully it may be possible t= o tweak this so that once can preview more than just the defaults hardcod= ed into org-format-latex.

Warm regards,
Timothy
--5ec33d89_123c1bca_8ce--