[exim-cvs] cvs commit: exim/exim-doc/doc-docbook MyStyle-chu…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Nigel Metheringham
Data:  
Para: exim-cvs
Asunto: [exim-cvs] cvs commit: exim/exim-doc/doc-docbook MyStyle-chunk-html.xsl OS-Fixups
nm4 2009/11/09 16:12:37 GMT

  Modified files:
    exim-doc/doc-docbook MyStyle-chunk-html.xsl OS-Fixups 
  Log:
  I think this sets up the paths appropriately - probably need to use the OS-Fixups in a more sophisticated fashion. References: #904


  Revision  Changes    Path
  1.5       +1 -1      exim/exim-doc/doc-docbook/MyStyle-chunk-html.xsl
  1.2       +10 -0     exim/exim-doc/doc-docbook/OS-Fixups


  Index: MyStyle-chunk-html.xsl
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-docbook/MyStyle-chunk-html.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MyStyle-chunk-html.xsl    30 Jun 2009 17:36:39 -0000    1.4
  +++ MyStyle-chunk-html.xsl    9 Nov 2009 16:12:37 -0000    1.5
  @@ -1,4 +1,4 @@
  -<!-- $Cambridge: exim/exim-doc/doc-docbook/MyStyle-chunk-html.xsl,v 1.4 2009/06/30 17:36:39 tom Exp $ -->
  +<!-- $Cambridge: exim/exim-doc/doc-docbook/MyStyle-chunk-html.xsl,v 1.5 2009/11/09 16:12:37 nm4 Exp $ -->


<!-- This stylesheet driver imports the DocBook XML stylesheet for chunked
HTML output, and then imports my common stylesheet for HTML output. Finally, it
@@ -7,7 +7,7 @@

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>

-<xsl:import href="/home/tom/share/xml/docbook/xsl/1.73.2/xhtml/chunk.xsl"/>
+<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/chunk.xsl"/>
<xsl:import href="MyStyle-html.xsl"/>



  Index: OS-Fixups
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-docbook/OS-Fixups,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- OS-Fixups    16 Oct 2009 10:36:52 -0000    1.1
  +++ OS-Fixups    9 Nov 2009 16:12:37 -0000    1.2
  @@ -1,5 +1,5 @@
   #!/usr/bin/perl -w
  -#  $Cambridge: exim/exim-doc/doc-docbook/OS-Fixups,v 1.1 2009/10/16 10:36:52 nm4 Exp $
  +#  $Cambridge: exim/exim-doc/doc-docbook/OS-Fixups,v 1.2 2009/11/09 16:12:37 nm4 Exp $
   use strict;


   # Script to hack around using absolute paths in xsl:import with fixups.
  @@ -17,6 +17,16 @@
    {"/usr/local/share/xml/docbook/4.2/docbookx.dtd"};
   }


+sub filter_darwin
+{
+# NB - this uses the Mac Ports installations
+s{"/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/}
+ {"/opt/local/share/xsl/docbook-xsl/};
+s{"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"}
+ {"/opt/local/share/xml/docbook/4.2/docbookx.dtd"};
+}
+
+
# Define OS filters above.

my $os_filter;