From mboxrd@z Thu Jan 1 00:00:00 1970 From: William =?UTF-8?B?TMOpY2hlbGxl?= Subject: Re: Subtasks cookies out of export Date: Mon, 27 Aug 2012 06:07:59 -0400 Message-ID: <87vcg4hclc.wl%william.lechelle@ens-lyon.fr> References: <87ehmsdb8q.wl%william.lechelle@ens-lyon.fr> <871uisacyj.fsf@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5wEr-0000Fu-Eq for emacs-orgmode@gnu.org; Mon, 27 Aug 2012 06:08:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5wEl-0003tO-Iw for emacs-orgmode@gnu.org; Mon, 27 Aug 2012 06:08:09 -0400 Received: from jabiru.ens-lyon.fr ([140.77.51.2]:44772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5wEl-0003tE-Cm for emacs-orgmode@gnu.org; Mon, 27 Aug 2012 06:08:03 -0400 In-Reply-To: <871uisacyj.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: emacs-orgmode , Nicolas Goaziou On Mon, 27 Aug 2012 11:41:56 +0200, Nicolas Goaziou spake thus: >> I use subtasks cookies in titles, as described in >> http://orgmode.org/manual/Breaking-down-tasks.html, along with todo keywords, >> when writing a document to be exported, and I'd like then NOT to be exported >> (for they're org metadata). Exporting to pdf, still using the default >> exporter. I would have guess there would be an #+option for that (removing the >> progress cookies), but I didn't find it in the export options page. >> >> How much is that possible ? >In the default exporter, you can add a function to >`org-export-preprocess-hook' which will carefully remove every >statistics cookie en the buffer. >In the next exporter, you can still use that hook (named >`org-export-before-parsing-hook' this time) or use the following: > >So, it [is] quite simple already to ignore them. I'm convinced, only I (still) lack the lisp knowledge to write such functions :/ >Do you (and other users) think it's worth to add a customizable variable and >an entry in the #+OPTIONS: line (perhaps with a "stat:nil" value) to achieve >the same? I don't know how much is this feature used, nor specifically for exporting, but I do believe such an entry belongs to the #+OPTIONS line (just like priorities, tags, etc.) Thanks for dealing with this, William