Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcd1f4db

Browse files
committed
Untabify DSSSL and XSL files and add to check-tabs target
Like with SGML files, using tabs in these files is confusing andunnecessary.
1 parent293ec33 commitcd1f4db

File tree

3 files changed

+287
-287
lines changed

3 files changed

+287
-287
lines changed

‎doc/src/sgml/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ endif # sqlmansectnum != 7
357357

358358
# tabs are harmless, but it is best to avoid them in SGML files
359359
check-tabs:
360-
@(! grep''$(wildcard$(srcdir)/*.sgml$(srcdir)/ref/*.sgml) )|| (echo"Tabs appear in SGML files";exit 1)
360+
@(! grep''$(wildcard$(srcdir)/*.sgml$(srcdir)/ref/*.sgml$(srcdir)/*.dsl$(srcdir)/*.xsl) )|| (echo"Tabs appear in SGML/XML files"1>&2;exit 1)
361361

362362
##
363363
## Clean

‎doc/src/sgml/stylesheet-man.xsl

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version='1.0'?>
22
<xsl:stylesheetxmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3-
xmlns:exsl="http://exslt.org/common"
3+
xmlns:exsl="http://exslt.org/common"
44
version='1.0'
55
exclude-result-prefixes="exsl">
66

@@ -58,16 +58,16 @@
5858
<xsl:otherwise>
5959
<xsl:choose>
6060
<xsl:whentest="refmeta/refentrytitle">
61-
<xsl:call-templatename="bold">
62-
<xsl:with-paramname="node"select="refmeta/refentrytitle"/>
63-
<xsl:with-paramname="context"select="."/>
64-
</xsl:call-template>
61+
<xsl:call-templatename="bold">
62+
<xsl:with-paramname="node"select="refmeta/refentrytitle"/>
63+
<xsl:with-paramname="context"select="."/>
64+
</xsl:call-template>
6565
</xsl:when>
6666
<xsl:otherwise>
67-
<xsl:call-templatename="bold">
68-
<xsl:with-paramname="node"select="refnamediv/refname[1]"/>
69-
<xsl:with-paramname="context"select="."/>
70-
</xsl:call-template>
67+
<xsl:call-templatename="bold">
68+
<xsl:with-paramname="node"select="refnamediv/refname[1]"/>
69+
<xsl:with-paramname="context"select="."/>
70+
</xsl:call-template>
7171
</xsl:otherwise>
7272
</xsl:choose>
7373
<xsl:apply-templatesselect="refmeta/manvolnum"/>
@@ -143,14 +143,14 @@
143143
<xsl:with-paramname="message-prolog">Note: </xsl:with-param>
144144
<xsl:with-paramname="message-epilog"> (soelim stub)</xsl:with-param>
145145
<xsl:with-paramname="content">
146-
<xsl:choose>
147-
<xsl:whentest="$man.output.in.separate.dir = 0">
148-
<xsl:value-ofselect="concat('.so man', $section, '/')"/>
149-
</xsl:when>
150-
<xsl:otherwise>
151-
<xsl:value-ofselect="'.so '"/><!-- added case-->
152-
</xsl:otherwise>
153-
</xsl:choose>
146+
<xsl:choose>
147+
<xsl:whentest="$man.output.in.separate.dir = 0">
148+
<xsl:value-ofselect="concat('.so man', $section, '/')"/>
149+
</xsl:when>
150+
<xsl:otherwise>
151+
<xsl:value-ofselect="'.so '"/><!-- added case-->
152+
</xsl:otherwise>
153+
</xsl:choose>
154154
<xsl:call-templatename="make.adjusted.man.filename">
155155
<xsl:with-paramname="name"select="$first.refname"/>
156156
<xsl:with-paramname="section"select="$section"/>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp