Question
time-independent variables in 5.4
Hello FOSI-folk, got a quick question...
The document types I am working with were originally developed at the document level (MRU). I am building framework around this to enable complete-manual publishing and intermanual hyperlinking.
Where I am having trouble is, that up to this point, I haven't had a requirement to be able to produce a footer with total page counts (i.e. "Page 1 of X") that would apply to several sections within an overall instance.
So I go through the motions, got a counter in the folio for a pageset and a savetext that saves the counter to a variable for my TOC.
Now, I have a time-independent variable declared, and in the e-i-cs that start a new section, I reset the page counter, and I have my savetext with placement=after that uses the TOC variable with the BO modifier as the rule to save to the ID for the TIV.
This doesn't seem to work. The first section doesn't set the tiv, the second one sets the tiv, but it keeps the same value for the last section. I tried turning on gentexttrace for this, but the formatting pass causes a signal 22 and crashes Arbortext (doesn't crash with gentexttrace off). If I remove everything but one section, the TIV works like it's supposed to.
Is what I'm trying to do even possible with one page counter, one tiv, and one pageset, or do I need to split these up (sounds like a pain)?
Anyone have experience doing this successfully? I'm at a loss. Of course I've been staring at this FOSI for two days, it may jump out at me after a long weekend of not caring. Just wanted to see if anyone might have an idea of where I went wrong (with the stylesheet, not talking about career choices here...)
Thanks,
-Jason
The document types I am working with were originally developed at the document level (MRU). I am building framework around this to enable complete-manual publishing and intermanual hyperlinking.
Where I am having trouble is, that up to this point, I haven't had a requirement to be able to produce a footer with total page counts (i.e. "Page 1 of X") that would apply to several sections within an overall instance.
So I go through the motions, got a counter in the folio for a pageset and a savetext that saves the counter to a variable for my TOC.
Now, I have a time-independent variable declared, and in the e-i-cs that start a new section, I reset the page counter, and I have my savetext with placement=after that uses the TOC variable with the BO modifier as the rule to save to the ID for the TIV.
This doesn't seem to work. The first section doesn't set the tiv, the second one sets the tiv, but it keeps the same value for the last section. I tried turning on gentexttrace for this, but the formatting pass causes a signal 22 and crashes Arbortext (doesn't crash with gentexttrace off). If I remove everything but one section, the TIV works like it's supposed to.
Is what I'm trying to do even possible with one page counter, one tiv, and one pageset, or do I need to split these up (sounds like a pain)?
Anyone have experience doing this successfully? I'm at a loss. Of course I've been staring at this FOSI for two days, it may jump out at me after a long weekend of not caring. Just wanted to see if anyone might have an idea of where I went wrong (with the stylesheet, not talking about career choices here...)
Thanks,
-Jason
