Re: Compiling docbook packages



On Mon, Mar 29, 1999 at 06:41:18AM -0500, Norman Walsh wrote:
> | I got it somewhat working now, but it breaks everytime there
> | are unmatched tags in the sgml files from gnome. And there are a 
> | lot of those unmatched tags.
> | 
> | Does anyone know more about these unmatched tags? Is that normal??
> 
> Can you post or send me an example of the unmatched tags in question?
> 
>                                         Cheers,
>                                           norm

For example, in functions.sgml from gnumeric/gnumeric/doc/C/, I get a
whole bunch of error messages like

working on ../gnumeric.sgml
jade:../functions.sgml:276:11:E: document type does not allow element "REFENTRY" here
jade:../functions.sgml:304:11:E: document type does not allow element "REFENTRY" here
jade:../functions.sgml:335:11:E: document type does not allow element "REFENTRY" here
jade:../functions.sgml:361:11:E: document type does not allow element "REFENTRY" here
jade:../functions.sgml:386:11:E: document type does not allow element "REFENTRY" here
jade:../functions.sgml:412:11:E: document type does not allow element "REFENTRY" here

and when I look at line 276 I get the strong feeling that closing tags
</refsect1></refentry> are missing:

260  <refentry>
261    <refmeta>
262      <refentrytitle><anchor id="gnumeric-GCD">GCD</refentrytitle><refmiscinfo></refmiscinfo>
263    </refmeta>
264    <refnamediv>
265      <refname>GCD</refname>
266      <refpurpose></refpurpose>
267    </refnamediv>
268    <refsynopsisdiv>
269      <synopsis>GCD(n1,n2)</synopsis>
 270   </refsynopsisdiv>
271      <refsect1>
272        <title>Description</title>
273        <para>Returns the greatest common divisor of N1 and N2.</para>
274        <para></para>
275
276  <refentry>
277    <refmeta>
278      <refentrytitle><anchor id="gnumeric-ATAN">ATAN</refentrytitle><refmiscinfo></refmiscinfo>
279    </refmeta>
280    <refnamediv>
281      <refname>ATAN</refname>
282      <refpurpose></refpurpose>
283    </refnamediv>
284    <refsynopsisdiv>
285      <synopsis>ATAN(x)</synopsis>
286    </refsynopsisdiv>
287      <refsect1>
288        <title>Description</title>
289        <para>The ATAN function calculates the arc tangent of x; that  is the value whose tangent is x.Return value is in radians.</para>
290        <para>Performing this function on a string or empty cell simply does nothing. This function only takes one argument.</para>
291    </refsect1>
292    <refsect1><title>See also</title>
293      <para>        <link linkend="gnumeric-TAN">TAN</link>
294,         <link linkend="gnumeric-COS">COS</link>
295,         <link linkend="gnumeric-SIN">SIN</link>
296,         <link linkend="gnumeric-DEGREES">DEGREES</link>
297,         <link linkend="gnumeric-RADIANS">RADIANS</link>
298      </para>
299    </refsect1>
300  </refentry>


Maybe I've misinstalled something causes my docbook installation to
be more picky than necessary. After all, it is recognized that
<refentry> is not legal at those places, and the only way to make
sense of it is by closing the open tags. But are mismatched tags
really normal?

Ronald de Man



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]