This is not a nice solution, but with it I could finally print the docs. 
I modified jakarta-site2/xdocs/stylesheets/site.vsl and built the
documentation again.
I've attached the patch.

Gabriel

Asteris Masouras wrote:
> 
> A similar thread popped up in the velocity-user mailing list, and I was
> wondering whether
> there's a quick'n'dirty way to apply a common solution (Anakia based?) to
> transforming all of TDK's
> documentation into printer friendly format without reinventing the wheel for
> each and every subset
> (this mostly has to do with addressing issues such as long line splitting
> etc.)
> Just a thought..
> 
> -=-
> Asteris Masouras ([EMAIL PROTECTED]|+30 31 996050)     LHTEE IT
> Developer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
Index: site.vsl
===================================================================
RCS file: /home/cvspublic/jakarta-site2/xdocs/stylesheets/site.vsl,v
retrieving revision 1.17
diff -u -r1.17 site.vsl
--- site.vsl    2001/05/17 06:26:01     1.17
+++ site.vsl    2001/07/10 15:54:01
@@ -106,25 +106,7 @@
 #end
 
 #macro ( source $value)
-    <div align="left">
-    <table cellspacing="4" cellpadding="0" border="0">
-    <tr>
-      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-    </tr>
-    <tr>
-      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#ffffff"><pre>$escape.getText($value.getText())</pre></td>
-      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
-    </tr>
-    <tr>
-      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-    </tr>
-    </table>
-    </div>
+<pre>$escape.getText($value.getText())</pre>
 #end
 
 #macro ( subsection $subsection)
@@ -155,15 +137,7 @@
 #end
 
 #macro ( section $section)
-    <table border="0" cellspacing="0" cellpadding="2" width="100%">
-      <tr><td bgcolor="$bannerbg">
-        <font color="$bannerfg" face="arial,helvetica,sanserif">
           <a 
name="$section.getAttributeValue("name")"><strong>$section.getAttributeValue("name")</strong></a>
-        </font>
-      </td></tr>
-      <tr><td><br/></td></tr>
-      <tr><td>
-        <blockquote>
         #foreach ( $items in $section.getChildren() )
             #if ($items.getName().equals("img"))
                 #image ($items)
@@ -177,11 +151,7 @@
                 $xmlout.outputString($items)
             #end
         #end
-        </blockquote>
         </p>
-      </td></tr>
-      <tr><td><br/></td></tr>
-    </table>
 #end
 
 #macro ( makeProject )
@@ -234,40 +204,11 @@
         </head>
 
         <body bgcolor="$bodybg" text="$bodyfg" link="$bodylink">        
-            <table border="0" width="100%" cellspacing="0">
-                <!-- TOP IMAGE -->
-                <tr>
-                    #getProjectImage()
-                </tr>
-            </table>
-            <table border="0" width="100%" cellspacing="4">
-                <tr><td colspan="2">
-                    <hr noshade="" size="1"/>
-                </td></tr>
-                
-                <tr>
-                    <!-- LEFT SIDE NAVIGATION -->
-                    <td valign="top" nowrap="true">
-                    #makeProject()
-                    </td>
-                    <td align="left" valign="top">
                     #set ($allSections = 
$root.getChild("body").getChildren("section"))
                     #foreach ( $section in $allSections )
                         #section ($section)
                     #end
-                    </td>
-                </tr>
-
-                <!-- FOOTER -->
-                <tr><td colspan="2">
-                    <hr noshade="" size="1"/>
-                </td></tr>
-                <tr><td colspan="2">
-                    <div align="center"><font color="$bodylink" size="-1"><em>
-                    Copyright &#169; 1999-2001, Apache Software Foundation
-                    </em></font></div>
-                </td></tr>
-            </table>
         </body>
     </html>
 #end
+

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to