How can I tell where a text register is reading from?

How can I tell where a text register is reading from? There was a way to get a list of all the text registers used in a style library. We're still on the old (pre-css) xpp system.
Thanks!

emoji
Parents Reply
  • I'm not certain I fully understand the situation / environment - but here's an idea that might help:

    If you're trying to track down the IF rule responsible for populating the text register, a "brute force" approach would be to have a tag output the contents of the text register as part of the IF prestring (or post string - depending on how things are set up).

    Creating a macro named <FindTheTXT> that has the expansion of (where XX is the text register number):

    <px><tt;XX;d><mc;%treginfo=1;tr(XX;d);nul><pa> 

    Putting FindTheTXT in your prestring (or poststring) would at least tell you which tag contents/code (assuming main text) is responsible for populating the txt register. Once you know that, it would be a matter of tracing through the macros or Perl to see what's going on.

    emoji
Children
No Data