From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: highlighting latex code in org-mode Date: Wed, 9 May 2018 19:15:41 +0200 Message-ID: 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> <20180509152709.GD8772@volibear> <994F9178-1DF4-4E46-90E1-7803641C8050@me.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a7a876056bc90e9b" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGShB-0003V7-1s for emacs-orgmode@gnu.org; Wed, 09 May 2018 13:16:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGSh9-00034s-J6 for emacs-orgmode@gnu.org; Wed, 09 May 2018 13:16:05 -0400 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:33549) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGSh9-00033U-Az for emacs-orgmode@gnu.org; Wed, 09 May 2018 13:16:03 -0400 Received: by mail-lf0-x22b.google.com with SMTP id m18-v6so52057111lfb.0 for ; Wed, 09 May 2018 10:16:03 -0700 (PDT) In-Reply-To: <994F9178-1DF4-4E46-90E1-7803641C8050@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: Thomas Shannon Cc: "Liste-emacs-orgmode@gnu.org" --000000000000a7a876056bc90e9b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It works also for me. Many thanks! Jo. 2018-05-09 18:01 GMT+02:00 Thomas Shannon : > Works like a charm, auctex and all. Very nice! Thanks. > > Tom S. > > > On May 9, 2018, at 10:27 AM, Russell Adams > wrote: > > > > On Wed, May 09, 2018 at 09:22:35AM -0500, Thomas Shannon wrote: > >> HI, Joseph. > >> > >> Its not the most elegant solution but if I=E2=80=99m doing extensive l= atex > 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 > > > > > --000000000000a7a876056bc90e9b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It works also for me. Many thanks!

=
Jo.

2018-05-09 18:01 GMT+02:00 Thomas Shannon <tshanno@m= e.com>:
Works like a charm,= auctex and all.=C2=A0 Very nice!=C2=A0 Thanks.

Tom S.

> On May 9, 2018, at 10:27 AM, Russell Adams <RLAdams@AdamsInfoServ.C= om> wrote:
>
> On Wed, May 09, 2018 at 09:22:35AM -0500, Thomas Shannon wrote:
>> HI, Joseph.
>>
>> Its not the most elegant solution but if I=E2=80=99m doing extensi= ve latex editing I usually just enter latex mode (esc-x latex-mode).=C2=A0 = This allows me to use auctex as well.
>>
>> Of course, you have to switch back to org-mode after editing.=C2= =A0 So its not a great solution if you are switching back and forth a lot.<= br> >
> If you use C-c ' to enter the block, it opens a sub-buffer in late= x mode. You
> can actually switch back and forth to edit org and latex in the same f= ile across
> buffers. It might be an elegant solution.
>
>
>
> ------------------------------------------------------------= ------
> Russell Adams=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 RLAdams@AdamsInfoServ.com
>
> PGP Key ID:=C2=A0 =C2=A0 =C2=A00x1160DCB3=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0http://www.adamsinfoserv.com/
>
> Fingerprint:=C2=A0 =C2=A0 1723 D8CA 4280 1EC9 557F=C2=A0 66E8 1154 E01= 8 1160 DCB3
>



--000000000000a7a876056bc90e9b--