Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/docs-xml/xslt/man.xsl

    r414 r740  
    2727  <xsl:if test="$content = ''">
    2828    <xsl:apply-templates mode="italic" select="@url" />
    29   </xsl:if>
    30 </xsl:template>
    31 
    32 <xsl:template match="itemizedlist/listitem">
    33   <!-- * We output a real bullet here (rather than, "\(bu", -->
    34   <!-- * the roff bullet) because, when we do character-map -->
    35   <!-- * processing before final output, the character-map will -->
    36   <!-- * handle conversion of the &#x2022; to "\(bu" for us -->
    37   <xsl:text>&#10;</xsl:text>
    38   <xsl:text>.sp</xsl:text>
    39   <xsl:text>&#10;</xsl:text>
    40   <xsl:text>.RS</xsl:text>
    41   <xsl:if test="not($list-indent = '')">
    42     <xsl:text> </xsl:text>
    43     <xsl:value-of select="$list-indent"/>
    44   </xsl:if>
    45   <xsl:text>&#10;</xsl:text>
    46   <!-- * if "n" then we are using "nroff", which means the output is for -->
    47   <!-- * TTY; so we do some fixed-width-font hackery with \h to make a -->
    48   <!-- * hanging indent (instead of using .IP, which has some -->
    49   <!-- * undesirable side effects under certain circumstances) -->
    50   <xsl:call-template name="roff-if-else-start"/>
    51   <xsl:text>\h'-</xsl:text>
    52   <xsl:choose>
    53     <xsl:when test="not($list-indent = '')">
    54       <xsl:text>0</xsl:text>
    55       <xsl:value-of select="$list-indent"/>
    56     </xsl:when>
    57     <xsl:otherwise>
    58       <xsl:text>\n(INu</xsl:text>
    59     </xsl:otherwise>
    60   </xsl:choose>
    61   <xsl:text>'</xsl:text>
    62   <xsl:text>&#x2022;</xsl:text>
    63   <xsl:text>\h'+</xsl:text>
    64   <xsl:choose>
    65     <xsl:when test="not($list-indent = '')">
    66       <xsl:text>0</xsl:text>
    67       <xsl:value-of select="$list-indent - 1"/>
    68     </xsl:when>
    69     <xsl:otherwise>
    70       <xsl:text>\n(INu-1</xsl:text>
    71     </xsl:otherwise>
    72   </xsl:choose>
    73   <xsl:text>'\c&#10;</xsl:text>
    74   <!-- * else, we are not using for "nroff", but instead "troff" - which -->
    75   <!-- * means not for TTY, but for PS or whatever; so we’re not using a -->
    76   <!-- * fixed-width font, so use a real .IP instead -->
    77   <xsl:call-template name="roff-else"/>
    78   <!-- * .IP generates a blank like of space, so let’s go backwards one -->
    79   <!-- * line up to compensate for that -->
    80   <xsl:text>.sp -1&#10;</xsl:text>
    81   <xsl:text>.IP \(bu 2.3&#10;</xsl:text>
    82   <!-- * The value 2.3 is the amount of indentation; we use 2.3 instead -->
    83   <!-- * of 2 because when the font family is New Century Schoolbook it -->
    84   <!-- * seems to require the extra space. -->
    85   <xsl:call-template name="roff-if-end"/>
    86   <xsl:apply-templates/>
    87   <xsl:if test=" following-sibling::listitem">
    88          <xsl:text>&#10;.RE&#10;</xsl:text>
    8929  </xsl:if>
    9030</xsl:template>
Note: See TracChangeset for help on using the changeset viewer.