[docbook-apps] fo/docbook.xsl versus fo/profile-docbook.xsl

2010-04-13 Thread Marcel Tromp
I am seeing differernt behaviour in image inclusion between fo/docbook.xsl and fo/profile-docbook.xsl. Using docbook.xsl, image inclusion is relative to the source xml area. Using profile-docbook.xsl, image inclusion adds the destination path of the fo file to the image path. The latter breaks m

Re: [docbook-apps] XInclude quiestion

2010-04-13 Thread Александр Мартынов
Hello Larry, Thanks, this link was helpfull for my question. I forgot that conversion to pdf consist with two steps: 1) converting docbook to fop with xsltproc; 2) converting fop to pdf with apache fop. In first step I forgot to add --xinclude xsltproc option. RL> It sounds like the xincludes ar

Re: [docbook-apps] fo/docbook.xsl versus fo/profile-docbook.xsl

2010-04-13 Thread Jirka Kosek
Marcel Tromp wrote: > I am seeing differernt behaviour in image inclusion between fo/docbook.xsl > and fo/profile-docbook.xsl. > > Using docbook.xsl, image inclusion is relative to the source xml area. > > Using profile-docbook.xsl, image inclusion adds the destination path of the > fo file to th

[docbook-apps] FOP can't find images

2010-04-13 Thread Александр Мартынов
Hello, I got an error when try to using 13.04.2010 12:47:24 org.apache.fop.fo.flow.ExternalGraphic bind SEVERE: Image not found: images/callouts/1.svg In .fo it seems like this: I think my toolset misconfigured, but which tool need to be configured? I need to configure xsltproc to generate n

Re: [docbook-apps] Colored listings

2010-04-13 Thread Александр Мартынов
Hello Larry, As I understand, there is no way to use syntax highlighting with xsltproc, it's requres Saxon. Next, Saxon itself does not process XInclude's, and I need to use xmllint to do this. Also, saxon need the F:\work\docbook-tools\docbook-xsl\fo\F:\work\docbook-tools\docbook-xsl\fo\par

Re: [docbook-apps] Colored listings

2010-04-13 Thread Mathieu Malaterre
2010/4/13 Александр Мартынов : > But listings are still black and white. I'm looking in generated .fo > and found that there is no differences with xsltproc generated .fo. Try HTML output. You'll see that Syntax Highlithing is working. PDF output by default will display shade or gray (AFAIK). You

Re: [docbook-apps] Colored listings

2010-04-13 Thread Christophe HARO
It's not true that PDF output by default will display shade or gray I think that you are using saxon9 but you must use saxon65. (Saxon9 is a xslt 2 proc). See http://xmlguru.cz/2006/07/docbook-syntax-highlighting Regards, -- Christophe HARO christophe.h...@free.fr -

Re: [docbook-apps] Colored listings

2010-04-13 Thread Dave Pawson
On Tue, 13 Apr 2010 15:20:47 +0400 Александр Мартынов wrote: > As I understand, there is no way to use syntax highlighting with > xsltproc, it's requres Saxon. Next, Saxon itself does not process > XInclude's, and I need to use xmllint to do this. Saxon can process xIncludes, but so can the x

Re: [docbook-apps] Colored listings

2010-04-13 Thread Александр Мартынов
Hello Mathieu, I try to generate html using next bat file: --- mkhtml.bat --- java -cp "F:\work\docbook-tools\syntax-hl\xslthl-2.0.1.jar;F:\work\docbook-tools\syntax-hl\saxonhe9-2-0-6j\saxon9he.jar"^ net.sf.saxon.Transform^ -o:%2^ -s:%1^ -xsl:%~dp0\..\docbook-xsl\html\docbook.xsl^ highligh

Re: [docbook-apps] Colored listings

2010-04-13 Thread Mathieu Malaterre
2010/4/13 Александр Мартынов : > Hello Mathieu, > > I try to generate html using next bat file: > > --- mkhtml.bat --- > java -cp > "F:\work\docbook-tools\syntax-hl\xslthl-2.0.1.jar;F:\work\docbook-tools\syntax-hl\saxonhe9-2-0-6j\saxon9he.jar"^ >  net.sf.saxon.Transform^ >  -o:%2^ >  -s:%1^ >  -xs

Re: [docbook-apps] Colored listings

2010-04-13 Thread Александр Мартынов
Hello Christophe, Yes, Your are right, I using Saxon 9.2 and have got warning from saxon about xslt v1.0, but I didn't think that is very important. I wil try your recommended version of saxon. Tuesday, April 13, 2010, 3:52:58 PM, you wrote: CH> It's not true that CH> CH> PDF output by de

Re: [docbook-apps] FOP can't find images

2010-04-13 Thread Bob Stayton
Hi, I think you need to set the parameter 'callout.graphics.path', as described here: http://www.sagehill.net/docbookxsl/Icons.html#CalloutIcons Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Александр Мартынов" To: Sent: Tuesday, April 13, 2010 2:4