Return-Path: Mailing-List: contact velocity-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list velocity-dev@jakarta.apache.org Received: (qmail 96872 invoked by uid 500); 2 Mar 2001 05:01:30 -0000 Delivered-To: apmail-jakarta-velocity-cvs@apache.org Received: (qmail 96869 invoked by uid 1047); 2 Mar 2001 05:01:29 -0000 Date: 2 Mar 2001 05:01:29 -0000 Message-ID: <20010302050129.96867.qmail@apache.org> From: jon@apache.org To: jakarta-velocity-cvs@apache.org Subject: cvs commit: jakarta-velocity/whiteboard/daveb/pdfvsl pdfsite.vsl jon 01/03/01 21:01:29 Modified: whiteboard/daveb/pdfvsl pdfsite.vsl Log: started to re-work the pdfsite.vsl document a bit. i actually have messed things up a tiny bit, but this is a whiteboard so that is ok. :-) dave, this is WAY cool...now i/we just need to learn how to write out .fo files properly Revision Changes Path 1.2 +57 -58 jakarta-velocity/whiteboard/daveb/pdfvsl/pdfsite.vsl Index: pdfsite.vsl =================================================================== RCS file: /home/cvs/jakarta-velocity/whiteboard/daveb/pdfvsl/pdfsite.vsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- pdfsite.vsl 2001/03/02 04:15:42 1.1 +++ pdfsite.vsl 2001/03/02 05:01:28 1.2 @@ -1,76 +1,75 @@ #document() -#macro (document) - - - - - - - - - - - - - - - - - $root.getChild("properties").getChild("title").getText() pg - - - - - - #set ($allSections = $xpath.applyTo("body/section", $root)) - - #foreach ( $section in $allSections ) - #foreach ( $item in $section.getChildren() ) - #if ( $item.getName().equals("p") ) - #makeBlock($item) - #elseif ( $item.getName().equals("em") ) - #makeEmphasize($item) - #elseif ( $item.getName().equals("source") ) - #makeSource($item) - #end - #end - #end - - - - -#end - #macro ( makeBlock $value ) - $value.getText() + padding-top="3pt"> + $xmlout.outputString($value) #end #macro (makeEmphasize $value ) - $value.getText() + padding-top="3pt"> + $xmlout.outputString($value) +#end + +#macro (document) + + + + + + + + + + + + + + + + $root.getChild("properties").getChild("title").getText() pg + + + + + + #set ($allSections = $xpath.applyTo("body/section", $root)) + + + #foreach ( $section in $allSections ) + #foreach ( $item in $section.getChildren() ) + #if ( $item.getName().equals("p") ) + #makeBlock($item) + #elseif ( $item.getName().equals("em") ) + #makeEmphasize($item) + #elseif ( $item.getName().equals("source") ) + #makeSource($item) + #end + #end + #end + + + #end