Kurt Andrews wrote:
> 
> This is another question where I just don't know enough to know where 
> to start.  I suspect that the solution is somewhere in the xsl layer, 
> but I don't enough to be sure.  I'm using docbook and renderX to 
> produce the final documents in pdf format so this could end up being  a
> docbook or renderx question more than an xxe question.  Maybe I  should
> be using your FO converter instead of renderx... 

Our FO Converter creates RTF and WordML.
RenderX XEP creates PDF and PostScript.
You cannot substitute one for the other.


> Is there a  high level
> drawing or something that shows how all this fits together.

You need to convert DocBook to PDF:
[1] Install the add-on for that (FOP or RenderX)
[2] Use DocBook|Convert|Convert to PDF.
So far, so good.

Now, if you don't like how the PDF looks like, then you are in *trouble*
because you'll have to dive into the XSL style sheets which are used to
convert DocBook to XSL-FO (after that, RenderX, FOP, XMLmind FO
Converter, etc, converts XSL-FO to something else).

DocBook --[XSLT engine]--> XSL-FO --[XSL-FO processor]--> What you want
           (Saxon*,                  (RenderX*,
            xsltproc,                 Antenna House,
            Xalan)                    FOP*,
                                      XMLmind FO Converter*)


Software marked by an asterisk "*" may be used by XXE, and this
transparently for the user.

XSLT = http://www.w3.org/TR/xslt
XSL-FO = http://www.w3.org/TR/xsl/

Customizing the way the DocBook XSL stylesheets are used by XXE is
described here:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html
and especially here:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/custom_params.html
and here:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/custom_params.html#custom_xslt

Moreover, the add-on "A customized configuration for the DocBook DTD"
has been created to give you a quick start.




> I'm trying to accomplish the following
> 
> 1.  Control page breaks so that I can do things like start the table  of
> contents that's generated on a new page, and start each top level 
> section on a new page and add new pages between sub-sections as needed.
> 
> 2.  I use these documents as lecture handouts and I'd like to do 
> something similar to the way that I've used MS Word.  I put my  speaking
> notes in comments and then for the handouts I turn markup  off to print
> the documents for the audience, and turn markup on to  print the copy
> that I will speak from.  I'm thinking that the  solution is to choose a
> specific element to use for my speaking notes  and then create two xsls
> one that puts the element in the document  and one that doesn't.  I'm
> just not sure if someone has solved this  problem before me or not.  It
> seems like a lot of work and I don't  feel comfortable hijacking docbook
> elements for my own purposes.
> 
> If someone could point me in the right direction, I'd appreciate it

http://www.xmlmind.com/xmleditor/_distrib/doc/docbook_xsl/doc/index.html

http://www.sagehill.net/docbookxsl/

Reply via email to