giacomo 00/07/24 08:55:18
Added: skins/printer Tag: xml-cocoon2 loader.xml
skins/printer/resources Tag: xml-cocoon2 simple.css
skins/printer/stylesheets Tag: xml-cocoon2 book2project.xsl
changes2document.xsl copyover.xsl
directory2project.xsl document2html.xsl
document2project.xsl faqs2document.xsl
scan4resources.xsl spec2html.xsl todo2document.xsl
Log:
Apped files and directory to make the patch submitted by Neeme Praks work
(rendering docs in pdf)
Revision Changes Path
No revision
No revision
1.1.2.1 +1 -1 xml-cocoon/skins/printer/loader.xml
Index: loader.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/skins/printer/loader.xml,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- loader.xml 2000/05/22 13:47:31 1.1
+++ loader.xml 2000/07/24 15:55:05 1.1.2.1
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<!-- CVS $Revision: 1.1 $ $Date: 2000/05/22 13:47:31 $ -->
+<!-- CVS $Revision: 1.1.2.1 $ $Date: 2000/07/24 15:55:05 $ -->
<loader>
<processor name="xslt">
No revision
No revision
1.2.2.1 +13 -21 xml-cocoon/skins/printer/resources/simple.css
Index: simple.css
===================================================================
RCS file: /home/cvs/xml-cocoon/skins/printer/resources/simple.css,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- simple.css 2000/07/20 00:13:08 1.2
+++ simple.css 2000/07/24 15:55:07 1.2.2.1
@@ -5,59 +5,51 @@
margin: 2em 1em 2em 1em;
}
-h1.title {
- text-align: center;
- color: #005a9c;
- font: 160% sans-serif;
-}
-
h1 {
text-align: left;
color: #005a9c;
- font: 140% sans-serif;
+ font: 170% sans-serif;
}
h2 {
text-align: left;
color: #005a9c;
- font: 120% sans-serif italic;
+ font: 140% sans-serif;
}
h3 {
text-align: left;
color: #005a9c;
- font: 110% sans-serif bold;
+ font: 120% sans-serif;
}
h4 {
text-align: left;
color: #005a9c;
- font: 100% sans-serif bold italic;
+ font: bold 100% sans-serif;
}
+#main-panel {}
+#side-bar {}
+#content-panel {}
+
#s1
#s2
#s3
#s4
p {
- padding: 10px 10px 10px 10px;
- margin: 10px 20px 10px 20px;
- text-align: justify;
+ padding: 10px 10px 10px 10px;
+ margin: 10px 20px 10px 20px;
+ text-align: justify;
}
p.note {
- font-style: italic;
-}
-
-p.legal {
- text-align: center;
- font: 80% sans-serif;
+ font-style: italic;
}
-pre {
+p.source {
font-family: monospace;
- margin: 20px 80px 20px 20px;
}
a:link { color: #005a9c }
No revision
No revision
1.1.2.1 +0 -0 xml-cocoon/skins/printer/stylesheets/book2project.xsl
Index: book2project.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/skins/printer/stylesheets/book2project.xsl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
1.1.2.1 +0 -0 xml-cocoon/skins/printer/stylesheets/changes2document.xsl
Index: changes2document.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon/skins/printer/stylesheets/changes2document.xsl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
1.1.2.1 +0 -0 xml-cocoon/skins/printer/stylesheets/copyover.xsl
Index: copyover.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/skins/printer/stylesheets/copyover.xsl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
1.1.2.1 +0 -0
xml-cocoon/skins/printer/stylesheets/directory2project.xsl
Index: directory2project.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon/skins/printer/stylesheets/directory2project.xsl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
1.2.2.1 +22 -12 xml-cocoon/skins/printer/stylesheets/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/skins/printer/stylesheets/document2html.xsl,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- document2html.xsl 2000/07/20 00:12:58 1.2
+++ document2html.xsl 2000/07/24 15:55:11 1.2.2.1
@@ -21,14 +21,24 @@
<link rel="stylesheet" type="text/css" href="resources/simple.css"
title="Simple Style"/>
</head>
<body>
- <p class="legal">Cocoon Documentation</p>
- <h1 class="title"><xsl:value-of select="document/header/title"/></h1>
- <xsl:apply-templates/>
- <p class="legal">Copyright (c) @year@ <a
href="http://xml.apache.org">The Apache Software Foundation.</a><br/>All rights
reserved.</p>
+
+ <!-- THE MAIN PANEL (SIDEBAR AND CONTENT) -->
+ <table id="main-panel">
+ <tr>
+ <!-- THE SIDE BAR -->
+ <td id="side-bar">
+ <xsl:apply-templates select="document($stylebook.project)"/>
+ </td>
+ <!-- THE CONTENT PANEL -->
+ <td id="content-panel">
+ <xsl:apply-templates/>
+ </td>
+ </tr>
+ </table>
</body>
</html>
</xsl:if>
-
+
<xsl:if test="book">
<xsl:apply-templates/>
</xsl:if>
@@ -55,7 +65,7 @@
<xsl:template match="separator">
<hr/>
</xsl:template>
-
+
<!-- ======================================================================
-->
<!-- header section -->
<!-- ======================================================================
-->
@@ -105,7 +115,7 @@
</xsl:template>
<xsl:template match="source">
- <pre><xsl:apply-templates/></pre>
+ <pre class="source"><xsl:apply-templates/></pre>
</xsl:template>
<xsl:template match="fixme">
@@ -126,10 +136,10 @@
<li>
<strong><xsl:value-of select="."/></strong>
<xsl:text> - </xsl:text>
- <xsl:value-of select="following::dd"/>
+ <xsl:value-of select="following::dd"/>
</li>
</xsl:template>
-
+
<xsl:template match="dd">
<!-- ignore since already used -->
</xsl:template>
@@ -145,7 +155,7 @@
<!-- ======================================================================
-->
<!-- since we cloned the XHTML model, we don't need any futher styling
-->
-
+
<!-- ======================================================================
-->
<!-- images section -->
<!-- ======================================================================
-->
@@ -153,7 +163,7 @@
<xsl:template match="figure|img|icon">
<img src="[EMAIL PROTECTED]" alt="[EMAIL PROTECTED]" class="{name(.)}"/>
</xsl:template>
-
+
<!-- ======================================================================
-->
<!-- links section -->
<!-- ======================================================================
-->
@@ -176,6 +186,6 @@
<xsl:template match="anchor">
<a name="[EMAIL PROTECTED]"><xsl:comment>anchor</xsl:comment></a>
- </xsl:template>
+ </xsl:template>
</xsl:stylesheet>
1.1.2.1 +0 -0 xml-cocoon/skins/printer/stylesheets/document2project.xsl
Index: document2project.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon/skins/printer/stylesheets/document2project.xsl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
1.1.2.1 +0 -0 xml-cocoon/skins/printer/stylesheets/faqs2document.xsl
Index: faqs2document.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/skins/printer/stylesheets/faqs2document.xsl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
1.1.2.1 +0 -0 xml-cocoon/skins/printer/stylesheets/scan4resources.xsl
Index: scan4resources.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/skins/printer/stylesheets/scan4resources.xsl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
1.1.2.1 +0 -0 xml-cocoon/skins/printer/stylesheets/spec2html.xsl
Index: spec2html.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/skins/printer/stylesheets/spec2html.xsl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
1.1.2.1 +0 -0 xml-cocoon/skins/printer/stylesheets/todo2document.xsl
Index: todo2document.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/skins/printer/stylesheets/todo2document.xsl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1