Refer to /usr/share/xml/docbook/stylesheet/docbook-xsl in all relevant places
authorJoachim Breitner <mail@joachim-breitner.de>
Tue, 12 Jan 2010 19:14:35 +0000 (20:14 +0100)
committerJoachim Breitner <mail@joachim-breitner.de>
Fri, 5 Feb 2010 16:27:38 +0000 (17:27 +0100)
18 files changed:
serna/dist/doc-dita/users_guide/docbook-stylesheet.xml
serna/dist/doc-dita/users_guide/ug.dita
serna/dist/plugins/docbook/dbk42.sdt
serna/dist/plugins/docbook/dbk43.sdt
serna/dist/plugins/docbook/dbk44.sdt
serna/dist/plugins/docbook/dbk45.sdt
serna/dist/plugins/docbook/dblite05.sdt
serna/dist/plugins/docbook/dblite05htmlents.sdt
serna/dist/plugins/docbook/dblite05noents.sdt
serna/dist/plugins/docbook/docbook.ahpp
serna/dist/plugins/docbook/mkhelp.sh
serna/dist/plugins/docbook/publishing/DocbookPublisher.py
serna/dist/plugins/idealliance/conference-paper-1-3.sdt
serna/dist/plugins/idealliance/conference-paper.sdt
serna/dist/plugins/idealliance/ide-alliance.ahpp
serna/dist/plugins/idealliance/publishing/IDEAlliancePublisher.py
serna/dist/utils/plugindoc-xsl/chunk.xsl
serna/docutils/xsl/db-modified/chunk.xsl

index 9817bdf..d62a7f8 100644 (file)
@@ -10,7 +10,7 @@
           <title>Document opened with the Serna Docbook stylesheet.</title>
           <image href="document-opened-with-docbook-stylesheet.png" align="center" placement="break"/>
         </fig></p>
-      <p>Norman Walsh&apos;s Docbook stylesheet is located at: <filepath>sernaInstallationPath/xml/stylesheets/docbook-xsl-1.68.1</filepath>. Serna Docbook stylesheet is located at: <filepath>sernaInstallationPath/plugins/docbook/docbook-xsl-serna</filepath>.</p>
+      <p>Norman Walsh&apos;s Docbook stylesheet is located at: <filepath>/usr/share/xml/docbook/stylesheet/docbook-xsl</filepath>. Serna Docbook stylesheet is located at: <filepath>sernaInstallationPath/plugins/docbook/docbook-xsl-serna</filepath>.</p>
       <p>Serna Docbook stylesheet may be parameterized very similarly to Norman Walsh&apos;s Stylesheet (see files at <filepath>sernaInstallationPath/plugins/docbook/docbook-xsl-serna</filepath>: <codeph>parameters.xsl</codeph> and <codeph>titlepage.templates.xsl</codeph> that is generated with <codeph>titlepage.generator.xsl</codeph> from <codeph>titlepage.templates.xml</codeph>).</p>
     </section>
   </body>
index 03aa384..6e2223f 100644 (file)
       <title>Docbook Stylesheet</title>
       <body>
         <section>
-          <p>The stylesheet is located at <codeph>sernaInstallationPath/xml/stylesheets/docbook-xsl-1.68.1</codeph>.</p>
+          <p>The stylesheet is located at <codeph>/usr/share/xml/docbook/stylesheet/docbook-xsl</codeph>.</p>
           <p>Docbook is the most popular DTD for technical documentation. The Serna package includes  the Docbook XSL Stylesheet, which renders documents as closely as possible to <xref href="http://sourceforge.net/projects/docbook/" format="html">Norman Walsh&apos;s Docbook stylesheet</xref>.</p>
           <p>The Serna Docbook stylesheet is based on the Norman Walsh stylesheet and modified in order to provide convenient WYSIWYG editing and optimal performance for dynamic execution.</p>
           <p>It may be parameterized very similarly to Norman Walsh&apos;s Stylesheet (see files <codeph>parameters.xsl</codeph> and <codeph>titlepage.templates.xsl</codeph>, that is generated with <codeph>titlepage.generator.xsl</codeph> from <codeph>titlepage.templates.xml</codeph>).</p>
