From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Custom docbook stylesheets. Date: Wed, 27 May 2009 11:39:56 +0200 Message-ID: <9C2D1FA8-9C92-4B8A-8349-A5B767658FC7@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9FcG-0000ro-AK for emacs-orgmode@gnu.org; Wed, 27 May 2009 05:40:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9FcB-0000nz-AA for emacs-orgmode@gnu.org; Wed, 27 May 2009 05:40:06 -0400 Received: from [199.232.76.173] (port=42319 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9Fc9-0000nH-GU for emacs-orgmode@gnu.org; Wed, 27 May 2009 05:40:01 -0400 Received: from mail-fx0-f169.google.com ([209.85.220.169]:38613) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M9Fc9-0006Qj-5v for emacs-orgmode@gnu.org; Wed, 27 May 2009 05:40:01 -0400 Received: by fxm17 with SMTP id 17so4796936fxm.42 for ; Wed, 27 May 2009 02:40:00 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dale Smith Cc: emacs-orgmode@gnu.org On May 27, 2009, at 2:13 AM, Dale Smith wrote: > Greetings List, > > I was suprised an pleased to discover that the docbook exporter has > the ability to apply the stylesheets to transform to fo and to also > process that to pdf. Somehing I'd like to see is a document specific > way to specify the stylesheet. I tried setting > org-export-docbook-xslt-proc-command in a "Local Variables:" section, > but it seems the variable is being used from a different buffer. > > So, what do you think about some kind of document property to > overrride a global setting? > > The current org-export-docbook-xslt-proc-command is a format string, > with a fixed order of arguments (the fo filename and then the input > docbook filname). Thats probably good enough for most (all?) xslt > processors, but things may be more limited when it comes to also > specifying the stylesheet. Do we need to have some kind of special > markers in the format string for where the different options go? > Something like $i $o and $s (for in, out, and stysheet)? Maybe we could have something like #+XSLT: or so to configure buffer- local setting for this variable...... About the format, this is for Baoqiu to decide. - Carsten