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


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

JadeTeX: %footnote-ulinks% forgets ULINKs when in tables


Hello again,
	As a workaround to the problem with ULINKs that pass the margins
when rendering with JadeTeX, a solution was to enable

	%footnote-ulinks%

which uses footnotes to show the actual URLs.

However, if the ULINK is in a table, it is forgotten and never show in
the footnotes.

Example code:

-----table.sgml-------
<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V4.0beta2//EN">
<PARA>
<TABLE TOCENTRY="1" FRAME="ALL">
    <TITLE>My Table</TITLE>
    <TGROUP COLS=2>
      <THEAD>
        <ROW>
          <ENTRY>Table name</ENTRY>
          <ENTRY>Table Age</ENTRY>
        </ROW>
      </THEAD>
      <TBODY>
        <ROW>
          <ENTRY>Oak</ENTRY>
          <ENTRY><ULINK URL="http://www.docbook.org">docbook</ULINK></ENTRY>
        </ROW>
      </TBODY>
    </TGROUP>
</TABLE>

This one works at <ULINK URL="http://www.docbook.org">docbook</ULINK>.
</PARA>
------- end of table.sgml -------

Do not forget to enable "%footnote-ulinks% (set to t) and disable
%show-ulinks% (set to f).

The result is shown in the attached .dvi file. You can see the counter
to remain 0 with the second ULINK. It's more visible when used
in a proper .sgml file (with chapters etc so that the footnote shows..).

Thnaks,
Simos Xenitellis

table.dvi

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V4.0beta2//EN">
<PARA>
<TABLE TOCENTRY="1" FRAME="ALL">
    <TITLE>My Table</TITLE>
    <TGROUP COLS=2>
      <THEAD>
        <ROW>
          <ENTRY>Table name</ENTRY>
          <ENTRY>Table Age</ENTRY>
        </ROW>
      </THEAD>
      <TBODY>
        <ROW>
          <ENTRY>Oak</ENTRY>
          <ENTRY><ULINK URL="http://www.docbook.org">docbook</ULINK></ENTRY>
        </ROW>
      </TBODY>
    </TGROUP>
</TABLE>

This one works at <ULINK URL="http://www.docbook.org">docbook</ULINK>.
</PARA>

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