[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Re: isbn, biblioid and edition not visible in PDF output
Hi Tomek,The basic problem is that the info elements can contain many elements that are considered metadata that are for internal use only and not intended to be displayed. And different users need different information on the title pages, in different orders and presentations. Because of all these considerations, the stylesheets are set up to support customizing the titlepage information. See this reference for details on how to do that.
http://www.sagehill.net/docbookxsl/HTMLTitlePage.htmlYou would need to add isbn and biblioid to a copy of the title page specification file, process it with the template/titlepage.xsl stylesheet file to create a titlepage stylesheet module, and import that module into a customization layer. It may seem like a lot just to add a couple of elements, but it is a general purpose mechanism that can work for any combination of elements and styles.
Bob Stayton Sagehill Enterprises bobs@sagehill.net----- Original Message ----- From: "Tomek Kaczanowski" <kaczanowski.tomek@gmail.com>
To: <docbook-apps@lists.oasis-open.org> Sent: Tuesday, February 28, 2012 7:53 AM Subject: [docbook-apps] Re: isbn, biblioid and edition not visible in PDF output Hi All, I'm completely lost here. Could anyone help? -- Regards / Pozdrawiam Tomek Kaczanowski http://kaczanowscy.pl/tomek 2012/2/26 Tomek Kaczanowski <kaczanowski.tomek@gmail.com>:
Hi All, I try to include ISBN information in the PDF output. Here is my book.xml file - it contains an bookinfo element with some date - e.g. isbn and biblioid. But they never got printed in PDF version. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> <book lang="en"> <bookinfo> <title>My book title</title> <authorgroup> <author><firstname>John</firstname><surname>Doe</surname></author> </authorgroup> <pubdate>2012</pubdate> <copyright> <year>2012</year> <holder>whatever.com</holder> </copyright> <biblioid class="isbn">12345</biblioid> <isbn>1234</isbn> <edition>1.0</edition> <legalnotice> <para>blah</para> </legalnotice> </bookinfo> <chapter id="_chapter_1"> <title>Chapter 1</title> <simpara>Blah</simpara> </chapter> </book> The output of bookinfo is the following: My book title by John Doe Publication date 2012 Copyright © 2012 whatever.coml blah As you can see not only "isbn" and "biblioid" is missing bug also "edition". I generate PDF with the following: xsltproc --output /home/tomek/Documents/testbook/try/book.fo /home/tomek/bin/asciidoc-8.6.5/docbook-xsl/fo.xsl /home/tomek/Documents/testbook/try/book2.xml fop -fo /home/tomek/Documents/testbook/try/book.fo -pdf /home/tomek/Documents/testbook/try/book.pdf What can I do to have ISBN included in PDF version? -- Regards / Pozdrawiam Tomek Kaczanowski http://kaczanowscy.pl/tomek
--------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]