emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Baoqiu Cui <cbaoqiu@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: Custom docbook stylesheets.
Date: Thu, 13 May 2010 12:45:29 -0700	[thread overview]
Message-ID: <bycfx1vtwkm.fsf@muchbodyking-lm.corp.yahoo.com> (raw)
In-Reply-To: kpr5lfbpow.fsf@flexo.cle.vtiinstruments.lcl

dsmith@vtiinstruments.com (Dale P. Smith) writes:

Hi Dale and Carsten,

> Carsten Dominik <carsten.dominik@gmail.com> 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	other threads:[~2010-05-13 19:49 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-27  0:13 Custom docbook stylesheets Dale Smith
2009-05-27  9:39 ` Carsten Dominik
2009-05-27 18:59   ` Baoqiu Cui
2009-05-28  5:31     ` Carsten Dominik
2009-05-28 14:17       ` Dale Smith
2009-06-23 15:29       ` Dale Smith
2009-06-22 15:25     ` Dale Smith
2009-06-22 19:05       ` Dale Smith
2009-06-23  6:13         ` Baoqiu Cui
2009-06-23 15:10           ` Dale Smith
2010-05-03 19:25           ` Dale P. Smith
2010-05-13  5:39             ` Carsten Dominik
2010-05-13 14:11               ` Dale P. Smith
2010-05-13 18:19                 ` Carsten Dominik
2010-05-13 18:51                   ` Dale P. Smith
2010-05-13 19:45                     ` Baoqiu Cui [this message]
2010-05-13 21:09                       ` Dale P. Smith
2010-05-13 23:15                         ` [PATCH] " Baoqiu Cui
2010-05-14 11:39                           ` Carsten Dominik
2010-05-15  4:01                             ` Baoqiu Cui
2010-05-15  6:13                               ` Carsten Dominik
2010-05-13 19:06               ` Baoqiu Cui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bycfx1vtwkm.fsf@muchbodyking-lm.corp.yahoo.com \
    --to=cbaoqiu@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).