From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Exporter question Date: Sun, 24 Feb 2013 11:48:42 +0100 Message-ID: <4D936BFD-2E2A-48A1-B6B8-026ADFCD7AC8@gmail.com> References: <9C4C997C2CA6AA488CBC8C9E56E764EE264510C3@MBX04.uva.nl> <87r4kl9uy4.fsf@gmail.com> <4D16776B-192B-4723-80FF-AEAC5E3B458C@gmail.com> <87zjyuytt4.fsf@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9a1L-00079r-LR for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 06:45:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9a1K-0002pK-B3 for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 06:45:31 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:59746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9a1K-0002p7-5q for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 06:45:30 -0500 Received: by mail-wi0-f181.google.com with SMTP id hm6so2216916wib.2 for ; Sun, 24 Feb 2013 03:45:28 -0800 (PST) In-Reply-To: <87zjyuytt4.fsf@gmail.com> 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: Nicolas Goaziou Cc: "emacs-orgmode@gnu.org List" , "Dominik, Carsten" Hi Nicolas, I am curious why you chose the name "optional_title" for the property? = Why not, for example "TOC_TITLE" or something like this? - Carsten On 24.2.2013, at 09:55, Nicolas Goaziou wrote: > Hello, >=20 > Carsten Dominik writes: >=20 >> On 12.2.2013, at 20:46, Nicolas Goaziou wrote: >>=20 >>> Hello, >>>=20 >>> "Dominik, Carsten" writes: >>>=20 >>>> 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? >>>=20 >>> Good question. You can probably use filters, but it isn't a trivial >>> task, depending on the back-end. >>=20 >> I have now succeeded using CSS, but this is for HTML only, of course. >>=20 >>=20 >>>=20 >>> How did you do it in the previous exporter? >>=20 >>=20 >> 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? >=20 > 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. >=20 > 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. >=20 >=20 > Regards, >=20 > --=20 > Nicolas Goaziou