From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>,
Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>,
"Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
Eric S Fraga <esflists@gmail.com>
Subject: Re: highlighting latex code in org-mode
Date: Wed, 9 May 2018 13:31:51 +0200 [thread overview]
Message-ID: <CAD-VTcHRJ1yYCWC=nrsOBAi7mAFseWRfTm927ADuTmYnQ_NxPw@mail.gmail.com> (raw)
In-Reply-To: <87efil3wi8.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]
Thanks for your help. At the moment I have in my init.el (in fact my
user.el because I am using scimax with -q -l options):
(require 'ox-latex)
(setq org-src-fontify-natively t)
(setq org-highlight-latex-and-related '(latex))
(setq org-highlight-latex-and-related '(latex script entities))
But nothing works for highlighting latex.
Best wishes,
Jo.
2018-05-09 13:21 GMT+02:00 Eric S Fraga <esflists@gmail.com>:
> On Wednesday, 9 May 2018 at 11:59, Nicolas Goaziou wrote:
> > Eric S Fraga <esflists@gmail.com> writes:
> >
> >> Okay. But I have this variable set, to (latex), and it does
> >> nothing. The regex remains nil. Is there some other configuration
> >> setting that we have to set to get LaTeX snippets etc. highlighted?
> >
> > You may need to reload Org mode in the current buffer.
>
> But I have this set from the start and also tried with
> custom-set-variable... and I have tried reloading org. All to no
> avail.
>
> The highlighting works if I try emacs -Q so obviously something else is
> affecting this setting. Ummmm time to dive into my customization of
> org. Any hints as to what could be affecting the actual highlighting
> would be welcome, of course!
>
> thanks,
> eric
>
> --
> Eric S Fraga via Emacs 27.0.50, Org release_9.1.11-620-ga548e4
>
[-- Attachment #2: Type: text/html, Size: 2256 bytes --]
next prev parent reply other threads:[~2018-05-09 11:32 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 [this message]
2018-05-09 12:05 ` Russell Adams
2018-05-09 14:04 ` Joseph Vidal-Rosset
2018-05-09 14:22 ` Thomas Shannon
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAD-VTcHRJ1yYCWC=nrsOBAi7mAFseWRfTm927ADuTmYnQ_NxPw@mail.gmail.com' \
--to=joseph.vidal.rosset@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=esflists@gmail.com \
--cc=mail@nicolasgoaziou.fr \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).