From mboxrd@z Thu Jan 1 00:00:00 1970 From: dsmith@vtiinstruments.com (Dale P. Smith) Subject: Re: Re: Custom docbook stylesheets. Date: Mon, 03 May 2010 15:25:59 -0400 Message-ID: References: <9C2D1FA8-9C92-4B8A-8349-A5B767658FC7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O91HK-0001HY-VI for emacs-orgmode@gnu.org; Mon, 03 May 2010 15:26:07 -0400 Received: from [140.186.70.92] (port=39263 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O91HJ-0001H9-HH for emacs-orgmode@gnu.org; Mon, 03 May 2010 15:26:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O91HI-0005Og-5x for emacs-orgmode@gnu.org; Mon, 03 May 2010 15:26:05 -0400 Received: from [66.178.229.162] (port=20380 helo=flexo.cle.vtiinstrument.lcl) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O91HH-0005NW-6m for emacs-orgmode@gnu.org; Mon, 03 May 2010 15:26:04 -0400 In-Reply-To: (Baoqiu Cui's message of "Tue, 23 Jun 2009 01:13:30 -0500") 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: Baoqiu Cui Cc: "emacs-orgmode@gnu.org" Baoqiu Cui writes: > Hi Dale, > > Dale Smith writes: > >> Dale Smith writes: >> >>>>>> 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)? >>>> >>>> I thought about doing something similar to make the commands easier to >>>> set, but stopped pursuing that after seeing the format string style >>>> worked fine. I am not sure if any other Emacs modes/packages have done >>>> something like this, i.e. using (semi)named arguments. >>> >>> Well, it took me a while, but it found it. It's the format-spec >>> function. (Actually, http://edward.oconnor.cx/2009/06/format-spec >>> clued me in.) >>> >>> I'll have a go at it today and see if I can send in a patch. >> >> Ok. This works for me. Docs are not updated. That would push me >> over the 10 line limit. ;^) > > Thanks for working on this patch, which looks very good to me! Yes, I > think format-spec is the right way to go, and it does make the command > format more flexible. This didn't seem to make it into org-mode. Any chance it could be added? Thanks, -Dale -- Dale P. Smith dales@vtiinstruments.com 216-447-4059 x2018 216-447-8951 FAX