cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Help to display the total number of pages with a FOSI

unknown1
1-Newbie

Help to display the total number of pages with a FOSI

Hello,

Which is the process to display the total number of pages (example: Page
1/5)?

Regards

David
5 REPLIES 5

OOOOOHHHHH and easy one. Well sort of easy. 😄

David, take a look at help 13014. I think this will get you what you
want. You will now get to learn about a TDV and a TIV (time dependent
variable and a time independent variable). Make sure you set your
<strngdecl> to a status of "1" or you will have problems.

Basically, it is add a new counter and a TIV string variable. Increment
the counter as you would any other counter. For a total page counter,
each time you count a page in the <pageset>, you will need to count the
total page counter too. Save the new counter value to the TIV variable
and then use the string in your <usetext>.

If you need further help, don't hesitate to ask. This was a cheating
man's way to answer, but the help file is pretty explicit.

Lynn

Hi,

I'm using DITA in Arbortext Editor 5.2 and need to rotate an entry in a table. What i found is that the "rotate" attribut is removed in this version. Any idea?

Regards
/PJ
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/

Lynn,

Thanks for your help.

David GOPOIS
Responsable Informatique / Computer Manager
Tél.: (+33) 02 35 12 33 66
Fax: (+33) 02 35 12 33 67

Groupe INGELIANCE
INTERFACE
230, route de Préaux
76160 Roncherolles sur le vivier - FRANCE

-----Message d'origine-----
De : Lynn Hales
Envoyé : jeudi 27 juillet 2006 15:18
À : adepters@arbortext.com
Objet : Re: Help to display the total number of pages with a FOSI

OOOOOHHHHH and easy one. Well sort of easy. 😄

David, take a look at help 13014. I think this will get you what you
want. You will now get to learn about a TDV and a TIV (time dependent
variable and a time independent variable). Make sure you set your
<strngdecl> to a status of "1" or you will have problems.

Basically, it is add a new counter and a TIV string variable. Increment
the counter as you would any other counter. For a total page counter,
each time you count a page in the <pageset>, you will need to count the
total page counter too. Save the new counter value to the TIV variable
and then use the string in your <usetext>.

If you need further help, don't hesitate to ask. This was a cheating
man's way to answer, but the help file is pretty explicit.

Lynn


You don't have to implement this w/two e-i-c's (I'm not even sure I
know why we did), but the following e-i-c's will rotate table cell
content:

<e-i-c gi="rotate">
<charlist inherit="1" charsubsetref="suppress">
<usetext source="%\hbox{\special{pub:" rotate<br="/>90}%,<rotated_cell.fmt>,#CONTENT,</rotated_cell.fmt>,%}%">
<subchars></subchars>
</usetext>
</charlist>
</e-i-c>
<e-i-c gi="rotated_cell.fmt">
<charlist inherit="1">

</charlist>
</e-i-c>

We don't use DITA so I don't know if there are differences that would
break this solution, but we're using the CALS table model.

You will have to set row height manually with the Arbortext PI since
the height calculation is performed on unrotated text. You will have
to valign the cell contents to bottom. You may have to tweak the
offset based on your font.


Announcements