[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Using ProgramListingCO
Hi list, I would like to use ProgramListingCO, but i doesn't work properly. Or may be I doesn't interstood exactly what ProgranListingCO have to do. I try with the exemple in the "DocBook" book and I have the same result (it's the french version of the book). <programlistingco> <areaspec> <areaset coords="" id="ex.plco.const"> <area coords="4" id="ex.plco.c1">test</area> <area coords="8" id="explco.c2">test2</area> </areaset> <area coords="12" id="ex.plco.ret"/> <area coords="12" id="ex.plco.dest"/> </areaspec> <programlisting> sub ne_fait_rien_d_utile { my($a, $b, $c); $a = new A; $a->ne_fait_rien_non_plus(); $b = new B; $c = "frog"; return ($a, $c); } </programlisting> <calloutlist> <callout arearefs="ex.plco.const"> <para>Voici les appels au constructeur <function>new</function> dans les classes objects</para> </callout> <callout arearefs="ex.plco.ret"><para>Cette fonction renvoie une liste de deux élements</para></callout> <callout arearefs="ex.plco.dest"><para>Le <emphasis>destructeur</emphasis> (<function>DESTROY</function>) de l'object <literal>$b</literal> sera automatiquement appelé pour cet objet puisqu'il ne peut y avoir aucune référence vers ce dernier hors de cette fonction.</para></callout> </calloutlist> </programlistingco> I saw that I have to set use.extensions and use.callouts to 1, but when I try to have html output there is some errors, the first one is : SystemID: file:/Users/Shared/DocBook/lib/docbook/docbook-xsl-1.65.1/html/callout. xsl Location: 43:1 Description: W No insertCallouts function is available. I think there is something missing but what ! Thanks in advance for you help. Jacques -- La notion de passoire est indépendante de la notion de trou... et réciproquement
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]