doc/man: xsl: move manpage-base.xsl -> manpage-callouts.xsl
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 24 Mar 2016 16:39:57 +0000 (12:39 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 24 Mar 2016 19:19:40 +0000 (15:19 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
doc/man/Makefile.am
doc/man/xsl/manpage-base.xsl [deleted file]
doc/man/xsl/manpage-callouts.xsl [new file with mode: 0644]
doc/man/xsl/manpage.xsl

index 57389b2a728d1b8292b8fc5e14b7da084a6d792f..ac5b21f73e7a8b8b46237ce69f60d9ffabe08635 100644 (file)
@@ -77,7 +77,7 @@ COMMON_TXT = \
 ASCIIDOC_CONF = $(srcdir)/asciidoc.conf
 XSL_FILES = \
        manpage.xsl \
 ASCIIDOC_CONF = $(srcdir)/asciidoc.conf
 XSL_FILES = \
        manpage.xsl \
-       manpage-base.xsl \
+       manpage-callouts.xsl \
        manpage-bold-literal.xsl \
        manpage-links.xsl
 XSL_SRC_FILES = $(addprefix $(srcdir)/xsl/,$(XSL_FILES))
        manpage-bold-literal.xsl \
        manpage-links.xsl
 XSL_SRC_FILES = $(addprefix $(srcdir)/xsl/,$(XSL_FILES))
diff --git a/doc/man/xsl/manpage-base.xsl b/doc/man/xsl/manpage-base.xsl
deleted file mode 100644 (file)
index 2f7a5d7..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-   <xsl:template match="co">
-        <xsl:value-of select="concat('\','fB(',substring-after(@id,'-'),')','\','fR')"/>
-   </xsl:template>
-   <xsl:template match="calloutlist">
-        <xsl:value-of select="."/>
-        <xsl:text>sp&#10;</xsl:text>
-        <xsl:apply-templates/>
-        <xsl:text>&#10;</xsl:text>
-   </xsl:template>
-   <xsl:template match="callout">
-        <xsl:value-of select="concat('\','fB',substring-after(@arearefs,'-'),'. ','\','fR')"/>
-        <xsl:apply-templates/>
-        <xsl:value-of select="."/>
-        <xsl:text>br&#10;</xsl:text>
-   </xsl:template>
-</xsl:stylesheet>
diff --git a/doc/man/xsl/manpage-callouts.xsl b/doc/man/xsl/manpage-callouts.xsl
new file mode 100644 (file)
index 0000000..2f7a5d7
--- /dev/null
@@ -0,0 +1,17 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+   <xsl:template match="co">
+        <xsl:value-of select="concat('\','fB(',substring-after(@id,'-'),')','\','fR')"/>
+   </xsl:template>
+   <xsl:template match="calloutlist">
+        <xsl:value-of select="."/>
+        <xsl:text>sp&#10;</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>&#10;</xsl:text>
+   </xsl:template>
+   <xsl:template match="callout">
+        <xsl:value-of select="concat('\','fB',substring-after(@arearefs,'-'),'. ','\','fR')"/>
+        <xsl:apply-templates/>
+        <xsl:value-of select="."/>
+        <xsl:text>br&#10;</xsl:text>
+   </xsl:template>
+</xsl:stylesheet>
index 01363986f2c59042794161e7539d234fac457415..b51049fa592947dc7737d1ae9c30893c437dcb09 100644 (file)
@@ -1,5 +1,5 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-    <xsl:import href="manpage-base.xsl" />
+    <xsl:import href="manpage-callouts.xsl" />
     <xsl:import href="manpage-bold-literal.xsl" />
     <xsl:import href="manpage-links.xsl" />
 
     <xsl:import href="manpage-bold-literal.xsl" />
     <xsl:import href="manpage-links.xsl" />
 
This page took 0.027429 seconds and 4 git commands to generate.