From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id NfkzKHA95157UwAA0tVLHw (envelope-from ) for ; Mon, 15 Jun 2020 09:20:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aGGLI3A95144CgAA1q6Kng (envelope-from ) for ; Mon, 15 Jun 2020 09:20:48 +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 F06539400B1 for ; Mon, 15 Jun 2020 09:20:47 +0000 (UTC) Received: from localhost ([::1]:53208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jklIL-0002Xt-H3 for larch@yhetil.org; Mon, 15 Jun 2020 05:20:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jklHc-0002U5-W2 for emacs-orgmode@gnu.org; Mon, 15 Jun 2020 05:20:01 -0400 Received: from mail-eopbgr140100.outbound.protection.outlook.com ([40.107.14.100]:29158 helo=EUR01-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jklHb-0002Ll-13 for emacs-orgmode@gnu.org; Mon, 15 Jun 2020 05:20:00 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vc0rjA6F3ZLBTbQZdlq6QIG8cyU3l05R50kn5x/e23+XhyqIvK9ktvyb6hdx2/7KaTw/Art0IJ4du0819BMduClPXi/5uTTiyEKWmTnqT9Jg1Orlbq372+lmGdn3B43zJoYzlF0bWv4SMBrgZmfMK27hmqNHgNJKI9TXw7EOfqOoHFwxfwpZCaHvNA+Pe3HAG+YqwXvR0ubOMZcl+U1Mss8ymu52FUJEHjQ4TBy57WK6kVfPTnncoQuhM3xBk9sSNFa7QUCqd1p50OLPo9LDLk/LFIcj1cJxXTEj/ElQdx72RIUN7PciIMK8SjMm9ixuoQ5xactxOOcayTVI1pBwZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t7xW5mp3ifHWLssz4itzbuKlIh8st6Ugu9pJGFfvDMI=; b=KliKhp8SA2wy3XqN5KC3Djv59FAOWCw9tyx8OeR0sjoN9GHGPG1ZlJGUunOLKGCXkFGOYMvWydSR1cdwxsTjAsM/+1x7Ox3xFUtF+6oUx3NcN0B/GloblGiaTBtnL38mt+OFDWqnS0PVus84QkSI8xYG0yqMlxO1qhwgQu34GPB665QIjyRB716CTsvkIfsfNpKl+CpH0gxIxBPA/UQhc8735mFtG1DMvr+6s8Mgw4I9x+BxCAmeYzxg3VH5zjU79GOp47omaocBiFkve95JrH7q+yZjo1T0t3e2Xj2Bl0Z26mWMZHWZgG/5fabyvgvD4wx1zV94TAfVAB6hcifW8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=liveuclac.onmicrosoft.com; s=selector2-liveuclac-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t7xW5mp3ifHWLssz4itzbuKlIh8st6Ugu9pJGFfvDMI=; b=AtiYH185w+AW9etPqBde+hLp6JmExeKnmGeWzAnOCQ0BQrdwOdrHKlij6nnA5GMbnfBMXTK/dcRx5mAaBcVidvfbbVxgtGysh9RMHsCZyCW6Ckg98el95baAQcOkwzUwoAud2+h2fKycPu1SwCEi8pSOmnPnYQIwBH83Agutt40= Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) by VI1PR0102MB3469.eurprd01.prod.exchangelabs.com (2603:10a6:803:17::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.24; Mon, 15 Jun 2020 09:04:54 +0000 Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::b485:9464:7f4d:3e08]) by VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::b485:9464:7f4d:3e08%7]) with mapi id 15.20.3088.028; Mon, 15 Jun 2020 09:04:54 +0000 From: Eric S Fraga To: TEC Subject: Re: (Feature Request) customise LaTeX-preview regex Organization: On the Interweb somewhere References: <874kscb11y.fsf@ucl.ac.uk> <19E17D4C-4EC8-4F4F-AE92-3CE2E69E7273@getmailspring.com> <871rmhhhwr.fsf@gmail.com> X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: TEC , "emacs-orgmode@gnu.org" Date: Mon, 15 Jun 2020 10:04:53 +0100 In-Reply-To: <871rmhhhwr.fsf@gmail.com> (TEC's message of "Sun, 14 Jun 2020 21:53:10 +0800") Message-ID: <87h7vclmx6.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-ClientProxiedBy: LNXP265CA0024.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::36) To VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from t3610 (46.69.235.175) by LNXP265CA0024.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.18 via Frontend Transport; Mon, 15 Jun 2020 09:04:54 +0000 X-Url: http://www.ucl.ac.uk/~ucecesf/ X-Originating-IP: [46.69.235.175] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b7b41e26-f1f2-4678-39c7-08d8110b2b73 X-MS-TrafficTypeDiagnostic: VI1PR0102MB3469: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 04359FAD81 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0BhekU73Lz1W2izFmW+YE5ZUgVYsXFeCOUlxztnPTFkH1x6OcGKDkBJ5YBCYenTUdkQKZGiZD6TexZ/W7fBIyW1WKSCcNvSGQbwOyQAbtKlH0nMHKj75AiQll7xmymaiqiD4ThC2OA2JnEi9Pu31cOSs3gjg2loxe9bZab/SgiKP+WHOkBtDGbe8ZegQq5Kf7osV8Oc1+/ZTlzuGbQdMKydaAP2+01+aCSyxE2rbMGRpIHTj+NSlzFkN8w5UBYtALR2pEMHZ+7rCw8OnJCO+kZFOpXynCe8wNiwmUmOstohoqPMKZQOvA2Rnnya6/bV2 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0102MB3327.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFTY:; SFS:(6029001)(4636009)(376002)(346002)(136003)(396003)(366004)(39860400002)(66476007)(66556008)(6486002)(66946007)(86362001)(5660300002)(2906002)(4744005)(186003)(6496006)(2616005)(956004)(36916002)(26005)(52116002)(16526019)(478600001)(6916009)(36756003)(8936002)(786003)(316002)(8676002)(4326008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: XhFU0cUMm0iMd+ppV1f6FR0d0F+F5vm7Q5saTL02zCwNJPwbPSop5UhX657N0vcFs6BefhqZjy7644jTJ6N/ylpRJFVxzpg2DkSbTBocXG4A1s7J2CNvBV6+2mDISFG+OljS8Ca6ORoAuK86FiSdnYtyUhuqLRWRsWomyQIsD66PkBmSW+h//zkveT19VBkIYbOcS91vuWIE5g/CoPgUWcpYX67gFu3IA4QYyBBOWe+389/n6E1fHJt16/7ghWgq6e1/aOQ1wNhEHrNuhW14Qv3QcWaFhIYHC36mE55nCY8z6nQGUT2bpT7HUGq2fWlo4HZvhRWdjvsu3AN8DX3O9HqqVPom6GN6ATwIQSE3luHpPn9z3rPKhesXS+F2vw4Zlb42kWZcZUjmtlZ2TSSR2f+cYXBBYdEGrBSdHM6a7ftukfnaZV6sV9ZluxEIOeb9IoN/RUj3431gBS1/VBdVBm3ls7pgjFdZKxXFM/QS7YI= X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: b7b41e26-f1f2-4678-39c7-08d8110b2b73 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2020 09:04:54.6967 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NjLamQzXd89pFLlQsHA54Tk4Zho3HR+rbnpgPPQPriKDBiPRrOll27F0SJRTgmn4m3I7gKL3yoEUqrdeBShhug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0102MB3469 Received-SPF: none client-ip=40.107.14.100; envelope-from=e.fraga@ucl.ac.uk; helo=EUR01-VE1-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/15 05:19:56 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FORGED_SPF_HELO=1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_PASS=-0.001, SPF_NONE=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: , Cc: "emacs-orgmode@gnu.org" 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=liveuclac.onmicrosoft.com header.s=selector2-liveuclac-onmicrosoft-com header.b=AtiYH185; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=ucl.ac.uk (policy=none); 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: -2.11 X-TUID: o4oa4Qx28tbI On Sunday, 14 Jun 2020 at 21:53, TEC wrote: > Hi All, > > Just a quick note: I'm yet to resolve this, so any further > comments/help on this would be much appreciated :) If you put the snippet in a math environment, it works with LaTeX preview: \(\ce{CO2}\) Of course, this only applies to things that can belong in a maths environment. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.7-636-gaa32f6