Check counter in styledesc?
Jan 13, 2015
03:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 13, 2015
03:47 PM
Check counter in styledesc?
Is there a way to check a page counter in the styledesc?
I'm trying to do this:
<specval attname="wpfolioct.txt" attloc="#FOSI" attval="#GT#\0\"> or
<specval attname="wpfolioct.txt" attloc="#FOSI" attval="#NONZERO">
but I'm getting a message that the content of wpfolioct.txt can't be retrieved.
2 REPLIES 2
Jan 13, 2015
07:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 13, 2015
07:33 PM
Pagedesc variables and styldesc variables are mostly kept separate. Also, note that textids are evaluated as strings not numbers.
You can test a counter in the pagedesc using a pseudo-element in the styldesc, and output gentext, for example. But you can't use the pseudo-element to change the value of a styldesc variable.
...
e-i-c gi=psu
...
And vice versa.
What exactly are you trying to accomplish?
You can test a counter in the pagedesc using a pseudo-element in the styldesc, and output gentext, for example. But you can't use the pseudo-element to change the value of a styldesc variable.
...
e-i-c gi=psu
...
And vice versa.
What exactly are you trying to accomplish?
Jan 13, 2015
09:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 13, 2015
09:26 PM
Hi Suzanne, I didn't want to change any values, just test whether the counter was >0 which would affect how I was building a string. But as it turned out I didn't need to check the counter anyway.
