|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
Ensuring two digits in EXSLT produced time fieldsTo automatically produce pubdates, I've followed the advice on this page http://www.dpawson.co.uk/docbook/styling/custom.html#d2212e1704.
In the comments, it mentions "Add number formatting to ensure two digits in time fields." - does anyone know how to do that? At the moment we do indeed get a problem that if a time is, say, 14:07, it comes out as "14:7". Thanks, P. |
|
|
Re: Ensuring two digits in EXSLT produced time fieldsActually, the stylesheets have a processing instruction named dbtimestamp
that does that. The "M" format letter automatically inserts the leading zero if the minute number is less than 10. See: http://www.sagehill.net/docbookxsl/Datetime.html Bob Stayton Sagehill Enterprises DocBook Consulting bobs@... ----- Original Message ----- From: "Paul Moloney" <paul_moloney@...> To: <docbook-apps@...> Sent: Wednesday, March 28, 2007 7:43 AM Subject: [docbook-apps] Ensuring two digits in EXSLT produced time fields > > To automatically produce pubdates, I've followed the advice on this page > http://www.dpawson.co.uk/docbook/styling/custom.html#d2212e1704. > > In the comments, it mentions "Add number formatting to ensure two digits > in > time fields." - does anyone know how to do that? At the moment we do > indeed > get a problem that if a time is, say, 14:07, it comes out as "14:7". > > Thanks, > > P. > > -- > View this message in context: > http://www.nabble.com/Ensuring-two-digits-in-EXSLT-produced-time-fields-tf3481120.html#a9716383 > Sent from the docbook apps mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@... > For additional commands, e-mail: docbook-apps-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
RE: Ensuring two digits in EXSLT produced time fieldsOn that note, is there any way to make the "day of the month" value drop
the leading '0'? I use <?dbtimestamp format='B d, Y'?> and I get something like 'March 07, 2007' which seems a bit crude. I would like to see 'March 7, 2007' Regards, Dean Nelson Enterprise Electronics Corp -----Original Message----- From: Bob Stayton [mailto:bobs@...] Sent: Wednesday, March 28, 2007 12:05 PM To: Paul Moloney; docbook-apps@... Subject: Re: [docbook-apps] Ensuring two digits in EXSLT produced time fields Actually, the stylesheets have a processing instruction named dbtimestamp that does that. The "M" format letter automatically inserts the leading zero if the minute number is less than 10. See: http://www.sagehill.net/docbookxsl/Datetime.html Bob Stayton Sagehill Enterprises DocBook Consulting bobs@... ----- Original Message ----- From: "Paul Moloney" <paul_moloney@...> To: <docbook-apps@...> Sent: Wednesday, March 28, 2007 7:43 AM Subject: [docbook-apps] Ensuring two digits in EXSLT produced time fields > > To automatically produce pubdates, I've followed the advice on this > page http://www.dpawson.co.uk/docbook/styling/custom.html#d2212e1704. > > In the comments, it mentions "Add number formatting to ensure two > digits > in > time fields." - does anyone know how to do that? At the moment we do > indeed > get a problem that if a time is, say, 14:07, it comes out as "14:7". > > Thanks, > > P. > > -- > View this message in context: > tf3481120.html#a9716383 > Sent from the docbook apps mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@... > For additional commands, e-mail: > docbook-apps-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: Ensuring two digits in EXSLT produced time fieldsLooking at the code again, it looks like this should work:
<?dbtimestamp format="B d, Y" padding="0"?> The padding is 1 by default. The padding value applies to hour and minute as well as date, so it would be best to use separate dbtimestamp PIs if you need both date and time and want different padding behavior. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@... ----- Original Message ----- From: "Nelson, Dean" <dean.nelson@...> To: <docbook-apps@...> Sent: Wednesday, March 28, 2007 10:33 AM Subject: RE: [docbook-apps] Ensuring two digits in EXSLT produced time fields On that note, is there any way to make the "day of the month" value drop the leading '0'? I use <?dbtimestamp format='B d, Y'?> and I get something like 'March 07, 2007' which seems a bit crude. I would like to see 'March 7, 2007' Regards, Dean Nelson Enterprise Electronics Corp -----Original Message----- From: Bob Stayton [mailto:bobs@...] Sent: Wednesday, March 28, 2007 12:05 PM To: Paul Moloney; docbook-apps@... Subject: Re: [docbook-apps] Ensuring two digits in EXSLT produced time fields Actually, the stylesheets have a processing instruction named dbtimestamp that does that. The "M" format letter automatically inserts the leading zero if the minute number is less than 10. See: http://www.sagehill.net/docbookxsl/Datetime.html Bob Stayton Sagehill Enterprises DocBook Consulting bobs@... ----- Original Message ----- From: "Paul Moloney" <paul_moloney@...> To: <docbook-apps@...> Sent: Wednesday, March 28, 2007 7:43 AM Subject: [docbook-apps] Ensuring two digits in EXSLT produced time fields > > To automatically produce pubdates, I've followed the advice on this > page http://www.dpawson.co.uk/docbook/styling/custom.html#d2212e1704. > > In the comments, it mentions "Add number formatting to ensure two > digits > in > time fields." - does anyone know how to do that? At the moment we do > indeed > get a problem that if a time is, say, 14:07, it comes out as "14:7". > > Thanks, > > P. > > -- > View this message in context: > tf3481120.html#a9716383 > Sent from the docbook apps mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@... > For additional commands, e-mail: > docbook-apps-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
RE: Ensuring two digits in EXSLT produced time fieldsThanks Bob, it worked!
Regards, Dean Nelson Enterprise Electronics Corp -----Original Message----- From: Bob Stayton [mailto:bobs@...] Sent: Wednesday, March 28, 2007 3:07 PM To: Nelson, Dean; docbook-apps@... Subject: Re: [docbook-apps] Ensuring two digits in EXSLT produced time fields Looking at the code again, it looks like this should work: <?dbtimestamp format="B d, Y" padding="0"?> The padding is 1 by default. The padding value applies to hour and minute as well as date, so it would be best to use separate dbtimestamp PIs if you need both date and time and want different padding behavior. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@... ----- Original Message ----- From: "Nelson, Dean" <dean.nelson@...> To: <docbook-apps@...> Sent: Wednesday, March 28, 2007 10:33 AM Subject: RE: [docbook-apps] Ensuring two digits in EXSLT produced time fields On that note, is there any way to make the "day of the month" value drop the leading '0'? I use <?dbtimestamp format='B d, Y'?> and I get something like 'March 07, 2007' which seems a bit crude. I would like to see 'March 7, 2007' Regards, Dean Nelson Enterprise Electronics Corp -----Original Message----- From: Bob Stayton [mailto:bobs@...] Sent: Wednesday, March 28, 2007 12:05 PM To: Paul Moloney; docbook-apps@... Subject: Re: [docbook-apps] Ensuring two digits in EXSLT produced time fields Actually, the stylesheets have a processing instruction named dbtimestamp that does that. The "M" format letter automatically inserts the leading zero if the minute number is less than 10. See: http://www.sagehill.net/docbookxsl/Datetime.html Bob Stayton Sagehill Enterprises DocBook Consulting bobs@... ----- Original Message ----- From: "Paul Moloney" <paul_moloney@...> To: <docbook-apps@...> Sent: Wednesday, March 28, 2007 7:43 AM Subject: [docbook-apps] Ensuring two digits in EXSLT produced time fields > > To automatically produce pubdates, I've followed the advice on this > page http://www.dpawson.co.uk/docbook/styling/custom.html#d2212e1704. > > In the comments, it mentions "Add number formatting to ensure two > digits in > time fields." - does anyone know how to do that? At the moment we do > indeed > get a problem that if a time is, say, 14:07, it comes out as "14:7". > > Thanks, > > P. > > -- > View this message in context: > tf3481120.html#a9716383 > Sent from the docbook apps mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@... > For additional commands, e-mail: > docbook-apps-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
releaseinfo not showing in PDF
Hello List. I have "<releaseinfo>RELEASE INFO</releaseinfo>" under "book\bookinfo" but it's not showing up in PDF. Am I doing something wrong?
|
|
|
Re: releaseinfo not showing in PDFOn 4/2/07, Mykone Saunders <mykone@...> wrote:
> > Hello List. I have "<releaseinfo>RELEASE INFO</releaseinfo>" under > "book\bookinfo" but it's not showing up in PDF. Am I doing something wrong? Just to clarify: you want the releaseinfo elements to show up on the page just after the the very first page of the document, right? (ie book.titlepage.verso from the docbook5-xsl-1.72.0/titlepage.templates.xsl file) Assuming that's the case, I am unable to replicate your problem using the Docbook5 stylesheets wih Windows, xsltproc (xsltproc was compiled against libxml 20627, libxslt 10119 and libexslt 813) and fop 0.93. If you have a different setup, then someone who has that setup might be able to help you. If you want the releaseinfo element to show up somewhere else (eg the front cover or somewhere in the body text), that's a very different matter. :) kells Here's my test case: xsltproc --nonet --xinclude --output test.fo app.xsl test.xml c:\docbook\fop.bat test.fo test.pdf test.xml ======= <?xml version="1.0" encoding="UTF-8"?> <book version="5.0" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:html="http://www.w3.org/1999/xhtml" > <bookinfo> <releaseinfo>RELEASE INFO</releaseinfo> </bookinfo> <chapter> <title>Hello world!</title> <para>Sample explanatory text here</para> <para> Lorem ipsum </para> </chapter> </book> app.xsl ======= <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" > <xsl:import href="file:///c:/docbook/lib/docbook5-xsl-1.72.0/fo/docbook.xsl"/> <!-- Pretty print the FO output tree (please! :) --> <xsl:output encoding="UTF-8" indent="yes" /> </xsl:stylesheet> --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: releaseinfo not showing in PDF
I am using Docbook XSL 1.69.1 with Docbook XML 4.4
On Mon, 2007-04-02 at 15:42 -0600, Kells Kearney wrote: On 4/2/07, Mykone Saunders <mykone@...> wrote: > > Hello List. I have "<releaseinfo>RELEASE INFO</releaseinfo>" under > "book\bookinfo" but it's not showing up in PDF. Am I doing something wrong? Just to clarify: you want the releaseinfo elements to show up on the page just after the the very first page of the document, right? (ie book.titlepage.verso from the docbook5-xsl-1.72.0/titlepage.templates.xsl file) Assuming that's the case, I am unable to replicate your problem using the Docbook5 stylesheets wih Windows, xsltproc (xsltproc was compiled against libxml 20627, libxslt 10119 and libexslt 813) and fop 0.93. If you have a different setup, then someone who has that setup might be able to help you. If you want the releaseinfo element to show up somewhere else (eg the front cover or somewhere in the body text), that's a very different matter. :) kells Here's my test case: xsltproc --nonet --xinclude --output test.fo app.xsl test.xml c:\docbook\fop.bat test.fo test.pdf test.xml ======= <?xml version="1.0" encoding="UTF-8"?> <book version="5.0" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:html="http://www.w3.org/1999/xhtml" > <bookinfo> <releaseinfo>RELEASE INFO</releaseinfo> </bookinfo> <chapter> <title>Hello world!</title> <para>Sample explanatory text here</para> <para> Lorem ipsum </para> </chapter> </book> app.xsl ======= <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" > <xsl:import href="file:///c:/docbook/lib/docbook5-xsl-1.72.0/fo/docbook.xsl"/> <!-- Pretty print the FO output tree (please! :) --> <xsl:output encoding="UTF-8" indent="yes" /> </xsl:stylesheet> --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: releaseinfo not showing in PDF Okay, then two follow-up questions:
1. Did you want the information on the page after the front cover? 2. When you try copying and pasting the files into your system and create a PDF, do you actually see the release info show up? kells On 4/2/07, Mykone Saunders <mykone@...> wrote: > > I am using Docbook XSL 1.69.1 with Docbook XML 4.4 > > > On Mon, 2007-04-02 at 15:42 -0600, Kells Kearney wrote: > > > On 4/2/07, Mykone Saunders <mykone@...> wrote: > > > > Hello List. I have "<releaseinfo>RELEASE INFO</releaseinfo>" under > > "book\bookinfo" but it's not showing up in PDF. Am I doing something > wrong? > > Just to clarify: you want the releaseinfo elements to show up on > the page just after the the very first page of the document, right? > (ie book.titlepage.verso from the > docbook5-xsl-1.72.0/titlepage.templates.xsl file) > > Assuming that's the case, I am unable to replicate your problem > using the Docbook5 stylesheets wih Windows, xsltproc (xsltproc was > compiled against libxml 20627, libxslt 10119 and libexslt 813) and fop > 0.93. If you have a different setup, then someone who has that setup > might be able to help you. > > If you want the releaseinfo element to show up somewhere else (eg > the front cover or somewhere in the body text), that's a very > different matter. :) > > > kells > > Here's my test case: > > xsltproc --nonet --xinclude --output test.fo app.xsl test.xml > c:\docbook\fop.bat test.fo test.pdf > > > test.xml > ======= > <?xml version="1.0" encoding="UTF-8"?> > <book version="5.0" > xmlns="http://docbook.org/ns/docbook" > xmlns:xlink="http://www.w3.org/1999/xlink" > xmlns:xi="http://www.w3.org/2001/XInclude" > xmlns:svg="http://www.w3.org/2000/svg" > xmlns:mml="http://www.w3.org/1998/Math/MathML" > xmlns:html="http://www.w3.org/1999/xhtml" > > > > <bookinfo> > <releaseinfo>RELEASE INFO</releaseinfo> > </bookinfo> > > <chapter> > <title>Hello world!</title> > <para>Sample explanatory text here</para> > > <para> > Lorem ipsum > </para> > > </chapter> > </book> > > app.xsl > ======= > <?xml version="1.0" encoding="UTF-8"?> > > <xsl:stylesheet version="1.0" > xmlns="http://docbook.org/ns/docbook" > xmlns:db="http://docbook.org/ns/docbook" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:fo="http://www.w3.org/1999/XSL/Format" > > > > <xsl:import > href="file:///c:/docbook/lib/docbook5-xsl-1.72.0/fo/docbook.xsl"/> > > <!-- Pretty print the FO output tree (please! :) --> > <xsl:output encoding="UTF-8" indent="yes" /> > > </xsl:stylesheet> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > docbook-apps-unsubscribe@... > For additional commands, e-mail: > docbook-apps-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: releaseinfo not showing in PDF
Also, I am using RenderX XEP 4.9 Personal Edition. www.renderx.com
On Mon, 2007-04-02 at 17:46 -0400, Mykone Saunders wrote: I am using Docbook XSL 1.69.1 with Docbook XML 4.4 |
|
|
Re: releaseinfo not showing in PDF
1. Yes i want it on the second page, just like copyright, pubdate, legalnotice, etc.
2. Did you mean create against Docbook 5.0 and XSK 1.72.0? (If yes, my current environment is 4.4 with 1.69.2. I am not ready to change to 5.0 1.72.0 unless I have to.) It works ok in HTML (CHM) version. Just not in PDF. On Mon, 2007-04-02 at 15:47 -0600, Kells Kearney wrote: Okay, then two follow-up questions: 1. Did you want the information on the page after the front cover? 2. When you try copying and pasting the files into your system and create a PDF, do you actually see the release info show up? kells On 4/2/07, Mykone Saunders <mykone@...> wrote: > > I am using Docbook XSL 1.69.1 with Docbook XML 4.4 > > > On Mon, 2007-04-02 at 15:42 -0600, Kells Kearney wrote: > > > On 4/2/07, Mykone Saunders <mykone@...> wrote: > > > > Hello List. I have "<releaseinfo>RELEASE INFO</releaseinfo>" under > > "book\bookinfo" but it's not showing up in PDF. Am I doing something > wrong? > > Just to clarify: you want the releaseinfo elements to show up on > the page just after the the very first page of the document, right? > (ie book.titlepage.verso from the > docbook5-xsl-1.72.0/titlepage.templates.xsl file) > > Assuming that's the case, I am unable to replicate your problem > using the Docbook5 stylesheets wih Windows, xsltproc (xsltproc was > compiled against libxml 20627, libxslt 10119 and libexslt 813) and fop > 0.93. If you have a different setup, then someone who has that setup > might be able to help you. > > If you want the releaseinfo element to show up somewhere else (eg > the front cover or somewhere in the body text), that's a very > different matter. :) > > > kells > > Here's my test case: > > xsltproc --nonet --xinclude --output test.fo app.xsl test.xml > c:\docbook\fop.bat test.fo test.pdf > > > test.xml > ======= > <?xml version="1.0" encoding="UTF-8"?> > <book version="5.0" > xmlns="http://docbook.org/ns/docbook" > xmlns:xlink="http://www.w3.org/1999/xlink" > xmlns:xi="http://www.w3.org/2001/XInclude" > xmlns:svg="http://www.w3.org/2000/svg" > xmlns:mml="http://www.w3.org/1998/Math/MathML" > xmlns:html="http://www.w3.org/1999/xhtml" > > > > <bookinfo> > <releaseinfo>RELEASE INFO</releaseinfo> > </bookinfo> > > <chapter> > <title>Hello world!</title> > <para>Sample explanatory text here</para> > > <para> > Lorem ipsum > </para> > > </chapter> > </book> > > app.xsl > ======= > <?xml version="1.0" encoding="UTF-8"?> > > <xsl:stylesheet version="1.0" > xmlns="http://docbook.org/ns/docbook" > xmlns:db="http://docbook.org/ns/docbook" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:fo="http://www.w3.org/1999/XSL/Format" > > > > <xsl:import > href="file:///c:/docbook/lib/docbook5-xsl-1.72.0/fo/docbook.xsl"/> > > <!-- Pretty print the FO output tree (please! :) --> > <xsl:output encoding="UTF-8" indent="yes" /> > > </xsl:stylesheet> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > docbook-apps-unsubscribe@... > For additional commands, e-mail: > docbook-apps-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: releaseinfo not showing in PDFOn 4/2/07, Mykone Saunders <mykone@...> wrote:
> > 1. Yes i want it on the second page, just like copyright, pubdate, > legalnotice, etc. Okay, good. That should be pretty easy, then. :) > 2. Did you mean create against Docbook 5.0 and XSK 1.72.0? (If yes, my > current environment is 4.4 with 1.69.2. I am not ready to change to 5.0 > 1.72.0 unless I have to.) It works ok in HTML (CHM) version. Just not in > PDF. Oh, sorry, I meant using your current environment. If you copy the files to your computer and then use your current setup, hopefully it should generate * blank titlepage * page with the words RELEASE INFO at the top * blank page * table of contents * chapter heading and sample text If this simple test doesn't generate something like the above, then something really basic is unhappy with the world and we'll need to go deeper. This might be something with the stylesheets, for example. (I'm told that it can be quite painful to switch stylesheet versions, but I've never done that firsthand. We might want to avoid that for the moment. :) If you've got things mostly working the way you like, it might be easier to get your current environment to work. If the simple test does generate something with the release info, then you'll have to add content until you get to the point where things stop working and figure things out from there. :) kells > > > On Mon, 2007-04-02 at 15:47 -0600, Kells Kearney wrote: > Okay, then two follow-up questions: > > 1. Did you want the information on the page after the front cover? > > 2. When you try copying and pasting the files into your system and > create a PDF, do you actually see the release info show up? > > > kells > > On 4/2/07, Mykone Saunders <mykone@...> wrote: > > > > I am using Docbook XSL 1.69.1 with Docbook XML 4.4 > > > > > > On Mon, 2007-04-02 at 15:42 -0600, Kells Kearney wrote: > > > > > > On 4/2/07, Mykone Saunders <mykone@...> wrote: > > > > > > Hello List. I have "<releaseinfo>RELEASE INFO</releaseinfo>" under > > > "book\bookinfo" but it's not showing up in PDF. Am I doing something > > wrong? > > > > Just to clarify: you want the releaseinfo elements to show up on > > the page just after the the very first page of the document, right? > > (ie book.titlepage.verso from the > > docbook5-xsl-1.72.0/titlepage.templates.xsl file) > > > > Assuming that's the case, I am unable to replicate your problem > > using the Docbook5 stylesheets wih Windows, xsltproc (xsltproc was > > compiled against libxml 20627, libxslt 10119 and libexslt 813) and fop > > 0.93. If you have a different setup, then someone who has that setup > > might be able to help you. > > > > If you want the releaseinfo element to show up somewhere else (eg > > the front cover or somewhere in the body text), that's a very > > different matter. :) > > > > > > kells > > > > Here's my test case: > > > > xsltproc --nonet --xinclude --output test.fo app.xsl test.xml > > c:\docbook\fop.bat test.fo test.pdf > > > > > > test.xml > > ======= > > <?xml version="1.0" encoding="UTF-8"?> > > <book version="5.0" > > xmlns="http://docbook.org/ns/docbook" > > xmlns:xlink="http://www.w3.org/1999/xlink" > > xmlns:xi="http://www.w3.org/2001/XInclude" > > xmlns:svg="http://www.w3.org/2000/svg" > > xmlns:mml="http://www.w3.org/1998/Math/MathML" > > xmlns:html="http://www.w3.org/1999/xhtml" > > > > > > > <bookinfo> > > <releaseinfo>RELEASE INFO</releaseinfo> > > </bookinfo> > > > > <chapter> > > <title>Hello world!</title> > > <para>Sample explanatory text here</para> > > > > <para> > > Lorem ipsum > > </para> > > > > </chapter> > > </book> > > > > app.xsl > > ======= > > <?xml version="1.0" encoding="UTF-8"?> > > > > <xsl:stylesheet version="1.0" > > xmlns="http://docbook.org/ns/docbook" > > xmlns:db="http://docbook.org/ns/docbook" > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > > xmlns:fo="http://www.w3.org/1999/XSL/Format" > > > > > > > <xsl:import > > > href="file:///c:/docbook/lib/docbook5-xsl-1.72.0/fo/docbook.xsl"/> > > > > <!-- Pretty print the FO output tree (please! :) --> > > <xsl:output encoding="UTF-8" indent="yes" /> > > > > </xsl:stylesheet> > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: releaseinfo not showing in PDF |