[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Olink problem in website-package
Dear Bob, Thanks for your clear explanation. It helped me to understand more of the structure of DocBook. However, my problem is still the same... > 1. Find the path to where the docbook XSL stylesheets were installed, such > as /usr/share/sgml/docbook/xsl-stylesheets-1.65.1-2. /usr/share/xml/docbook/stylesheet/nwalsh/1.65.1 > > 2. Find the website distribution directory, and edit the file named > catalog.xml. You need a line that looks like this, matching your location: > > <rewriteURI > uriStartString="http://docbook.sourceforge.net/release/xsl/current/" > > rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.65.1-2/"/> > <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="/usr/share/xml/docbook/stylesheet/nwalsh/1.65.1/" /> in /usr/share/xml/docbook/custom/website/2.5.0/catalog.xml > This maps the URI that the website stylesheets use to a local directory. > > To use the catalog file, change your Makefile command to set an environment > variable that points to the location of the catalog file: > > XML_CATALOG_FILES="/path/to/catalog.xml" xsltproc ... > XML_CATALOG_FILES=/usr/share/xml/docbook/custom/website/2.5.0/catalog.xml ... website.database.xml: autolayout.xml xsltproc --output $@ \ /usr/share/xml/docbook/custom/website/2.5.0/xsl/website-targets.xsl $< But: $ make clean rm -f htdocs/os.html htdocs/programming.html htdocs/index.html ftpadm@archive3:~/xmlwebsite$ make make website make[1]: Entering directory `/home/ftpadm/xmlwebsite' xsltproc \ --output htdocs/os.html \ --stringparam output-root htdocs \ mytabular.xsl \ os.xml xsltproc \ --output htdocs/programming.html \ --stringparam output-root htdocs \ mytabular.xsl \ programming.xml Olink error: targetptr "oslist" not found for targetdoc "os". details: targetptr "oslist" not found for website targetdoc "os". xsltproc \ --output htdocs/index.html \ --stringparam output-root htdocs \ mytabular.xsl \ website.xml make[1]: Leaving directory `/home/ftpadm/xmlwebsite' $ :( Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van Stellenbosch "Let the words of my mouth, and the meditation of my heart, be acceptable in thy sight, O LORD, my strength, and my redeemer." Psalms 19:14
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]