From: Michael Smith Date: Mon, 18 Feb 2008 01:51:37 +0000 (+0000) Subject: Added "dbman funcsynopsis-style" PI and incorporated it into the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=431bd3cba1d78a8a53ae5c6279e344a552d9d771;p=docbook-dsssl Added "dbman funcsynopsis-style" PI and incorporated it into the doc build. --- diff --git a/xsl/docsrc/Makefile b/xsl/docsrc/Makefile index 70acc58d7..37284b905 100644 --- a/xsl/docsrc/Makefile +++ b/xsl/docsrc/Makefile @@ -3,7 +3,7 @@ include ../../releasetools/Variables.mk XJPARSEFLAGS= -E 0 -w PARAM_DIRS=html fo manpages roundtrip slides/fo slides/html website -PI_DIRS=html fo common +PI_DIRS=html fo manpages common PARAM_XML_FILES=$(foreach format,$(PARAM_DIRS),../$(format)/param.xml) PI_XML_FILES=$(foreach format,$(PI_DIRS),../$(format)/pi.xml) diff --git a/xsl/docsrc/reference.xml b/xsl/docsrc/reference.xml index da97ba942..7439e0864 100644 --- a/xsl/docsrc/reference.xml +++ b/xsl/docsrc/reference.xml @@ -171,6 +171,9 @@ + + + diff --git a/xsl/manpages/.cvsignore b/xsl/manpages/.cvsignore index a0b548f8f..7ba7b6e51 100644 --- a/xsl/manpages/.cvsignore +++ b/xsl/manpages/.cvsignore @@ -7,3 +7,4 @@ param.xsl profile-docbook.xsl xref.xsl html-synop.xsl +pi.xml diff --git a/xsl/manpages/pi.xsl b/xsl/manpages/pi.xsl new file mode 100644 index 000000000..c3e17632d --- /dev/null +++ b/xsl/manpages/pi.xsl @@ -0,0 +1,79 @@ + + + + + +manpages Processing Instruction Reference + + $Id: pi.xsl 7644 2008-01-16 11:04:07Z xmldoc $ + + + + Introduction + This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for manpages output. + + You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + + Specifies presentation style for a funcsynopsis. + + Use the dbman + funcsynopsis-style PI as a child of a + funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + + dbman funcsynopsis-style="kr"|"ansi" + + + + funcsynopsis-style="kr" + + Displays the funcprototype in K&R style + + + funcsynopsis-style="ansi" + + Displays the funcprototype in ANSI style + + + + + + funcsynopsis.style + + + + + + + + + + +