From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: highlighting latex code in org-mode Date: Wed, 9 May 2018 17:27:09 +0200 Message-ID: <20180509152709.GD8772@volibear> References: <8736z1p6nv.fsf@delle7240.chemeng.ucl.ac.uk> <8736z1uspg.fsf@nicolasgoaziou.fr> <871sel5fa0.fsf@gmail.com> <87tvrhtais.fsf@nicolasgoaziou.fr> <87efil3wi8.fsf@gmail.com> <20180509120550.GB8772@volibear> <95FCBA7A-4554-4B13-903F-6F7AB51ACAE5@me.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGRD9-00021C-J6 for emacs-orgmode@gnu.org; Wed, 09 May 2018 11:41:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGQzt-0000XS-Qu for emacs-orgmode@gnu.org; Wed, 09 May 2018 11:27:18 -0400 Received: from se01-out.mail.pcextreme.nl ([2a00:f10:121:a00:470:4ff:fe00:a845]:60713) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fGQzt-0000Sx-JA for emacs-orgmode@gnu.org; Wed, 09 May 2018 11:27:17 -0400 Content-Disposition: inline In-Reply-To: <95FCBA7A-4554-4B13-903F-6F7AB51ACAE5@me.com> 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 On Wed, May 09, 2018 at 09:22:35AM -0500, Thomas Shannon wrote: > HI, Joseph. > > Its not the most elegant solution but if I’m doing extensive latex editing I usually just enter latex mode (esc-x latex-mode). This allows me to use auctex as well. > > Of course, you have to switch back to org-mode after editing. So its not a great solution if you are switching back and forth a lot. If you use C-c ' to enter the block, it opens a sub-buffer in latex mode. You can actually switch back and forth to edit org and latex in the same file across buffers. It might be an elegant solution. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3