]>
Commit | Line | Data |
---|---|---|
2e330d62 AF |
1 | --- docbook-utils-0.6.10/frontends/docbook.in.wiget Mon Apr 15 18:58:21 2002 |
2 | +++ docbook-utils-0.6.10/frontends/docbook.in Sun May 26 02:03:10 2002 | |
3 | @@ -6,13 +6,7 @@ | |
4 | # Give the location of the centralized catalog | |
5 | # First try the one with a version matching the version that is indicated in the document | |
6 | centralized-catalog) | |
7 | - SGML_VERSION=`grep -i '<!DOCTYPE' $SGML_FILE | head -n 1 | sed 's/\(V[0-9][\.0-9]*\).*$/\1/; s/^.* V\([0-9][\.0-9]*\)/\1/'` | |
8 | - if [ -f "${SGML_CATALOGS_DIR}/${SGML_XML}-docbook-${SGML_VERSION}"*".cat" ] | |
9 | - then echo "${SGML_CATALOGS_DIR}/${SGML_XML}-docbook-${SGML_VERSION}"*".cat" | |
10 | - elif [ "${SGML_XML}" != "sgml" ] | |
11 | - then echo "${SGML_CATALOGS_DIR}/${SGML_XML}-docbook.cat" | |
12 | - else echo "${SGML_CATALOGS_DIR}/catalog" | |
3b8764b4 | 13 | - fi |
2e330d62 | 14 | + echo "${SGML_CATALOGS_DIR}/catalog" |
3b8764b4 | 15 | ;; |
2e330d62 AF |
16 | # Find a stylesheet on the model "html/docbook.dsl" or "print/docbook.dsl" |
17 | style-sheet) |