Thanks Kells.. The problem seemed to have been with XSL 1.69.1. It works for 1.72.0. However my xsltproc complains about 1.72.0 when processing html. Thanks again. I will test some more on 1.72.0. You're the best. :o)
On Mon, 2007-04-02 at 16:06 -0600, Kells Kearney wrote: > On 4/2/07, Mykone Saunders <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
