Created attachment 366553 [details] html example of issue (rendering problem) Description of problem: Version-Release number of selected component (if applicable): How reproducible: h<programlistingco> <areaspec> <areaset id="ex.plco.const" coords=""> <area id="ex.plco.c1" coords='4'/> <area id="ex.plco.c2" coords='8'/> </areaset> <area id="ex.plco.ret" coords='12'/> <area id="ex.plco.dest" coords='12'/> </areaspec> <programlisting> sub do_nothing_useful { my($a, $b, $c); $a = new A; $a->does_nothing_either(); $b = new B; $c = "frog"; return ($a, $c); } </programlisting> <calloutlist> <callout arearefs="ex.plco.const"> <para> These are calls to the constructor <function>new</function> in the object classes. </para> </callout> <callout arearefs="ex.plco.ret"> <para> This function returns a two-element list. </para> </callout> <callout arearefs="ex.plco.dest"> <para> The <emphasis>destructor</emphasis> (<function>DESTROY</function>) for the object <literal>$b</literal> will be called automatically for this object since there can be no other references to it outside this function. </para> </callout> </calloutlist> </programlistingco> Additional info: The resultant html and pdf are unsightly and inconsistent. Large numbers in html and small numbers in the PDF.
Clearly Ben is running an old publican because on publican 1.x you get: No insertCallouts function is available. at /usr/lib/perl5/vendor_perl/5.8.8/Publican/Builder.pm line 738 Oopsy! Need to implement this callout function similar to how the highlight function is done in Builder.pm. Then make them pretty. P.S. Rudi, is 1.x still going to happen for F11?
Created attachment 373851 [details] HTML example of fixed output
Created attachment 373852 [details] PDF example of fixed output
Added insertCallouts xstl function. Fixed HTML & PDF layouts.
publican-1.3-0.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/publican-1.3-0.fc12
publican-1.3-0.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/publican-1.3-0.fc11
publican-1.3-0.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
publican-1.3-0.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.