From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dale Smith Subject: Re: Re: Custom docbook stylesheets. Date: Mon, 22 Jun 2009 11:25:30 -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 1MIlP9-0007fL-Tv for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 11:25:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIlP4-0007b5-VV for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 11:25:55 -0400 Received: from [199.232.76.173] (port=45185 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIlP4-0007aq-Q9 for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 11:25:50 -0400 Received: from [66.178.229.162] (port=55615 helo=flexo.vxitech.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MIlP4-0005CG-8o for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 11:25:50 -0400 In-Reply-To: (Baoqiu Cui's message of "Wed, 27 May 2009 13:59:23 -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: >>> 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. -Dale -- Dale P. Smith dales@vtiinstruments.com 216-447-4059 x2018 216-447-8951 FAX (Company mandated disclaimer follows...) The information in this e-mail and any attachments is intended solely for use by the recipient(s) to whom this e-mail is addressed and may contain confidential and/or privileged information which is exempt from disclosure. If you are not an intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this e-mail and any attachments in error and that dissemination, distribution, review or copying of this e-mail and its attachments is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete all electronic and paper copies of this e-mail as well as any attachments. Thank you. http://www.vtiinstruments.com/images/vtiemaillogo.gif