How to use calculations in page numbers

Help for TextMaker 2002 for Linux and FreeBSD

Moderator: SoftMaker Team

Post Reply
DJungk
Posts: 28
Joined: Sun Dec 03, 2006 8:08 pm

How to use calculations in page numbers

Post by DJungk » Sun Dec 03, 2006 8:15 pm

Hi,
I think this should be possible, but I can't figure out how to do it.
I have a large number of documents with landscape, letter sized pages. Each page has two column. What I want is to put a calculated page number in the footer so that the left column has, for example, 2 under it and the right column has 3, the next page would have 4 and 5, etc. It will look like it was printed with 2 pages per sheet.

Is there a way to do this with calculations, or by using Insert List and getting a list of page numbers? or any other way?

Thanks,
Don

Tobias-L
Posts: 3423
Joined: Fri Nov 21, 2003 3:23 pm
Location: Nürnberg, Germany
Contact:

Post by Tobias-L » Mon Dec 04, 2006 9:05 am

You cannot do it via page numbers, but there is another way.

At the beginning of the document define a new variable like this:

Code: Select all

PAGENR=1
At the end of page 1 insert a new calculation and insert the field PAGENR.

At the beginning of page 2 insert the following calculation:

Code: Select all

PAGENR=PAGENR+1
You will have to place this calculation at the top of every upcoming page.

Again, at the bottom, insert the field PAGENR via a calculation.

It's not as easy as using real page numbers, but it works very well.
Tobias Leißner
SoftMaker Software GmbH


DJungk
Posts: 28
Joined: Sun Dec 03, 2006 8:08 pm

Post by DJungk » Mon Dec 04, 2006 5:16 pm

Thanks,
This gets me a little closer, but It looks like I still have to manually add it at the bottom of each page since it seems that TextMaker doesn't allow user defined variables in the footer.

Thanks for the help, I understnad the variables a little better now.
Don

Post Reply

Return to “TextMaker 2002 for Linux and FreeBSD”