From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Exporter question Date: Sun, 24 Feb 2013 09:55:51 +0100 Message-ID: <87zjyuytt4.fsf@gmail.com> References: <9C4C997C2CA6AA488CBC8C9E56E764EE264510C3@MBX04.uva.nl> <87r4kl9uy4.fsf@gmail.com> <4D16776B-192B-4723-80FF-AEAC5E3B458C@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9XNP-0006H9-GG for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 03:56:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9XNN-0005wD-U5 for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 03:56:07 -0500 Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]:61626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9XNN-0005vl-Lr for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 03:56:05 -0500 Received: by mail-we0-f171.google.com with SMTP id u54so1671584wey.30 for ; Sun, 24 Feb 2013 00:56:04 -0800 (PST) In-Reply-To: <4D16776B-192B-4723-80FF-AEAC5E3B458C@gmail.com> (Carsten Dominik's message of "Tue, 12 Feb 2013 21:00:02 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: "emacs-orgmode@gnu.org List" , "Dominik, Carsten" Hello, Carsten Dominik writes: > On 12.2.2013, at 20:46, Nicolas Goaziou wrote: > >> Hello, >> >> "Dominik, Carsten" 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