[jboss-cvs] JBossRemoting/docs/guide/support/styles/en ...
Tom Elrod
tom.elrod at jboss.com
Wed Aug 2 12:34:59 EDT 2006
User: telrod
Date: 06/08/02 12:34:59
Modified: docs/guide/support/styles/en fopdf.xsl html.css html.xsl
html_chunk.xsl
Log:
JBREM-412 - updated docbook support so formatting of guide will be a little better.
Revision Changes Path
1.2 +524 -520 JBossRemoting/docs/guide/support/styles/en/fopdf.xsl
(In the diff below, changes in quantity of whitespace are not shown.)
Index: fopdf.xsl
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/docs/guide/support/styles/en/fopdf.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- fopdf.xsl 6 Oct 2005 03:27:20 -0000 1.1
+++ fopdf.xsl 2 Aug 2006 16:34:59 -0000 1.2
@@ -11,7 +11,7 @@
<!DOCTYPE xsl:stylesheet [
<!ENTITY db_xsl_path "../../support/docbook-xsl/">
- ]>
+]>
<xsl:stylesheet version="1.0" xmlns="http://www.w3.org/TR/xhtml1/transitional"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@ -24,12 +24,12 @@
<!-- ########## XRef -->
<!-- this controls whether xrefs have the title in it. We
-don't want that -->
+ don't want that -->
<xsl:param name="xref.with.number.and.title" select="0"/>
<xsl:template match="processing-instruction('lb')">
<fo:block>
- <xsl:text></xsl:text>
+ <xsl:text> </xsl:text>
</fo:block>
</xsl:template>
@@ -45,9 +45,8 @@
<fo:block>
<fo:external-graphic>
<xsl:attribute name="src">
- FILE:
- <xsl:value-of
- select="bookinfo/mediaobject/imageobject/imagedata/@fileref"/>
+ FILE:<xsl:value-of
+ select="bookinfo/mediaobject/imageobject/imagedata/@fileref" />
</xsl:attribute>
</fo:external-graphic>
</fo:block>
@@ -64,8 +63,7 @@
</xsl:if>
<xsl:if test="bookinfo/releaseinfo">
<fo:block font-family="Helvetica" font-size="12pt"
- padding="10mm">
- <xsl:value-of select="bookinfo/releaseinfo"/>
+ padding="10mm"><xsl:value-of select="bookinfo/releaseinfo"/>
</fo:block>
</xsl:if>
<xsl:if test="bookinfo/copyright">
@@ -114,7 +112,7 @@
<xsl:variable name="Version">
<xsl:choose>
<xsl:when test="//releaseinfo">
- <xsl:text>JBoss</xsl:text>
+ <xsl:text>JBoss </xsl:text>
<xsl:value-of select="//releaseinfo"/>
</xsl:when>
<xsl:otherwise>
@@ -164,6 +162,7 @@
</xsl:template>
+
<!--###################################################
Custom Toc Line
################################################### -->
@@ -175,8 +174,7 @@
<xsl:variable name="label">
<xsl:apply-templates select="." mode="label.markup"/>
</xsl:variable>
- <fo:block text-align-last="justify" end-indent="{$toc.indent.width}pt"
- last-line-end-indent="-{$toc.indent.width}pt">
+ <fo:block text-align-last="justify" end-indent="{$toc.indent.width}pt" last-line-end-indent="-{$toc.indent.width}pt">
<fo:inline keep-with-next.within-line="always">
<fo:basic-link internal-destination="{$id}">
<!-- Chapter titles should be bold. -->
@@ -213,18 +211,19 @@
<xsl:param name="linenumbering.extension">1</xsl:param>
<xsl:param name="linenumbering.everyNth">1</xsl:param>
- <xsl:param name="linenumbering.separator">:</xsl:param>
+ <xsl:param name="linenumbering.separator">: </xsl:param>
<xsl:param name="tablecolumns.extension">0</xsl:param>
<!-- FOP provide only PDF Bookmarks at the moment -->
<xsl:param name="fop.extensions">1</xsl:param>
+
<!--###################################################
Table Of Contents
################################################### -->
<!-- Generate the TOCs for named components only -->
- <xsl:param name="generate.toc">book toc,title</xsl:param>
+ <xsl:param name="generate.toc"> book toc,title</xsl:param>
<!-- ,figure,table,equation -->
<!-- Show only Sections up to level 3 in the TOCs -->
<xsl:param name="toc.section.depth">3</xsl:param>
@@ -236,7 +235,7 @@
Paper & Page Size
################################################### -->
<!-- Paper type, no headers on blank pages, no double sided printing -->
- <!-- <xsl:param name="paper.type" select="'A4'"/>-->
+<!-- <xsl:param name="paper.type" select="'A4'"/>-->
<xsl:param name="double.sided">0</xsl:param>
<xsl:param name="headers.on.blank.pages">0</xsl:param>
<xsl:param name="footers.on.blank.pages">0</xsl:param>
@@ -286,6 +285,7 @@
<xsl:param name="table.cell.border.thickness">0.1pt</xsl:param>
+
<!--###################################################
Labels
################################################### -->
@@ -344,7 +344,7 @@
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
xsl:use-attribute-sets="appendix.titlepage.recto.style">
- <xsl:value-of select="$titleabbrev"/>
+ <xsl:value-of select="$titleabbrev" />
</fo:block>
</xsl:template>
@@ -356,7 +356,7 @@
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
xsl:use-attribute-sets="chapter.titlepage.recto.style">
- <xsl:value-of select="$titleabbrev"/>
+ <xsl:value-of select="$titleabbrev" />
</fo:block>
</xsl:template>
@@ -414,6 +414,7 @@
</xsl:attribute-set>
+
<!-- ########## blockquote -->
<xsl:attribute-set name="blockquote.properties">
<xsl:attribute name="space-before.minimum">1em</xsl:attribute>
@@ -435,6 +436,7 @@
</xsl:attribute-set>
+
<!--###################################################
Programlistings
################################################### -->
@@ -463,6 +465,7 @@
</xsl:attribute-set>
+
<!--###################################################
Callouts
################################################### -->
@@ -509,12 +512,13 @@
</xsl:template>
+
<!--###################################################
Misc
################################################### -->
<!-- Correct placement of titles for figures and examples. -->
- <xsl:param name="formal.title.placement">figure after example before
- equation before table before procedure before</xsl:param>
+ <xsl:param name="formal.title.placement"> figure after example before
+ equation before table before procedure before </xsl:param>
<!-- Format Variable Lists as Blocks (prevents horizontal overflow). -->
<xsl:param name="variablelist.as.blocks">1</xsl:param>
<!-- The horrible list spacing problems, this is much better. -->
1.2 +1 -1 JBossRemoting/docs/guide/support/styles/en/html.css
(In the diff below, changes in quantity of whitespace are not shown.)
Index: html.css
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/docs/guide/support/styles/en/html.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- html.css 6 Oct 2005 03:27:20 -0000 1.1
+++ html.css 2 Aug 2006 16:34:59 -0000 1.2
@@ -45,7 +45,7 @@
TABLE {
border-collapse: collapse;
border-spacing: 0;
- border: 1px dashed #CCCCCC;
+ /*border: 1px dashed #CCCCCC;*/
empty-cells: hide;
width: 100%
}
1.2 +60 -60 JBossRemoting/docs/guide/support/styles/en/html.xsl
(In the diff below, changes in quantity of whitespace are not shown.)
Index: html.xsl
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/docs/guide/support/styles/en/html.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- html.xsl 6 Oct 2005 03:27:20 -0000 1.1
+++ html.xsl 2 Aug 2006 16:34:59 -0000 1.2
@@ -16,16 +16,16 @@
<!DOCTYPE xsl:stylesheet [
<!ENTITY db_xsl_path "../../support/docbook-xsl/">
- ]>
+]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
- <xsl:import href="&db_xsl_path;/html/docbook.xsl"/>
+<xsl:import href="&db_xsl_path;/html/docbook.xsl"/>
- <!--###################################################
+<!--###################################################
HTML Settings
################################################### -->
@@ -37,7 +37,7 @@
<xsl:param name="callout.extensions">1</xsl:param>
<xsl:param name="graphicsize.extension">0</xsl:param>
- <!--###################################################
+<!--###################################################
Table Of Contents
################################################### -->
@@ -49,7 +49,7 @@
<!-- Show only Sections up to level 3 in the TOCs -->
<xsl:param name="toc.section.depth">3</xsl:param>
- <!--###################################################
+<!--###################################################
Labels
################################################### -->
@@ -58,7 +58,7 @@
<xsl:param name="section.autolabel" select="1"/>
<xsl:param name="section.label.includes.component.label" select="1"/>
- <!--###################################################
+<!--###################################################
Callouts
################################################### -->
@@ -68,7 +68,7 @@
<!-- Place callout marks at this column in annotated areas -->
<xsl:param name="callout.defaultcolumn">90</xsl:param>
- <!--###################################################
+<!--###################################################
Misc
################################################### -->
1.2 +62 -62 JBossRemoting/docs/guide/support/styles/en/html_chunk.xsl
(In the diff below, changes in quantity of whitespace are not shown.)
Index: html_chunk.xsl
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/docs/guide/support/styles/en/html_chunk.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- html_chunk.xsl 6 Oct 2005 03:27:20 -0000 1.1
+++ html_chunk.xsl 2 Aug 2006 16:34:59 -0000 1.2
@@ -16,16 +16,16 @@
<!DOCTYPE xsl:stylesheet [
<!ENTITY db_xsl_path "../../support/docbook-xsl/">
- ]>
+]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
- <xsl:import href="&db_xsl_path;/html/chunk.xsl"/>
+<xsl:import href="&db_xsl_path;/html/chunk.xsl"/>
- <!--###################################################
+<!--###################################################
HTML Settings
################################################### -->
@@ -39,7 +39,7 @@
<xsl:param name="callout.extensions">1</xsl:param>
<xsl:param name="graphicsize.extension">0</xsl:param>
- <!--###################################################
+<!--###################################################
Table Of Contents
################################################### -->
@@ -49,9 +49,9 @@
</xsl:param>
<!-- Show only Sections up to level 3 in the TOCs -->
- <xsl:param name="toc.section.depth">3</xsl:param>
+ <xsl:param name="toc.section.depth">4</xsl:param>
- <!--###################################################
+<!--###################################################
Labels
################################################### -->
@@ -60,7 +60,7 @@
<xsl:param name="section.autolabel" select="1"/>
<xsl:param name="section.label.includes.component.label" select="1"/>
- <!--###################################################
+<!--###################################################
Callouts
################################################### -->
@@ -70,7 +70,7 @@
<!-- Place callout marks at this column in annotated areas -->
<xsl:param name="callout.defaultcolumn">90</xsl:param>
- <!--###################################################
+<!--###################################################
Misc
################################################### -->
More information about the jboss-cvs-commits
mailing list