OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: article / info / author / address - how do I make it appear?


>> I had hoped, I would find a simple switch saying "include author?".

alright, it's not as simple as that, but almost ;-)

My "article" starts like this:

    <article version="5.0" class="techreport" xmlns="http://docbook.org/ns/docbook"; xmlns:xl="http://www.w3.org/1999/xlink"; xml:lang="de">
      <info>
        <title>...</title>
        <author>
          <personname><firstname>Jochen</firstname><surname>Hayek</surname></personname>
          <address><street>Augsburger Straße 33</street><postcode>10789</postcode><city>Berlin</city><country>Deutschland</country></address>
        </author>
        <date><?dbtimestamp format="Y-m-d H:M:S"?></date>
        <releaseinfo role="rcs">$Id: book.xml 1.4 2010/07/18 02:04:14 johayek Exp johayek $</releaseinfo>
      </info>



According to

  Chapter 11 ("title page customization"), "create a titlepage spec file"

there is now a html/mytitlepages.spec.xml, copied from

  /usr/share/xml/docbook/stylesheet/nwalsh5/1.75.1/html/titlepage.templates.xml

and extended a little:

      <t:titlepage-content t:side="recto">
        <title/>
        <subtitle/>
        <corpauthor/>
        <authorgroup/>
        <author/>

        <address/>
        <street/>
        <postcode/>
        <city/>
        <country/>

        <othercredit/>
        <releaseinfo/>

Maybe it's even overdone.

And I created anew, what need that:

[2010-07-22 17:06:24] johayek@HayekU $ make mytitlepages
xsltproc \
            --output html/mytitlepages.xsl \
            /usr/share/xml/docbook/stylesheet/nwalsh5/1.75.1/template/titlepage.xsl \
            html/mytitlepages.spec.xml

[2010-07-22 17:06:35] johayek@HayekU $ make html
env XML_CATALOG_FILES=/etc/xml/catalog \
            xsltproc \
                --output book.html \
                html/docbook.xsl \
                book.xml
Note: namesp. cut : stripped namespace before processing           ...
WARNING: cannot add @xml:base to node set root element.  Relative paths may not work.
Note: namesp. cut : processing stripped document                   ...

[2010-07-22 17:07:23] johayek@HayekU $ 




If I am missing any necessary details,
you will find the TAR ball here:

  http://Hayek.name/Jochen/tmp/20100722--article-address-problem.tar.bz2

I am quite positive, that things will improve on my side, the more I going into depth here right now,
which I actually avoided for a couple of years.



Appreciating any help and pointers,
J.
--
pls don't reply privately!
pls don't regard this Hun as rough!


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]