emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Custom docbook stylesheets.


From: Baoqiu Cui
Subject: [Orgmode] Re: Custom docbook stylesheets.
Date: Thu, 13 May 2010 12:45:29 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin)

address@hidden (Dale P. Smith) writes:

Hi Dale and Carsten,

> Carsten Dominik <address@hidden> writes:
>
>> do I still need to do something with #+XSLT?  If yes, could you please
>> spell it out for me?
>
> Ok!
>
> So now the command to process docbook to whatever is more flexible.
> Previously, the the order of input file and output file were fixed,
> and the stylesheet was hard-coded into the command.
>
> The goal of this is to allow for the name of a stylesheet file to be
> directly in the org file itself, using #+XSLT (or soemthing else?).  I
> can see how individual documents could require differnt stylesheets.
>
> So either the command to process can be in the org file, or the
> default command can be modified to use a stylesheet variable, and that
> variable can be in the org file.

Before I change the document for variable
`org-export-docbook-xslt-proc-command', let's finalize the design of
this first. :-)

Currently `org-export-docbook-xslt-proc-command' contains two
format-like specs: "%i" (for the input DocBook XML file) and "%o" (for
the output FO file).  Values of these two specs will be generated based
on the Org file name to be exported.

We should add a 3rd spec, "%s", to this variable for the XSLT stylesheet
that users would like to use for exporting the Org file.  As Dale
pointed earlier, users would like to use different stylesheets for
different Org files.  By default, the value of the stylesheet is set
based on a new customizable variable called
`org-export-docbook-xslt-stylesheet'.  However users can use #+XSLT in
each individual Org file to override it.

Are you OK with this?

Thanks,

-- 
Baoqiu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]