From: Thomas Shannon <tshanno@me.com>
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
Cc: "Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: highlighting latex code in org-mode
Date: Wed, 09 May 2018 09:22:35 -0500 [thread overview]
Message-ID: <95FCBA7A-4554-4B13-903F-6F7AB51ACAE5@me.com> (raw)
In-Reply-To: <CAD-VTcF6Hdy=it1jJPe8r6WiVO+tOwhoa_bYoREA4WQ6QHGKGQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1629 bytes --]
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.
Tom S.
> On May 9, 2018, at 9:04 AM, Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> wrote:
>
> Yes, I have just tried this solution:
>
> https://emacs.stackexchange.com/questions/27866/syntax-highlighting-in-org-mode-begin-latex-block/27891 <https://emacs.stackexchange.com/questions/27866/syntax-highlighting-in-org-mode-begin-latex-block/27891>
>
> i.e.
>
> #+BEGIN_LaTeX latex
>
>
> #+END_LaTeX
>
> and it seems that is the best option for me, but sometimes I meet error with the export into the latex file. But the highlightings works.
>
> Thanks !
>
> Best wishes
>
> 2018-05-09 14:05 GMT+02:00 Russell Adams <RLAdams@adamsinfoserv.com <mailto:RLAdams@adamsinfoserv.com>>:
> On Wed, May 09, 2018 at 01:31:51PM +0200, Joseph Vidal-Rosset wrote:
> > But nothing works for highlighting latex.
>
> Have you considered making a latex block, and editing it? It'll have full latex
> syntax highlighting while in the block.
>
> ------------------------------------------------------------------
> Russell Adams RLAdams@AdamsInfoServ.com
>
> PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ <http://www.adamsinfoserv.com/>
>
> Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
>
>
[-- Attachment #2: Type: text/html, Size: 3781 bytes --]
next prev parent reply other threads:[~2018-05-09 14:22 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-09 8:17 highlighting latex code in org-mode Joseph Vidal-Rosset
2018-05-09 8:36 ` Eric S Fraga
2018-05-09 8:41 ` Nicolas Goaziou
2018-05-09 9:50 ` Eric S Fraga
2018-05-09 9:59 ` Nicolas Goaziou
2018-05-09 11:21 ` Eric S Fraga
2018-05-09 11:31 ` Joseph Vidal-Rosset
2018-05-09 12:05 ` Russell Adams
2018-05-09 14:04 ` Joseph Vidal-Rosset
2018-05-09 14:22 ` Thomas Shannon [this message]
2018-05-09 15:27 ` Russell Adams
2018-05-09 16:01 ` Thomas Shannon
2018-05-09 17:15 ` Joseph Vidal-Rosset
2018-05-09 15:02 ` Eric S Fraga
2018-05-09 15:16 ` Joseph Vidal-Rosset
2018-05-09 15:42 ` Eric S Fraga
2018-05-09 8:38 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=95FCBA7A-4554-4B13-903F-6F7AB51ACAE5@me.com \
--to=tshanno@me.com \
--cc=emacs-orgmode@gnu.org \
--cc=joseph.vidal.rosset@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.