Opened 17 years ago

Closed 17 years ago

Last modified 8 years ago

#1043 closed defect (fixed)

docbook-xsl-1.67.2

Reported by: matthew@… Owned by: blfs-book@…
Priority: high Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Version increment (1.67.0) - loads of bug fixes in here. See WhatsNew in the tarball for a full list. There's also an INSTALL file which is an installation script for the stylesheets, which creates the catalog.xml file. Might make BLFS instructions simpler - if it works the way we want/need it to.

Change History (10)

comment:1 by matthew@…, 17 years ago

Here's what my script currently does:

install -d /usr/share/xml/docbook/xsl-stylesheets-$(VERSION) chown -R root:root . cp -af INSTALL VERSION common eclipse extensions fo html htmlhelp images \

javahelp lib manpages params profiling template xhtml \ /usr/share/xml/docbook/xsl-stylesheets-1.67.0

install -d /usr/share/doc/xml cp -af doc/* /usr/share/doc/xml cd /usr/share/xml/docbook/xsl-stylesheets-1.67.0 && sh INSTALL echo "export XML_CATALOG_FILES=/usr/share/xml/docbook/xsl-stylesheets-1.67.0/catalog.xml /etc/xml/catalog" >> /etc/profile

The following line will achieve the same effect as setting XML_CATALOG_FILES:

xmlcatalog --noout --add "delegateURI" \

"http://docbook.sourceforge.net/release/xsl/current/" \ "file:///usr/share/xml/docbook/xsl-stylesheets-1.67.0/catalog.xml" \ /etc/xml/catalog

One final point - it might be worth getting the docbook-xsl catalog into /etc/xml/docbook-xsl as this is where the docbook (DTD) catalog is. The DIR and CATALOG variables in the INSTALL script can be sed'ed I suppose, but for now I've just left the catalog at its default location.

Cheers,

Matt.

comment:2 by Randy McMurchy, 17 years ago

I'm not following you with some of this Matt. What's all this XML_CATALOG_FILES environment stuff you bring into the picture.

Is this new?

comment:3 by matthew@…, 17 years ago

Yes, it's new. Basically, what we were doing before is dumping all of the docbook-xsl catalog entries into /etc/xml/catalog. The INSTALL file creates all the correct entries in its own catalog.xml file for us. But, that file isn't searched by default (only /etc/xml/catalog) is, so trying to find the stylesheets won't work out of the box.

There are 2 options here. We can set XML_CATALOG_FILES to contain the new XML catalog. This variable is read by anything that needs to read XML catalogs. Or we can do the "delegateURI" thing, which basically adds an entry to /etc/xml/catalog (which is *always* read) that says when we find the URL given, look in the given catalog file for the rest of the configuration.

This is similar to how docbook is setup - having /etc/xml/docbook contain the nitty gritty details, and /etc/xml/catalog has an entry delegating all lookups for DocBook related stuff to /etc/xml/docbook.

comment:4 by Randy McMurchy, 17 years ago

Ahhh.... I see. Thanks for the clarification. It all makes sense now.

comment:5 by matthew@…, 17 years ago

Summary: docbook-xsl-1.67.0docbook-xsl-1.67.2

Version increment (fixes several bugs introduced in the .0 & .1 releases). See http://sourceforge.net/project/shownotes.php?group_id=21935&release_id=287017 for details.

comment:6 by manuel@…, 17 years ago

This version break the PDF output of the LFS book due the renaming of a template. The fix in our stylesheets is easy but not backward compatible.

comment:7 by larry@…, 17 years ago

Status: newassigned

comment:8 by larry@…, 17 years ago

Leaving open to check against new BLFS stylesheets, when released.

comment:9 by larry@…, 17 years ago

Resolution: fixed
Status: assignedclosed

comment:10 by bdubbs@…, 8 years ago

Milestone: old

Milestone old deleted

Note: See TracTickets for help on using tickets.