This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] 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

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]