From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: backend specific preprocess hook Date: Thu, 18 Aug 2011 19:17:26 +0200 Message-ID: <8739gymyft.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu6D2-00077o-VO for emacs-orgmode@gnu.org; Thu, 18 Aug 2011 13:16:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qu6D1-0004R3-Sc for emacs-orgmode@gnu.org; Thu, 18 Aug 2011 13:16:48 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:63078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu6D1-0004OV-J3 for emacs-orgmode@gnu.org; Thu, 18 Aug 2011 13:16:47 -0400 Received: by wyi11 with SMTP id 11so1859326wyi.0 for ; Thu, 18 Aug 2011 10:16:46 -0700 (PDT) In-Reply-To: (suvayu ali's message of "Mon, 8 Aug 2011 16:28:13 +0200") 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: suvayu ali Cc: org-mode mailing list Hi Suvayu, suvayu ali writes: > I wanted to do some preprocessing based on headline tags (set some > properties), before export[1]. But I want to do this only for specific > backends (html/latex). How can I achieve this? Yes. > [1] IIUC I have to customise the `org-export-preprocess-hook'? Yes, and test against `org-export-current-backend' to see whether you are exporting to HTML or LaTeX. HTH, -- Bastien