Rewrite TGitCache status basic okay
[TortoiseGit.git] / doc / xsl / ja / pdfdoc.xsl
blob812ba56fa873f78d2693aede331219db9b09c8e3
1 <xsl:stylesheet
2 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fo="http://www.w3.org/1999/XSL/Format"
4 version="1.0">
6 <xsl:import href="../pdfdoc.xsl"/>
8 <xsl:param name="l10n.gentext.language" select="'ja'"/>
10 <xsl:param name="body.font.family" select="'Mincho'"></xsl:param>
11 <xsl:param name="monospace.font.family" select="'Mincho'"></xsl:param>
12 <xsl:param name="title.font.family" select="'Gothic'"></xsl:param>
14 <xsl:param name="hyphenate">false</xsl:param>
16 <xsl:template match="menuchoice">
17 <fo:inline font-family="Gothic">
18 <xsl:call-template name="process.menuchoice"/>
19 </fo:inline>
20 </xsl:template>
22 <xsl:template match="guilabel">
23 <fo:inline font-family="Gothic">
24 <xsl:call-template name="inline.charseq"/>
25 </fo:inline>
26 </xsl:template>
28 <xsl:template match="guibutton">
29 <fo:inline font-family="Gothic">
30 <xsl:call-template name="inline.charseq"/>
31 </fo:inline>
32 </xsl:template>
34 <xsl:template match="keysym">
35 <fo:inline font-family="Symbol">
36 <xsl:call-template name="inline.charseq"/>
37 </fo:inline>
38 </xsl:template>
40 <xsl:template name="person.name.family-given">
41 <xsl:param name="node" select="."/>
43 <xsl:if test="$node//honorific">
44 <xsl:apply-templates select="$node//honorific[1]"/>
45 <xsl:value-of select="$punct.honorific"/>
46 </xsl:if>
48 <xsl:if test="$node//firstname">
49 <xsl:if test="$node//honorific">
50 <xsl:text> </xsl:text>
51 </xsl:if>
52 <xsl:apply-templates select="$node//firstname[1]"/>
53 </xsl:if>
55 <xsl:if test="$node//othername and $author.othername.in.middle != 0">
56 <xsl:if test="$node//honorific or $node//firstname">
57 <xsl:text> </xsl:text>
58 </xsl:if>
59 <xsl:apply-templates select="$node//othername[1]"/>
60 </xsl:if>
62 <xsl:if test="$node//surname">
63 <xsl:if test="$node//honorific or $node//firstname
64 or ($node//othername and $author.othername.in.middle != 0)">
65 <xsl:text> </xsl:text>
66 </xsl:if>
67 <xsl:apply-templates select="$node//surname[1]"/>
68 </xsl:if>
70 <xsl:if test="$node//lineage">
71 <xsl:text>, </xsl:text>
72 <xsl:apply-templates select="$node//lineage[1]"/>
73 </xsl:if>
74 </xsl:template>
76 </xsl:stylesheet>