From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id PZV6LJfKw164KQAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 12:01:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yB66J5fKw14abwAAB5/wlQ (envelope-from ) for ; Tue, 19 May 2020 12:01:27 +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 1847D940144 for ; Tue, 19 May 2020 12:01:27 +0000 (UTC) Received: from localhost ([::1]:36814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb0w1-0000N1-W6 for larch@yhetil.org; Tue, 19 May 2020 08:01:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb0vZ-0000MT-IZ for emacs-orgmode@gnu.org; Tue, 19 May 2020 08:00:57 -0400 Received: from mail-eopbgr40107.outbound.protection.outlook.com ([40.107.4.107]:14657 helo=EUR03-DB5-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 1jb0vY-0005I0-Fd for emacs-orgmode@gnu.org; Tue, 19 May 2020 08:00:57 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MXXhHHsaa90xMh+gfhalORzrCOZKtV49zZzG1UcC70IsJlpJ7TNRthrGEiqO50mu8aeYUhG11LR149UbASq+Q72TnMN25IZ6VaKPyWo7qNux9sWVMdyArDuA7ZcEq4RvP+kuzlis41cbb/YvRcxhVINXNUtXOSmpCY3t4PozZQtWA9THhjGdfv2rFRssVEI5Hz8vrrBRbA1XLJMR9eeqcFCyHMuVZopOLwcnalP8inhvo9t6RZB0WRWOcQq17nHXioREH/98q8S3xiMBefnEhSAcl5E4up5ZmeHAA1z3Ovm48Bhd44Y3l57RxrOiBqNMNggmqWUs4STMFIZaE3ntCA== 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=KbPbNfwGV67WlKCXJHyfCWX7txAKWZKwBKPfbhIxVAM=; b=LzoQ6JtTfQr5DTS0unPfM5EcLoCcm6CprIE7iGdxqRapm/fFIAa9CzINlyJYd8rjpIRqnhQAP6n4lYAeKRONFbd7UvzFL27bHHTUTDsqFdtWcTOktEohwrm8YH9ITcNWfcK9b5czEAnkyr7QhjtLaKOGaZdjy7yPUNuYWuUIMEE2So6z2Guq3Zkp9zuTNK2hS+9/4hPMAvxGNof3svI3qfklnrI+GlPH/aMBSWw3eORWtNIp6Jc08vAt5ied3pKH/C4MDQNbxf1QqvXdXy1MYTEcAhzYqGYUzd50kTX1Q0F2IEp+WBYFjFLEW1qUum9jNqh2RwcJ22U7Q1eba5Ldhg== 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=KbPbNfwGV67WlKCXJHyfCWX7txAKWZKwBKPfbhIxVAM=; b=nXNRZorjNhBP5eugj3uHp1htp3BOETZMvCEI9eIReM2STrlQp/jOtIsP0nFwzfrrRxbkuAN6plA0xW1eVBQd+Q0UItsYtdRTWLt25XTrnZqxw1mKnwJ4jmoP4hUGQfJ7OnFdfxZOyRhEHpIqqXRKEDwWMfywsmzVwINV4qJi8TU= Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com (2603:10a6:803:10::26) by VI1PR0102MB2830.eurprd01.prod.exchangelabs.com (2603:10a6:802:10::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.31; Tue, 19 May 2020 11:45:46 +0000 Received: from VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::c0dc:3d2:a8e4:c2c2]) by VI1PR0102MB3327.eurprd01.prod.exchangelabs.com ([fe80::c0dc:3d2:a8e4:c2c2%5]) with mapi id 15.20.3000.034; Tue, 19 May 2020 11:45:46 +0000 From: Eric S Fraga To: Timothy Subject: Re: (Feature Request) customise LaTeX-preview regex Organization: On the Interweb somewhere References: <875zcsl712.fsf@nicolasgoaziou.fr> <6D5F9F2B-7450-4D15-B069-213255C2EC0F@getmailspring.com> X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Timothy , "emacs-orgmode@gnu.org" Date: Tue, 19 May 2020 12:45:45 +0100 In-Reply-To: <6D5F9F2B-7450-4D15-B069-213255C2EC0F@getmailspring.com> (Timothy's message of "Tue, 19 May 2020 15:49:26 +0800") Message-ID: <874kscb11y.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-ClientProxiedBy: CWLP123CA0020.GBRP123.PROD.OUTLOOK.COM (2603:10a6:401:56::32) 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 CWLP123CA0020.GBRP123.PROD.OUTLOOK.COM (2603:10a6:401:56::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.25 via Frontend Transport; Tue, 19 May 2020 11:45:46 +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: efb5af0b-c5a8-44ac-2386-08d7fbea2b6d X-MS-TrafficTypeDiagnostic: VI1PR0102MB2830: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2150; X-Forefront-PRVS: 040866B734 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9S7/KjssitonMpUrY3z8rSm3ZN2GBOQpNAX0fU+yvTXDNuUO4eSmbJSP8xmFHUH6IYaR2bLZEBYTTc+IsIPBbr+JsQpC+Mfv1rIDJpUA8IpN3GXN5WvpTRpooSJbzYiNPcNq2otPFnK6uSX1jqxr9aOw53y0s/jkss5JorSbmrCXJ0fNx/+6zLq9vh2PuoUvdrXflfr2pkE3iN/tpBr70wR6aGHhX33mYpJU5CZPYp2u4slLj8ZIgwCZXyvOvY8AmOe4sujnEX1RiMEwct2Mz+eExJNom7QGFfhZWtP0gn2+zF6u8QuPT0Epw/b6Ztrukpg2XkkF1piq76H6/C21KNmuhQMqxBq42wBHCdkO8TYxlXQeGu6Wq5ee7CM/pm/GHXuRpuUag/zdCtt+JftPQqyzu6AYY9QFe+1O71WryLG8aGep6ocg0pTBdnWKGGXJ 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)(366004)(346002)(396003)(136003)(39860400002)(4326008)(316002)(66946007)(52116002)(478600001)(6916009)(4744005)(36756003)(16526019)(66476007)(186003)(66556008)(5660300002)(6486002)(26005)(786003)(8676002)(36916002)(2906002)(8936002)(2616005)(6496006)(86362001)(956004); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: ELlePRC/WuoVuJKJTTdtTE2nAF57+4WeEtsi9Cu1fc7C2yOf+EHl15Z+b0Kv9qmJdR98Oq+e0afxKptnPJ4mD2ls4qHYhzqzd3JwX2Fp2uJRvyI5TW8dMqMv5h4K9TzwBy8S1yq74mnNb9EYFZK20H2VQhXTPVDvaz+Eo7+LDiOe37LAsd4HL+mBvoMMfUOL0wO1VHicEOoTfdFcXtwyiC/y4rSE5heg4zXl9brNv4T8D7c7rRU+qMpoVs9fZIiK8P3kLNiaN2A5alcvczFpds+QTaBXdzFGw4sQx2yRJQmGq+JiiYGYkyagxSW6zaOv1KCdrZrANc+D/euzgDte2ZNOELW5sYKAXl/1sJeEgjrABH7PlpCrVVUKq26jCu7i2AQ53YmgPGIIBF0SDKGFdVgEkpw4nrYebTVyGbwrlFQcsMtCLIQEVwvJotQxanRqtfc42YVcTR9s8ByLtI8Xitwc6A1RxOGILD6tY4xhE/Uni1XO2wLysKe+nodEDdKu X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: efb5af0b-c5a8-44ac-2386-08d7fbea2b6d X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2020 11:45:46.7915 (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: vEGYtKuz9UgnPAK+Ce+IoRUhKBasIPCKZ+m1FLET6qFxcwdhrlrxoUDya/Yj2m3DABNdB3NNNMyoscDDBS0yzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0102MB2830 Received-SPF: none client-ip=40.107.4.107; envelope-from=e.fraga@ucl.ac.uk; helo=EUR03-DB5-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/19 07:57:05 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, DKIMWL_WL_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, URIBL_BLOCKED=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=nXNRZorj; 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: -0.61 X-TUID: zkCFaSc0sKLN On Tuesday, 19 May 2020 at 15:49, Timothy wrote: > #+LATEX_HEADER: \usepackage{mhchem} > \ce{CO2} @@latex:\ce{CO2}@@ You probably need to add this to =org-latex-packages-alist= in your emacs configuration: (add-to-list 'org-latex-packages-alist '("version=3" "mhchem")) Also, you might be interested in using the org-fragtog MELPA package. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-640-g9bc0cc