ok, this uses the new manually typeset content supplied by
authorjohn <john>
Wed, 25 Sep 2002 21:22:13 +0000 (21:22 +0000)
committerjohn <john>
Wed, 25 Sep 2002 21:22:13 +0000 (21:22 +0000)
PDFPreformattingProducerNode,
except that it seems broken with regard to changes in the rest of
the data like the title and so on.....complains about the article key
being missing.....
so it's close, but not functional yet

templates-dist/producer/printablecontent.template

index 498bb79..03b1956 100755 (executable)
@@ -140,6 +140,26 @@ an attribution of copyright/left rights, etc.  the possibilities are endless.
                 space-after.optimum="3pt"
                 text-align="justify">
        ${article.content_data_parsed}
+<list data.formatted_content as fc>
+<if fc.hasImage == "1">
+<fo:table text-align="justify">
+  <fo:table-column column-width="16cm-${fc.img_width}px"/>
+  <fo:table-column column-width="${fc.img_width}px"/>
+  <fo:table-body>
+    <fo:table-row>
+      <fo:table-cell>
+      <fo:block>${fc.text}</fo:block>
+      </fo:table-cell>
+      <fo:table-cell>
+      <fo:external-graphic src="file://${fc.img_src}" content-height="${fc.img_height}px" content-width="${fc.img_width}px" height="${fc.img_height}px" width="${fc.img_width}px" />
+      </fo:table-cell>
+    </fo:table-row>
+  </fo:table-body> 
+<else>
+<fo:block text-align="justify">${fc.text}</fo:block>
+</if>
+
+</list>
         <list article.to_media_images as media>
        <fo:external-graphic  src="file:${config["Producer.Image.Path"]}/${media["publish_path"]}"  />
             ${media["description"]}
@@ -153,3 +173,9 @@ an attribution of copyright/left rights, etc.  the possibilities are endless.
 </fo:root>
 
 
+
+
+
+
+
+