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]

Problem with tables,jadetex and Modular DSSSL Stylesheets >= 1.54


Since version 1.54 and greater of the modular stylesheets, the tex
backend has been emitting "\DisplayGroup% .... \endDisplayGroup{}"
around table entries. In 1.53 and earlier it emitted "\Par% ...
\endPar{}" in similar situations.

If you have more than one paragraph inside an entry: e.g.

<ENTRY><PARA>Entry 2.1</PARA><PARA>Entry 2.2</PARA></ENTRY>

This generates an error when using pdfjadetex to process this file:

        "! Extra }, or forgotten \endgroup.
        <recently read> \egroup

        l.817 {1}}
                  Entry
2.2\endPar{}\endNode{}\endDisplayGroup{}\endTableCell{}%
        I've deleted a group-closing symbol because it seems to be
        spurious, as in `$x}$'. But perhaps the } is legitimate and
        you forgot something else, as in `\hbox{$x}'. In such cases
        the way to recover is to insert both the forgotten and the
        deleted material, e.g., by typing `I$}'.

        ! Missing \endgroup inserted...."

From then on it goes horribly wrong.

Changing the \DisplayGroup%... \endDisplayGroup{} to \Par% ... \endPar{}
or removing the extra node for the second paragraph will prevent the
errors from occuring.

I've tried various versions of tetex, jadetex, jade/openjade without any
joy.

To get back to a baseline I'm using the versions of openjade, tetex,
jadetex, docbook which come with RedHat 7.

Version 1.53 of the stylesheets doesn't have this problem (doesn't use
DisplayGroup) version 1.54 up to version 1.57 do.

I'm not a DSSSL or TeX expert and am not sure how to progress.. is the
problem with the stylesheets, the backend or with the defintion of the
DisplayGroup macro - or am I just doing something wrong?

Here is a reasonably simple table which demonstrates the problem:

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
]>
<BOOK>
<CHAPTER><TITLE>The Title</TITLE>
<PARA>A Paragraph</PARA>
<SECT1><TITLE>Section Title</TITLE>
<PARA>Paragraph</PARA>
<TABLE ID=TABLE1 FRAME=topbot><TITLE>TABLE 1</TITLE>
<TGROUP COLS=2 ALIGN=LEFT COLSEP=0 ROWSEP=0>
<COLSPEC COLNAME=c1 COLWIDTH="1*">
<COLSPEC COLNAME=c2 COLWIDTH="3*">
<THEAD>
<ROW ROWSEP=1>
        <ENTRY><PARA>Heading 1</PARA></ENTRY>
        <ENTRY><PARA>Heading 2</PARA></ENTRY>
</ROW>
</THEAD>
<TBODY>
<ROW>
<ENTRY><PARA>Entry 1</PARA></ENTRY>
<ENTRY><PARA>Entry 2.1</PARA><PARA>Entry 2.2</PARA></ENTRY>
</ROW>
</TBODY>
</TGROUP>
</TABLE>
</SECT1>
</CHAPTER>
</BOOK>

Thanks in advance for any help/clues.

> Regards,
> 
> Ian.

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