InsertNumber Text Command

INSERTNUMBER Text Commands

Inserts a number variable at the insertion point.

insertnumber [LANGUAGE name] [PREFIX text] [DOCUMENT name | WINDOW name]
... INDEXTOPIC indextopicid | FIGURENUM figurenumber] [LEVEL ]

variable/k The number to insert.

Options: PAGE Current frame page #.
PREVPAGE Previous frame page #.
NEXTPAGE Next frame page #.
FIRSTPAGE First frame page #.
LASTPAGE Last frame page #.
PAGECOUNT Number of pages.
PAGESTART Starting page #.
PAGEEND Ending page #.
CHAPTER Current chapter #.
CHAPTERCOUNT Number of chapters.
CHAPTERSTART Starting chapter #.
CHAPTEREND Ending chapter #.
SUBCHAPTERCOUNT Number of subchapters.
SUBCHAPTERSTART Starting subchapter #.
SUBCHAPTEREND Ending subchapter #.
COLUMN Current frame #.
PREVCOLUMN Previous frame #.
NEXTCOLUMN Next frame #.
COLUMNCOUNT Number of columns.

MARK/i The text mark number to insert.

INDEXMARK/i The index mark number to insert.

FORMAT/k The numbering format.

Options: DEFAULT Document/chapter default.
LONG One, Two, Three
ARABIC 1, 2, 3 (Default)
ROMANUPPER I, II, III
ROMANLOWER i, ii, iii
ALPHAUPPER A, B, C
ALPHALOWER a, b, c

LANGUAGE/k The language of the number variable.

Options: DEFAULT Document/chapter default.
AMERICAN American English.
ENGLISH International English.
FRANCAIS French.
DEUTSCH German.

PREFIX/s The page number prefix.

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name. Default=current.

Notes:

The variable parameters refer to the current document level. i.e., PAGECOUNT is the number of pages in the current chapter or subchapter. If the document is the current level, then it refers to the number of pages in the document.

Examples:

insertnumber page

insertnumber pagecount document 'project.doc'

 

InsertNumber  Command Definition  url:PGScmd/insertnumber
  created:2006-03-30 14:58:59   last updated:2006-03-30 14:58:59
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For InsertNumber
Dan Kilroy wrote...2006-05-04 16:56:05

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

InsertNumber ([PAGE | PREVPAGE | NEXTPAGE | FIRSTPAGE | LASTPAGE | PAGECOUNT | PAGESTART | PAGEEND | CHAPTER | CHAPTERCOUNT | CHAPTERSTART | CHAPTEREND | SUBCHAPTERCOUNT | SUBCHAPTERSTART | SUBCHAPTEREND | COLUMN | COLUMNCOUNT | PREVCOLUMN | NEXTCOLUMN | {SECTION | PARAGRAPH | LINE} | MARK marknumber | FIGURE figurenumber | INDEXMARK indexmarknumber | PGS40:INDEXTOPIC indextopicid | FIGURENUM figurenumber] [FORMAT <DEFAULT | LONG | ARABIC | ROMANUPPER | ROMANLOWER | ALPHAUPPER | ALPHALOWER>] [LANGUAGE <DEFAULT | language>] PGS40: [LEVEL <DEFAULT | CURRENT | FULL [DIVIDER divstring]>] [DOCUMENT document | WINDOW document~window])

Parameters:


Results:


Notes:


See Also:
Figures: DeleteFigureMark, DeleteFigureType, EditFigureType, GenerateTOF, GetFigureMark, InsertFigureMark, InsertName, InsertNumber, NewFigureType, SetTOF


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For InsertNumber