Re: [Orgmode] Re: Custom docbook stylesheets.

2010-05-13 Thread Dale P. Smith
Baoqiu Cui writes: > 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

[Orgmode] Re: Custom docbook stylesheets.

2010-05-13 Thread Baoqiu Cui
dsm...@vtiinstruments.com (Dale P. Smith) writes: Hi Dale and Carsten, > Carsten Dominik 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 t

[Orgmode] Re: Custom docbook stylesheets.

2010-05-13 Thread Baoqiu Cui
Sorry for the late reply, Dale and Carsten. Yes, I think this patch should be a applied, as it makes things more flexible. (Thanks, Dale!) The only thing missing in the patch is the docstrings of variables org-export-docbook-xslt-proc-command and org-export-docbook-xsl-fo-proc-command. I'll wor

Re: [Orgmode] Re: Custom docbook stylesheets.

2010-05-13 Thread Dale P. Smith
Carsten Dominik 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 i

Re: [Orgmode] Re: Custom docbook stylesheets.

2010-05-13 Thread Carsten Dominik
Dale, do I still need to do something with #+XSLT? If yes, could you please spell it out for me? Thanks. - Carsten On May 13, 2010, at 4:11 PM, Dale P. Smith wrote: Carsten Dominik writes: Somehow I do net seem to have a patch relating to this thread. Can you please send it again? Baoq

Re: [Orgmode] Re: Custom docbook stylesheets.

2010-05-13 Thread Dale P. Smith
Carsten Dominik writes: > Somehow I do net seem to have a patch relating to this thread. Can > you please send it again? Baoqiu, you agree that this should be > applied? Here is is. diff --git a/lisp/org-docbook.el b/lisp/org-docbook.el index 8a89675..37851da 100644 --- a/lisp/org-docboo

Re: [Orgmode] Re: Custom docbook stylesheets.

2010-05-12 Thread Carsten Dominik
Hi Somehow I do net seem to have a patch relating to this thread. Can you please send it again? Baoqiu, you agree that this should be applied? - Carsten On May 3, 2010, at 9:25 PM, Dale P. Smith wrote: Baoqiu Cui writes: Hi Dale, Dale Smith writes: Dale Smith writes: The curre

Re: [Orgmode] Re: Custom docbook stylesheets.

2010-05-03 Thread Dale P. Smith
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 (a

Re: [Orgmode] Re: Custom docbook stylesheets.

2009-06-23 Thread Dale Smith
Carsten Dominik writes: >>> Maybe we could have something like #+XSLT: or so to configure buffer- >>> local setting for this variable.. >> >> Thanks for the suggestion, Carsten! It's a little hard for me to >> decide >> which way is better to specify the stylesheet: "#+XSLT" or "Local >> V

Re: [Orgmode] Re: Custom docbook stylesheets.

2009-06-23 Thread Dale Smith
Baoqiu Cui writes: > I like %s (for stylesheets). For %p, I guess we can use it to format a > *set* of parameters. Yes, that's what I meant. >> What would be cool is a way to allow the user to *add* custom spec >> chars to the default set. (hint hint) > > Will we make it *too* flexible by doin

[Orgmode] Re: Custom docbook stylesheets.

2009-06-22 Thread Baoqiu Cui
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

Re: [Orgmode] Re: Custom docbook stylesheets.

2009-06-22 Thread Dale Smith
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 com

Re: [Orgmode] Re: Custom docbook stylesheets.

2009-06-22 Thread Dale Smith
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 t

Re: [Orgmode] Re: Custom docbook stylesheets.

2009-05-28 Thread Dale Smith
Carsten Dominik writes: > Thanks for the suggestion, Carsten! It's a little hard for me to >> decide >> which way is better to specify the stylesheet: "#+XSLT" or "Local >> Variables:". Maybe "#+XSLT" is better? I don't see many local >> variables being used in Org mode... Please advise. >

Re: [Orgmode] Re: Custom docbook stylesheets.

2009-05-27 Thread Carsten Dominik
On May 27, 2009, at 8:59 PM, Baoqiu Cui wrote: Carsten Dominik writes: 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

[Orgmode] Re: Custom docbook stylesheets.

2009-05-27 Thread Baoqiu Cui
Carsten Dominik writes: > 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 doc