Hello,

Carsten Dominik <carsten.domi...@gmail.com> writes:

> On 12.2.2013, at 20:46, Nicolas Goaziou <n.goaz...@gmail.com> wrote:
>
>> Hello,
>> 
>> "Dominik, Carsten" <c.domi...@uva.nl> writes:
>> 
>>> In a file with some time stamps in headlines, is it still possible to
>>> get rid of them only for the Table of Contents, but to leave them in
>>> the headlines themselves?
>> 
>> Good question. You can probably use filters, but it isn't a trivial
>> task, depending on the back-end.
>
> I have now succeeded using CSS, but this is for HTML only, of course.
>
>
>> 
>> How did you do it in the previous exporter?
>
>
> There used to be a variable org-export-remove-timestamps-from-toc, and
> a function org-export-cleanup-toc-line which provided this
> functionality. It is actually somewhat useful functionality. It there
> a filter that is applied only to toc lines?

Now, almost all back-ends providing a TOC functionality allow to
add :OPTIONAL_TITLE: property in an headline to set its corresponding
entry in the table of contents.

Do you think it's still necessary to provide an equivalent for
`org-export-remove-timestamps-from-toc'? It's only a matter of copying
the headline title in the property, without timestamp.


Regards,

-- 
Nicolas Goaziou

Reply via email to