On 8/2/07, Jason Aiken <jason.aiken@jeppesen.com> wrote:
>
> Ugh.
You took the words right out of my mouth!
If you can get the formatting to appear like a table using algroup, as
> shown in the example in Help 70, then isn't that good enough? You must
> have some *tough* customers. 😉
It's actually customers behind my customers. They are *very*
format-conscious. I don't pretend to understand their business ... but
sometimes I don't understand the requirements. (Not technically don't
understand, but the justification thereof ... is .1mm *really* going to make
a difference!??)
I expect you are calling field-index_row.app from your index element and
> not seeing anything? Where is the end tag for your row?
I only included one ixhead e-i-c. There are five. This is the first. The
middles only have entrys. The last has the closing row tag. I'm calling
field-index_row.app from a pseudo element like the one described in Help 70.
The pseudo element is called from something called field_index_anchor. I
guess I could try calling the .app directly from the legit element. Anyone
think that should matter?
Another question I had was about all of the index markup. Is any of that
required in the DTD? It works fine for the algroup formatting not being in
the DTD. I had to add it to my test application since I was creating "live"
markup, not processing an index, to test my semantic table semantics.
I would try experimenting with a simple test variable until I was sure
> that the timing of the savetext/usetext combo was right. Try replacing
> field-index_row.app with something else (e.g. test.app that has a conrule
> of !test!, then #CONTENT, then table mark-up, etc.). Depending on what
> works and what doesn't, you may need to pass variables from one to
> another.
I think this is the trick to what I'm trying to do ... or limitation
preventing me. I went through several gyrating variations on my savetexts
and related usetext sources and I don't think I hit the right one (and maybe
it's not possible) to savetext within the index processing "loop" or
"pipeline" or "pass" or whatever subroutine is handling things.
I'm pretty sure, based on "replicating" the
ixentry/ixhead/ixentry/ixhead.... tagging structure *in* a document, that my
semantic table markup is right.
I'm pretty sure, based on simple savetext/usetext tests, that the ixhead
e-i-cs will emit content but not save it. OR that some subsequent processing
pass/step purges my allegedly time independent variable (status="1")
field-index_row.app. OR maybe that a special environment is set up for index
processing in which the variable is time independent, but then that
environment is dropped once the output is created.
(This is starting to sound like a conspiracy theory!)
ANYHOW ... can you say more about tricks for saving and passing variables?
Maybe I have to save my row content to time dependent variables and then
save them all at once to the time independent variable?
There's also the set gentexttagdisplay=full setting to see how things are
> laying out in Editor...this may give you more information about what's
> happening in the index.
I hadn't thought of that. Hmm. Would that reveal final index markup, though?
I think there is preliminary index markup that would be available to Editor.
But I can see what you're saying ... maybe that would show something.
Thanks.
I'd also look more into the "format as a table" requirement. If all the
> customer wants is rules, then perhaps you can simulate that with a
> different effect using your algroup approach. Would something like boxing
> be able to help there?
The version they have now and are passing back to their customer has
horizontal rules inside of the algroup markup. It's wrapped in markup that
functions like a table title. So, compared to the style of other tables in
their "library," it's missing vertical rules, the last rule on the page *IF*
the index breaks across a page, and a repeating table header. Hopefully
it'll fly.
I tried boxing but waved off when I saw what happened when the content of
one of the "cells" wraps: Sibling cells don't increase their depth. Yikes.
Thanks for the thoughts!
--
Paul Nagai