Menu

#4 <indexterm> in <entry>: unresolved ref.

open-accepted
nobody
None
9
2002-01-30
2001-08-18
No

I'm using Norman Walsh's stylesheets and every
indexterm
defined in a entry in a table does NOT get its page
number
resolved in the index.

E.g. I get

LaTeX Warning: Reference `IDX-ICONTROL' on page 211
undefined on input line 89746.

If I inspect the .tex file, the label seems to be
defined (at least
apparently):

$ grep -15 IDX-ICONTROL *tex
auisg.tex-\TableCell%
auisg.tex-{\def\CellRowAlignment%
auisg.tex-{start}\def\CellBeforeRowMargin%
auisg.tex-{3\p@}\def\CellAfterRowMargin%
auisg.tex-{3\p@}\def\CellBeforeColumnMargin%
auisg.tex-{0\p@}\def\CellAfterColumnMargin%
auisg.tex-{3\p@}\def\StartIndent%
auisg.tex-{2\p@}\def\StartIndentFactor%
auisg.tex-{0}\def\EndIndent%
auisg.tex-{2\p@}\def\EndIndentFactor%
auisg.tex-{0}}\Par%
auisg.tex-{\def\fFamName{Times-New-Roman}\def\fWeight%
auisg.tex-{medium}\def\Quadding%
auisg.tex-{start}} \Node%
auisg.tex-{\def\Label%
auisg.tex:{IDX-ICONTROL}}\Seq%
auisg.tex-{}\endSeq{}\endNode{}
auisg.tex- IControl\endPar{}\endTableCell{}%
auisg.tex-}%
auisg.tex-&\TeXTableCell{1}{T{0\p@}{347\p@}{3\p@}}%
auisg.tex-{%
auisg.tex-\TableCell%
auisg.tex-{\def\CellRowAlignment%
auisg.tex-{start}\def\CellBeforeRowMargin%
auisg.tex-{3\p@}\def\CellAfterRowMargin%
auisg.tex-{3\p@}\def\CellBeforeColumnMargin%
auisg.tex-{0\p@}\def\CellAfterColumnMargin%
auisg.tex-{3\p@}\def\StartIndent%
auisg.tex-{2\p@}\def\StartIndentFactor%
auisg.tex-{0}\def\EndIndent%
auisg.tex-{2\p@}\def\EndIndentFactor%
--
auisg.tex-{\def\Label%
auisg.tex-{X287}}\endNode{}\endLink{}\endNode{}
auisg.tex- \endPar{}\endNode{}\Node%
auisg.tex-{\def\Element%
auisg.tex-{8158}}\Par%
auisg.tex-{\def\fSize%
auisg.tex-{9\p@}\def\StartIndent%
auisg.tex-{58\p@}\def\StartIndentFactor%
auisg.tex-{0}}preferences editor,
auisg.tex- \Node%
auisg.tex-{\def\Element%
auisg.tex-{8159}}\Seq%
auisg.tex-{\def\fWeight%
auisg.tex-{bold}}\Link%
auisg.tex-{\def\Label%
auisg.tex:{IDX-ICONTROL}}\Node%
auisg.tex-{\def\Label%
auisg.tex:{IDX-ICONTROL}\def\ProcessingMode%
auisg.tex-{toc-page-number-mode}}\insertCurrentNodePageNumber%
auisg.tex-{\def\Label%
auisg.tex:{IDX-ICONTROL}}\endNode{}\endLink{}\endSeq{}\endNode{}
auisg.tex- \endPar{}\endNode{}\endNode{}\Node%
auisg.tex-{\def\Element%
auisg.tex-{8161}}\Node%
auisg.tex-{\def\Element%
auisg.tex-{8162}}\Par%
auisg.tex-{\def\fSize%
auisg.tex-{9\p@}}IDs,
auisg.tex- \Node%
auisg.tex-{\def\Element%
auisg.tex-{8163}}\Link%
auisg.tex-{\def\Label%
auisg.tex-{X289}}\Node%
auisg.tex-{\def\Label%
auisg.tex-{X289}\def\ProcessingMode%
auisg.tex-{toc-page-number-mode}}\insertCurrentNodePageNumber%

The labels never appear in the aux file, no matter how
many times
I run jadetex. The above is all I can submit (the whole
.tex file is
a couple of megabytes), but I can try creating a
testcase if it's still
not enough to track down the problem.

Discussion

  • Rudi Chiarito

    Rudi Chiarito - 2001-08-18
    • priority: 5 --> 7
     
  • Peter Eisentraut

    Logged In: YES
    user_id=178336

    Just having encountered the same problem, I just wanted to
    add some of my own obervations. This is not really dependent
    on indexterms. Any link will do. Process the following
    document with DSSSL stylesheets 1.70 or so and JadeTeX
    3.10. I agree with the original posters assessment that the
    .tex file looks correct, all the targets seem to be
    defined. Note also that if the link is to the <table>
    element, everything works correctly.

    <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
    <book>
    <title>My Book</title>

    <chapter>
    <title>First Chapter</title>

    <para>
    See also <link linkend="foo">elsewhere</link>
    </para>
    </chapter>

    <chapter>
    <title>Second Chapter</title>

    <table>
    <title>Some Table</title>
    <tgroup cols=2>
    <tbody>
    <row>
    <entry id="foo">one</entry>
    <entry>two</entry>
    </row>
    </tbody>
    </tgroup>
    </table>
    </chapter>
    </book>

     
  • Rudi Chiarito

    Rudi Chiarito - 2001-10-10

    Logged In: YES
    user_id=294422

    Does Sebastian check bug reports here?
    I don't know whether he uses SourceForge just to post
    updates or he's seen this bug and is busy with it.

     
  • Tim Waugh

    Tim Waugh - 2001-11-09

    Logged In: YES
    user_id=40098

    The 'My Book' example seems to be a different problem (I
    don't see the reference defined at all when I try it here).
    However, here is a small example DocBook document that
    produces FOT that jadetex trips up on:

    <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
    <book>
    <chapter>
    <title>Test</title>

    <informaltable>
    <tgroup cols="1">
    <tbody>
    <row>
    <entry><indexterm id="IDX">
    <primary>foo</primary></indexterm>entry</entry>
    </row>
    </tbody>
    </tgroup>
    </informaltable>
    </chapter>

    <index>
    <indexentry>
    <primaryie>test,
    <ulink url="c2.html#IDX"
    role="IDX"><emphasis>Test</emphasis></ulink>
    </primaryie>
    </indexentry>

    </index>
    </book>

     
  • Ian Castle

    Ian Castle - 2002-01-30

    Logged In: YES
    user_id=262940

    Currently there is a bug/issue where you can't have links
    into entries in tables... In fact, it is explcitly
    disabled in the source... if you (re)introduce it, then
    you get spurious white space appearing...

    It will probably take a little while to fix this.

     
  • Ian Castle

    Ian Castle - 2002-01-30
    • priority: 7 --> 9
    • status: open --> pending-accepted
     
  • Ian Castle

    Ian Castle - 2002-01-30
    • status: pending-accepted --> open-accepted
     
  • Nobody/Anonymous

    Logged In: NO

    I have found another variant of the same problem. I have
    overriden the book structure in a customisation layer, so
    that some front elemnts come before the table of contents -
    this mandated by certain big customers.

    The tex file looks OK, but when processed the TOC entry has
    no page number (and no link), but rather question marks. The
    aux file has the corresponding \pagelabel{53}{qqq}. Editing
    the aux file allows me to produce the correct output - but
    you get burnt for doing that!

    Julian Satchell
    j dot satchell on-domain eris dot qinetiq dot com