On Tue, Sep 3, 2013 at 10:34 AM, Nicolas Goaziou wrote:
> Matt Price writes:
> The following should work:
>
> (defun matt-org-export-filter-timestamp-function (timestamp backend info)
> "removes relevant brackets from a timestamp"
> (when (org-export-derived-backend-p backend 'html)
>
Matt Price writes:
> thanks nicolas. If you happen to have a moment, I'm having trouble
> reproducing this regexp in elisp. I would think that, even if I can't
> figure out how to construct a single regex that matches all the
> characters I want to remove, omething like this ought to work:
> --
On Tue, Sep 3, 2013 at 9:50 AM, Nicolas Goaziou wrote:
> Matt Price writes:
>
>>> You can also use a filter on every timestamp exported and make sure any
>>> angle bracket is removed.
>>
>> I was able to add this bit of javascript to my wordpress site to
>> remove the brackets:
>> ---
>>
Matt Price writes:
> so it looks like it's difficult to remove the brackets with those two
> variables.
Indeed. It looks like `org-translate-time' always add brackets in the
end.
>
>>> Sorry I can't find the answer in the docs, I'm sure it's there
>>> somewhere but I'm missing it somehow!
>>
>>
On Tue, Sep 3, 2013 at 9:01 AM, Nicolas Goaziou wrote:
> Hello,
>
> Matt Price writes:
>
>> I'm trying to get rid of angle brackets in HTML export. I've set
>> org-export-date-timestamp-format to "%a, %b %d".
>
> This variable only applies to a timestamp specified in DATE keyword.
>
>> I also ha
Hello,
Matt Price writes:
> I'm trying to get rid of angle brackets in HTML export. I've set
> org-export-date-timestamp-format to "%a, %b %d".
This variable only applies to a timestamp specified in DATE keyword.
> I also have timestamp overlays turned on, and the displayed custom
> format se
Hello again,
I'm trying to get rid of angle brackets in HTML export. I've set
org-export-date-timestamp-format to "%a, %b %d". I also have
timestamp overlays turned on, and the displayed custom format set to
"<%a, %b %d>" (that seems unlikely to be relevant, but I've changed it
just in case).
S