index d50a3f8..8008e3b 100644 (file)
     <t:inscription>HTML (Single Chunk)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>htmlMulti</t:name>
     <t:inscription>HTML (Multiple Chunks)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/chunk.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfFop</t:name>
     <t:inscription>PDF (with FOP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runFop</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfXep</t:name>
     <t:inscription>PDF (with XEP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runXep</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:load-plugins>TablePlugin</t:load-plugins>
   <t:dtd-guess-string>DocBook XML V4.2</t:dtd-guess-string>
index 65f593f..4c7f7d4 100644 (file)
     <t:inscription>HTML (Single Chunk)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>htmlMulti</t:name>
     <t:inscription>HTML (Multiple Chunks)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/chunk.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfFop</t:name>
     <t:inscription>PDF (with FOP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runFop</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfXep</t:name>
     <t:inscription>PDF (with XEP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runXep</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:load-plugins>TablePlugin</t:load-plugins>
   <t:template-showup-priority>10</t:template-showup-priority>
index 5adf341..2cfa054 100644 (file)
     <t:inscription>HTML (Single Chunk)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>htmlMulti</t:name>
     <t:inscription>HTML (Multiple Chunks)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/chunk.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfFop</t:name>
     <t:inscription>PDF (with FOP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runFop</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfXep</t:name>
     <t:inscription>PDF (with XEP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runXep</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:load-plugins>TablePlugin</t:load-plugins>
   <t:template-showup-priority>10</t:template-showup-priority>
index 5b6c5ab..31bb6c9 100644 (file)
     <t:inscription>HTML (Single Chunk)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>htmlMulti</t:name>
     <t:inscription>HTML (Multiple Chunks)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/chunk.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl</t:stylesheet>
   </t:publish>
 
   <t:publish>
     <t:inscription>PDF (with FOP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runFop</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfXep</t:name>
     <t:inscription>PDF (with XEP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runXep</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
 
   <t:root-elements>appendix article book.class chapter part section set reference</t:root-elements>
index 0045cdb..300f230 100644 (file)
     <t:inscription>HTML (Single Chunk)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>htmlMulti</t:name>
     <t:inscription>HTML (Multiple Chunks)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/chunk.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfFop</t:name>
     <t:inscription>PDF (with FOP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runFop</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfXep</t:name>
     <t:inscription>PDF (with XEP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runXep</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:dtd-guess-string>DBLite</t:dtd-guess-string>
   <t:root-elements>appendix article book chapter part section set reference</t:root-elements>
index 8a08cf4..2ba8732 100644 (file)
     <t:inscription>HTML (Single Chunk)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>htmlMulti</t:name>
     <t:inscription>HTML (Multiple Chunks)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/chunk.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfFop</t:name>
     <t:inscription>PDF (with FOP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runFop</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfXep</t:name>
     <t:inscription>PDF (with XEP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runXep</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:dtd-guess-string>DBLite-htmlents</t:dtd-guess-string>
   <t:root-elements>appendix article book chapter part section set reference</t:root-elements>
index 59a315e..d694017 100644 (file)
     <t:inscription>HTML (Single Chunk)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>htmlMulti</t:name>
     <t:inscription>HTML (Multiple Chunks)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/chunk.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfFop</t:name>
     <t:inscription>PDF (with FOP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runFop</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfXep</t:name>
     <t:inscription>PDF (with XEP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runXep</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:dtd-guess-string>DBLite-noents</t:dtd-guess-string>
   <t:root-elements>appendix article book chapter part section set reference</t:root-elements>
index 8d45f7a..a3d141c 100644 (file)
@@ -1,5 +1,5 @@
   <output-type>
     <pdf>
-      <stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</stylesheet>
+      <stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</stylesheet>
     </pdf>
   </output-type>
index 21ae010..c4e2509 100755 (executable)
@@ -12,7 +12,7 @@ PKG_DIR=plugins/docbook/docbook-help
 SERNA_DIR=/home/apg/se/src/apps/serna
 DOCBOOK=$SERNA_DIR/dist/plugins/docbook/dbk42
 XML_CATALOG_FILES=$DOCBOOK/dtd/catalog.xml export XML_CATALOG_FILES
-DBKXSLDIR=$SERNA_DIR/../../../build/apps/serna/dist/doc/docbook-xsl-1.68.1
+DBKXSLDIR=/usr/share/xml/docbook/stylesheet/docbook-xsl
 HTMLSTYLE=$DBKXSLDIR/html/docbook.xsl
 XSLTPROC=$SERNA_DIR/../../../3rd/xsltproc/linux/xsltproc
 TARGET_SEHELP=docbook.sehelp
index f485812..f8719ac 100755 (executable)
@@ -64,7 +64,7 @@ class DocbookPublisherCreator(SimplePublisherCreator):
             if dataDir:
                 xslDir = os.path.join(dataDir, 'xml', 'stylesheets')
 
-        xslDir = os.path.join(xslDir, 'docbook-xsl-1.68.1')
+        xslDir = "/usr/share/xml/docbook/stylesheet/docbook-xsl"
 
         self.xslFoScript = os.path.join(xslDir, 'fo', 'docbook.xsl')
         self.singleXsl = os.path.join(xslDir, 'html', 'docbook.xsl')
index 2b9122d..82221aa 100644 (file)
     <t:inscription>PDF (with FOP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runFop</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfXep</t:name>
     <t:inscription>PDF (with XEP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runXep</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>htmlMulti</t:name>
     <t:inscription>HTML (Multiple Chunks)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/chunk.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>htmlSingle</t:name>
     <t:inscription>HTML (Single Chunk)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl</t:stylesheet>
   </t:publish>
 </t:document-template>
index 113482d..30f2825 100644 (file)
     <t:inscription>PDF (with FOP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runFop</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>pdfXep</t:name>
     <t:inscription>PDF (with XEP)</t:inscription>
     <t:extension>pdf</t:extension>
     <t:script>runXep</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>htmlMulti</t:name>
     <t:inscription>HTML (Multiple Chunks)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/chunk.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl</t:stylesheet>
   </t:publish>
   <t:publish>
     <t:name>htmlSingle</t:name>
     <t:inscription>HTML (Single Chunk)</t:inscription>
     <t:extension>htm</t:extension>
     <t:script>runXslt</t:script>
-    <t:stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/html/docbook.xsl</t:stylesheet>
+    <t:stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl</t:stylesheet>
   </t:publish>
 </t:document-template>
 
index 8d45f7a..a3d141c 100644 (file)
@@ -1,5 +1,5 @@
   <output-type>
     <pdf>
-      <stylesheet>$SERNA_STYLESHEETS/docbook-xsl-1.68.1/fo/docbook.xsl</stylesheet>
+      <stylesheet>/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl</stylesheet>
     </pdf>
   </output-type>
index ba5be1d..5d4984e 100755 (executable)
@@ -83,14 +83,7 @@ class IDEAlliancePublisherCreator(SimplePublisherCreator):
                 args.stylesheet = os.path.normpath(self.pluginDir + \
                                                    '/gca/gca-xsl-serna/gca.xsl')
             else:
-                xslPropName = r'$SERNA_STYLESHEETS'
-                dbDir = unicode(SernaConfig.resolveResource('', xslPropName, ''))
-                if not os.path.exists(dbDir):
-                    dataDir = os.environ.get(r'SERNA_DATA_DIR', None)
-                    if dataDir:
-                        dbDir = os.path.join(dbDir, 'xml', 'stylesheets')
-
-                dbDir = os.path.join(dbDir, 'docbook-xsl-1.68.1')
+                dbDir = "/usr/share/xml/docbook/stylesheet/docbook-xsl"
 
                 args.stylesheet = os.path.normpath(dbDir + '/fo/docbook.xsl')
                 args.singleXsl = os.path.normpath(dbDir + '/html/docbook.xsl')
index cb92cee..fedeb96 100644 (file)
@@ -3,7 +3,7 @@
                version="1.0"
                 exclude-result-prefixes="exsl">
 
-<xsl:import href="../../xml/stylesheets/docbook-xsl-1.68.1/html/docbook.xsl"/>
+<xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl"/>
 <xsl:import href="chunk-common.xsl"/>
 
 <xsl:param name="onechunk" select="0"/>
index b022b30..4c4e2d6 100644 (file)
@@ -3,9 +3,9 @@
                version="1.0"
                 exclude-result-prefixes="exsl">
 
-<xsl:import href="docbook-xsl-1.68.1/html/docbook.xsl"/>
+<xsl:import href="/usr/share/xml/docbook/stylesheet/docbook-xsl/html/docbook.xsl"/>
 <xsl:import href="chunk-common.xsl"/>
-<xsl:include href="docbook-xsl-1.68.1/html/manifest.xsl"/>
+<xsl:include href="/usr/share/xml/docbook/stylesheet/docbook-xsl/html/manifest.xsl"/>
 
 <xsl:param name="onechunk" select="0"/>
 <xsl:param name="refentry.separator" select="0"/>