[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] highlighting latex code in org-mode
From: |
Eric S Fraga |
Subject: |
Re: [O] highlighting latex code in org-mode |
Date: |
Wed, 09 May 2018 09:36:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
On Wednesday, 9 May 2018 at 10:17, Joseph Vidal-Rosset wrote:
> Hello,
>
> I would be happy to highlight latex code in org-mode, but nothing works. It
> is a pity because this lack of highlighting latex code in org-mode entails
> troubles in exporting in latex and I have always to correct my source
> files.
There appears to be support for font-lock for LaTeX expressions in org
but the regex that is used to determine LaTeX snippets is nil:
org-latex-and-related-regexp is a variable defined in ‘org.el’.
Its value is nil
Documentation:
Regular expression for highlighting LaTeX, entities and sub/superscript.
Maybe play around with this?
--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.7-475-g3ffc7d
signature.asc
Description: PGP signature
- [O] highlighting latex code in org-mode, Joseph Vidal-Rosset, 2018/05/09
- Re: [O] highlighting latex code in org-mode,
Eric S Fraga <=
- Re: [O] highlighting latex code in org-mode, Nicolas Goaziou, 2018/05/09
- Re: [O] highlighting latex code in org-mode, Eric S Fraga, 2018/05/09
- Re: [O] highlighting latex code in org-mode, Nicolas Goaziou, 2018/05/09
- Re: [O] highlighting latex code in org-mode, Eric S Fraga, 2018/05/09
- Re: [O] highlighting latex code in org-mode, Joseph Vidal-Rosset, 2018/05/09
- Re: [O] highlighting latex code in org-mode, Russell Adams, 2018/05/09
- Re: [O] highlighting latex code in org-mode, Joseph Vidal-Rosset, 2018/05/09
- Re: [O] highlighting latex code in org-mode, Thomas Shannon, 2018/05/09
- Re: [O] highlighting latex code in org-mode, Russell Adams, 2018/05/09
- Re: [O] highlighting latex code in org-mode, Thomas Shannon, 2018/05/09