% \enabletrackers[structures.referencing]
% \enabletrackers[structures.referencing.analyzing]
% \enabletrackers[structures.referencing.identifying]
% \enabletrackers[structures.referencing.importing]

\setupreferencing[autofile=yes]
\setupinteraction[state=start]

\startcomponent cross-001

\product cross-100

\startchapter[title=One,reference=one]

    \dontleavehmode \textreference[hello]{Hello There One!}Hello There One

    \starttabulate[|l|l|l|]
        \NC [one] \NC at    \NC \at      {page}[one] \NC \NR
        \NC [one] \NC in    \NC \in   {chapter}[one] \NC \NR
        \NC [one] \NC about \NC \about         [one] \NC \NR
        \NC [one] \NC goto  \NC \goto{location}[one] \NC \NR
    \stoptabulate

    \starttabulate[|l|l|l|]
        \NC [two] \NC at    \NC \at      {page}[two] \NC \NR
        \NC [two] \NC in    \NC \in   {chapter}[two] \NC \NR
        \NC [two] \NC about \NC \about         [two] \NC \NR
        \NC [two] \NC goto  \NC \goto{location}[two] \NC \NR
    \stoptabulate

    \starttabulate[|l|l|l|]
        \NC [cross-002:two] \NC at    \NC \at      {page}[cross-002:two] \NC \NR
        \NC [cross-002:two] \NC in    \NC \in   {chapter}[cross-002:two] \NC \NR
        \NC [cross-002:two] \NC about \NC \about         [cross-002:two] \NC \NR
        \NC [cross-002:two] \NC goto  \NC \goto{location}[cross-002:two] \NC \NR
    \stoptabulate

    \starttabulate[|l|l|l|]
        \NC [cross-002::two] \NC at    \NC \at      {page}[cross-002::two] \NC \NR
        \NC [cross-002::two] \NC in    \NC \in   {chapter}[cross-002::two] \NC \NR
        \NC [cross-002::two] \NC about \NC \about         [cross-002::two] \NC \NR
        \NC [cross-002::two] \NC goto  \NC \goto{location}[cross-002::two] \NC \NR
    \stoptabulate

    \starttabulate[|l|l|l|]
        \NC [cross-002:::two] \NC at    \NC \at      {page}[cross-002:::two] \NC \NR
        \NC [cross-002:::two] \NC in    \NC \in   {chapter}[cross-002:::two] \NC \NR
        \NC [cross-002:::two] \NC about \NC \about         [cross-002:::two] \NC \NR
        \NC [cross-002:::two] \NC goto  \NC \goto{location}[cross-002:::two] \NC \NR
    \stoptabulate

    \startlines
        \at          {page}[cross-002:::two] in \from[cross-002]
        \in       {chapter}[cross-002:::two] of \from[cross-002] (\about[cross-002:::two])
        \goto{more details}[cross-002:::two]
    \stoplines

    \starttabulate[|l|l|l|]
        \NC [cross-002:::hello] \NC other text \NC \ref[text][cross-002:::hello] \NC \NR
        \NC [cross-002::hello]  \NC other text \NC \ref[text][cross-002::hello]  \NC \NR
        \NC [cross-002:hello]   \NC other text \NC \ref[text][cross-002:hello]   \NC \NR
        \NC [cross-002:::hello] \NC other page \NC \ref[page][cross-002:::hello] \NC \NR
        \NC [cross-002:::hello] \NC about      \NC \about    [cross-002:::hello] \NC \NR
        \NC [cross-002::hello]  \NC about      \NC \about    [cross-002::hello]  \NC \NR
        \NC [cross-002:hello]   \NC about      \NC \about    [cross-002:hello]   \NC \NR
    \stoptabulate

\stopchapter

\stopcomponent
