[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-time-stamp in latex buffer
From: |
Nicolas Goaziou |
Subject: |
Re: [O] org-time-stamp in latex buffer |
Date: |
Fri, 28 Jul 2017 15:38:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Uwe Brauer <address@hidden> writes:
> org-time-stamp-custom-formats is a variable defined in ‘org.el’.
> Its value is ("«%d-%m-%Y %a»" . "«%d-%m-%Y %a %H:%M»")
> Original value was
> ("<%m/%d/%y %a>" . "<%m/%d/%y %a %H:%M>")
>
>
> And indeed in an org buffer this format is used. However when I try to
> use org-time-stamp in a latex buffer the string
> <2017-07-28 Fr>
> is inserted which does not respect my new setting.
>
> What is wrong?
Custom format time are applied during fontification time. The major mode
you're using in your LaTeX document doesn't know about Org fontification
rules.
You may want to add some rules to font lock there.
Regards,
--
Nicolas Goaziou