Changeset 13785 for trunk/gsdl-documentation/manuals
- Timestamp:
- 2007-01-24T17:21:45+13:00 (17 years ago)
- Location:
- trunk/gsdl-documentation/manuals/processing
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl-documentation/manuals/processing/common.xsl
r13632 r13785 189 189 <xsl:template match="Section" mode="ref"><xsl:number count="//Chapter|//Chapter//Section" format="1.1" level="multiple"/></xsl:template> 190 190 <xsl:template match="Subsection" mode="ref"><xsl:number level="multiple" format="1.1.1" count="//Chapter|//Chapter//Section|//Chapter//Section//Subsection"/></xsl:template> 191 192 193 <xsl:template match="SupplementaryText"> 194 <xsl:param name="manual_id" select="''"/> 195 <xsl:param name="manual_lang" select="''"/> 196 <xsl:for-each select="Text"> 197 <div class="indexlink"><a class="indexlink"> 198 <xsl:if test="@id='manual_index'"><xsl:attribute name="href"><xsl:value-of select="$manual_id"/>_<xsl:value-of select="$manual_lang"/>_index.html</xsl:attribute></xsl:if> 199 <xsl:if test="@id='top_index'"><xsl:attribute name="href">../../index.html</xsl:attribute></xsl:if> 200 <xsl:value-of select="."/></a></div> 201 </xsl:for-each> 202 </xsl:template> 203 191 204 </xsl:stylesheet> -
trunk/gsdl-documentation/manuals/processing/style.css
r13632 r13785 8 8 p{ FONT-SIZE: 13px; FONT-FAMILY: Arial, Helvetica, sans-serif; COLOR: #000000} 9 9 10 11 10 12 table.figure_code{ 11 13 padding-bottom:2pt; padding-left:2pt; padding-right:2pt; padding-top:2pt; … … 13 15 } 14 16 15 div.linenumber{ 16 margin-top:0pt; margin-right:0in; margin-bottom:0in; margin-left:0pt; margin-bottom:0pt; font-family:Courier; FONT-SIZE: 8pt 17 }17 div.linenumber{margin-top:0pt; margin-right:0in; margin-bottom:0in; margin-left:0pt; margin-bottom:0pt; font-family:Courier; FONT-SIZE: 8pt} 18 div.comment{ margin-top: 0px; margin-bottom: 0px; margin-left: 20px;} 19 div.indexlink{ text-align: right;} 18 20 19 21 li {FONT-SIZE: 12px; FONT-FAMILY: Arial, Helvetica, sans-serif; COLOR: #000000} … … 23 25 dd {margin-top: 2pt; margin-bottom: 0pt; font-size: 12px} 24 26 dt {margin-top: 1pt; margin-bottom: 0pt; font-size: 12px} 25 a {font-size: 12px} 27 28 a {font-size: 15px} 29 a.title {font-size: 18px; font-family:arial,sans-serif;} 30 a.comment {font-size: 11px; font-family:arial,sans-serif;} 26 31 27 32 img{border: 0px} -
trunk/gsdl-documentation/manuals/processing/xml-to-index.xsl
r13649 r13785 6 6 exclude-result-prefixes="java"> 7 7 8 <xsl:variable name="mode">cd</xsl:variable>9 8 <xsl:output method="html"/> 10 9 <xsl:include href="common.xsl"/> … … 13 12 <html> 14 13 <head><title><xsl:value-of select="Title/Text"/></title></head> 15 <link rel="stylesheet" href="../ style.css" type="text/css"/>14 <link rel="stylesheet" href="../../style.css" type="text/css"/> 16 15 <body> 17 16 <h2><xsl:apply-templates select="Heading/Text"/></h2> … … 20 19 <xsl:apply-templates select="Author"/> 21 20 <xsl:apply-templates select="Affiliation"/> 21 22 <div class="indexlink"><a href="../../index.html"><xsl:value-of select="/Manual/SupplementaryText/Text[@id='top_index']"/></a></div> 23 22 24 <xsl:apply-templates select="Text"/> 23 25 <xsl:apply-templates select="Comment"/> 24 <xsl:call-template name="version_and_date"/> <br/>26 <xsl:call-template name="version_and_date"/> 25 27 26 28 <xsl:apply-templates select="Section" mode="preface"/> 27 29 30 <h3>Contents</h3> 28 31 <dl> 29 32 <xsl:apply-templates select="Chapter"/> … … 34 37 35 38 <xsl:template match="Chapter"> 36 <dt><a href="Chapter_{@id}.htm"><xsl:apply-templates select="Title/Text"/></a></dt> 37 <dd><xsl:for-each select="Title"> 38 <xsl:apply-templates/><br/> 39 </xsl:for-each> 40 </dd> 39 <dt><a href="Chapter_{@id}.htm"><xsl:apply-templates select="Title/Text"/></a></dt> 40 <xsl:for-each select="Content/Section"><dd><xsl:apply-templates select="Title/Text"/></dd></xsl:for-each> 41 41 </xsl:template> 42 42 </xsl:stylesheet> -
trunk/gsdl-documentation/manuals/processing/xml-to-many-html.xsl
r13649 r13785 9 9 <xsl:include href="crossref-inter.xsl"/> 10 10 11 <xsl:output method="html"/> 11 <xsl:output method="html"/> 12 12 13 <xsl:template match="Chapter|FootnoteList"> 13 <xsl:template match="Chapter|FootnoteList"> 14 14 <html> 15 15 <head> 16 <title><xsl:apply-templates select="Title/Text"/></title>17 <link rel="stylesheet" href="../style.css" type="text/css"/>16 <title><xsl:apply-templates select="Title/Text"/></title> 17 <link rel="stylesheet" href="../../style.css" type="text/css"/> 18 18 </head> 19 19 <body> 20 20 <table width="90%" border="0" align="center"><tr><td> 21 <h2><xsl:value-of select="/Manual/Heading/Text"/> <xsl:value-of select="/Manual/Title/Text"/></h2> 22 <a name="Chapter_{@id}"/><h1> 23 <xsl:if test="not(starts-with(@id, 'appendix') or starts-with(@id, 'biblio'))"> 24 Chapter <xsl:number/> </xsl:if><xsl:apply-templates select="Title/Text"/></h1> 25 26 <xsl:if test="Content/Section"> 27 <h3>Contents</h3> 28 <xsl:apply-templates select="Content/Section" mode="index"/> 29 </xsl:if> 21 <h2><xsl:value-of select="/Manual/Heading/Text"/> <xsl:value-of select="/Manual/Title/Text"/></h2> 22 <a name="Chapter_{@id}"/><h1> 23 <xsl:if test="not(starts-with(@id, 'appendix') or starts-with(@id, 'biblio'))"> 24 Chapter <xsl:number/> </xsl:if><xsl:apply-templates select="Title/Text"/></h1> 25 26 <xsl:apply-templates select="/Manual/SupplementaryText"> 27 <xsl:with-param name="manual_id" select="/Manual/@id"/> 28 <xsl:with-param name="manual_lang" select="/Manual/@lang"/> 29 </xsl:apply-templates> 30 31 <xsl:if test="Content/Section"> 32 <h3>Contents</h3> 33 <xsl:apply-templates select="Content/Section" mode="index"/> 34 </xsl:if> 30 35 31 36 <xsl:apply-templates select="Content/*"/> -
trunk/gsdl-documentation/manuals/processing/xml-to-one-html.xsl
r13649 r13785 15 15 <head> 16 16 <title><xsl:value-of select="Title/Text"/></title> 17 <link rel="stylesheet" href="../ style.css" type="text/css"/>17 <link rel="stylesheet" href="../../style.css" type="text/css"/> 18 18 </head> 19 19 <body> … … 24 24 <xsl:apply-templates select="Author"/> 25 25 <xsl:apply-templates select="Affiliation"/> 26 27 <div class="indexlink"><a href="../../index.html"><xsl:value-of select="/Manual/SupplementaryText/Text[@id='top_index']"/></a></div> 28 26 29 <xsl:apply-templates select="Text"/> 30 27 31 <xsl:apply-templates select="Comment"/> 28 32 <xsl:call-template name="version_and_date"/>
Note:
See TracChangeset
for help on using the changeset viewer.