Karakas Online

4.5. Check paths of catalog files

Check the lyxtox script and adapt the catalog files paths (see Section 7.1.7) to your situation. You may already have a master catalog installed on your system by your distribution. In my SuSE system, I have one in /etc/sgml/catalog. Open the file and pick the catalogs you need, adding them to the SGML_CATALOG_FILES variable as follows:

# openjade needs this! It is just the content of
# the /etc/sgml/catalog file. Please modify accordingly.
SGML_CATALOG_FILES="$SGML_CATALOG_FILES:/usr/share/sgml/CATALOG.iso_ent"
SGML_CATALOG_FILES="$SGML_CATALOG_FILES:/usr/share/sgml/CATALOG.docbook-dsssl-stylesheets"
SGML_CATALOG_FILES="$SGML_CATALOG_FILES:/usr/share/sgml/CATALOG.mathml-2.0"
SGML_CATALOG_FILES="$SGML_CATALOG_FILES:/usr/share/sgml/CATALOG.svg-1.1"
SGML_CATALOG_FILES="$SGML_CATALOG_FILES:/usr/share/sgml/CATALOG.docbook_4"
SGML_CATALOG_FILES="$SGML_CATALOG_FILES:/usr/share/sgml/openjade/catalog"

Not all catalogs from /etc/sgml/catalog should be added to SGML_CATALOG_FILES, although in theory, you should be able to just add the master catalog and let it do the rest (FIXME: I had problems with that, need to investigate why). Also, add the RefDB catalog only if you have RefDB installed:

SGML_CATALOG_FILES="$SGML_CATALOG_FILES:/usr/share/refdb/refdb.cat"
Last updated Mon Sep 24 01:19:25 CEST 2007 Permalink: http://www.karakas-online.de/mySGML/catalog-paths.html All contents © 2002-2007 Chris Karakas