Re: [docbook-apps] Re: including non-xml

2010-04-26 Thread maxwell
On Mon, 26 Apr 2010 16:25:49 -0500, Grant Taylor wrote: > Can you not have all your examples in separate source files? > > You might need a pre-processor to include them together when compiling > your source code. Can you compile your source code as is or are some of > the sections duplicate?

[docbook-apps] Re: including non-xml

2010-04-26 Thread Grant Taylor
On 04/26/10 05:41, Ivan Ristic wrote: On a similar matter, does anyone know if it is possible to include only a part of a file? No. To quote the link that Samuel gave: """Since the included text is not XML, you cannot use an xpointer attribute with XPointer syntax to select part of it. You c

RE: [docbook-apps] epub generation

2010-04-26 Thread Mauritz Jeanson
| -Original Message- | From: Jacques Foucry | | I'm trying to use the ThreePress python scripts which call | the docbook/epub xslt. | | It should be possible to use a custom stylesheet which | import the epub.xslt file. | | And I have a trouble with my informaltable : | |

RE: [docbook-apps] epub generation

2010-04-26 Thread Tim Arnold
Hi Jacques, I think you'll find help more quickly with lxml on the lxml mailing list. lxml-...@codespeak.net good luck, --Tim > -Original Message- > From: Jacques Foucry [mailto:jacq...@foucry.net] > Sent: Monday, April 26, 2010 10:21 AM > To: docbook-apps > Subject: [docbook-apps] epub

[docbook-apps] epub generation

2010-04-26 Thread Jacques Foucry
Hello All, I'm trying to use the ThreePress python scripts which call the docbook/epub xslt. It should be possible to use a custom stylesheet which import the epub.xslt file. And I have a trouble with my informaltable : lxml.etree.XSLTApplyError: No adjustColumnWidths function available. I k

Re: [docbook-apps] including non-xml

2010-04-26 Thread Jirka Kosek
Ivan Ristic wrote: > I looked around for a solution, but couldn't find anything. I have an > idea to hack something together that would allow me to specify the > fragment "coordinates" in the URL. For example: > > href="codesample.c?startMarker=XXX&endMarker=YYY" parse="text" > xmlns:xi="

Re: [docbook-apps] including non-xml

2010-04-26 Thread Dave Pawson
On Mon, 26 Apr 2010 11:41:13 +0100 Ivan Ristic wrote: > On a similar matter, does anyone know if it is possible to include > only a part of a file? > > In case of a book on programming, for example, I want to keep all > examples separate (which would allow me to easily perform syntax > checks, a

Re: [docbook-apps] including non-xml

2010-04-26 Thread Ivan Ristic
On a similar matter, does anyone know if it is possible to include only a part of a file? In case of a book on programming, for example, I want to keep all examples separate (which would allow me to easily perform syntax checks, and maintain them separately), but include only certain parts in the

Re: [docbook-apps] including non-xml

2010-04-26 Thread Samuel Wright
I think this is what you want: http://www.sagehill.net/docbookxsl/ModularDoc.html#XIncludePlainText S On Mon, Apr 26, 2010 at 11:27 AM, Dave Pawson wrote: > > Problem. > I'm documenting a bash script. > I don't want to include it physically in the docbook file, > then escape the three < symbol

[docbook-apps] including non-xml

2010-04-26 Thread Dave Pawson
Problem. I'm documenting a bash script. I don't want to include it physically in the docbook file, then escape the three < symbols. Is there a way I can xInclude it into a CDATA section please? Anyone been there and done that? regards -- Dave Pawson XSLT XSL-FO docbook FAQ. http://www.dpa