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: Bibliography in DocBook5, continued problems

A month ago I tried airing my bilbiography problem here, but none of the few answers gave me *the* hint to a solution. Let me try again:

I create course materials from several docbook.xml files with a biliography at the end. My books are in a bibliography file and referenced in the material through a bibliography file with empty elements in it. Used to work. Now it doesn't.
I have played with various ways of doing the ref to the actual file.
My customization has:

<xsl:param name="bibliography.collection">file:///home/nml/.docbook/biblio.xml</xsl:param>

A fragment of the document bilbiography file:

    <bibliomixed id="Xue14"/>
    <bibliomixed id="yan09"/>
    <bibliomixed id="DKnuth86">Donald E. Knuth. <citetitle>Computers and
Typesetting: Volume B, TeX: The Program</citetitle>. Addison-Wesley,
1986.  ISBN 0-201-13437-3.

The bibliography file with all the books has (fragment)

  <bibliomixed id="Xue14">
        <surname>Xue</surname>, <firstname>Qiang</firstname>
    </author>, et al.
    <citetitle>The Definitive Guide to Yii 2.0</citetitle>.
    <publishername>Yii Software LLC</publishername>,

The generated output has (fragment)

[Xue14] Error: no bibliography entry: Xue14 found in file:///home/nml/.docbook/biblio.xml

[yan09] Error: no bibliography entry: yan09 found in file:///home/nml/.docbook/biblio.xml

[DKnuth86] Donald E. Knuth. Computers and Typesetting: Volume B, TeX: The Program. Addison-Wesley, 1986. ISBN 0-201-13437-3.

If I take the file statement from file:///home/nml/.docbook/biblio.xml
into my browser it displays the tree structure of the file, so the file does exist :)

My makefile:

                rm -rf site
                mkdir site
                xmllint --noent --xinclude \
                                module.xml > /tmp/docbresolved.xml \
                xsltproc \
                                --output site/ \
                                docbook.xsl \
                                /tmp/docbresolved.xml \
                                2>./errlogxslt && \
                tar czf site.tgz site/*
                echo "site.tgz ready for deployment"

My software

nml1 webdev  $ xmllint --version
xmllint: using libxml version 20902
compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib Lzma
nml1 webdev  $
nml1 webdev  $
nml1 webdev  $ xsltproc --version
Using libxml 20902, libxslt 10128 and libexslt 817
xsltproc was compiled against libxml 20901, libxslt 10128 and libexslt 817
libxslt 10128 was compiled against libxml 20901
libexslt 817 was compiled against libxml 20901
nml1 webdev  $

The stylesheets

<xsl:import href="/usr/share/xml/docbook/xsl-stylesheets-1.78.1/xhtml5/chunk.xsl"/>

Everything works beautifully except the bib.
It's driving me crazy. please help.

Niels Muller Larsen, MSc
Programmer, Assoc Professor

I want to marry a girl just like the girl that married dear old dad.
		-- Freud

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