InsertRevision Text Command

INSERTREVISION Text Commands

Inserts a revision number variable at the insertion point.

insertrevision [revision] [FORMAT format] [LANGUAGE name] [DOCUMENT name | WINDOW name]

revision/k The type of revision log.

Options: DOCUMENTREVISION (default) | CHAPTERREVISION | PAGEREVISION | ARTICLEREVISION.

FORMAT/s The numbering format. See below.

Default='j.n'.

LANGUAGE/k The language of the revision number variable.

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

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name. Default=current.

Notes:

The FORMAT string contains the order, length and separators for the date.

/ Separate with a slash.

- Separate with a hyphen.

, Separate with a comma.

Separate with a space.

\ One character following a backslash or text inside

double " " quotation marks will appear as is.

The capitalization of the format string determines the capitalization of the number, if applicable.

j Major revision, no leading zero. 1, 2... 10
jj Major revision, leading zero. 01, 02... 10
jjj Major revision, long format. one, two... ten
n Minor revision, no leading zero. 1, 2... 10
nn Minor revision, leading zero. 01, 02... 10
nnn Minor revision, long format. one, two... ten

Format Examples:
j.n 6.2
j/nn 6/02
jj.nn 06.02
jjj-nnn six-two
Jjj."Oh" Six.Oh
JJJ,n SIX,2

Examples:

insertrevision format 'j.nn'

insertrevision chapterrevision format 'JJJ.nn'

 

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

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

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

Gets the {...} .

InsertRevision ([FORMAT format] [DOCUMENTREVISION | CHAPTERREVISION | PAGEREVISION | ARTICLEREVISION] [LANGUAGE <DEFAULT | language>] [DOCUMENT document | WINDOW document~window])

Parameters:


Results:


Notes:


See Also:
DeleteRevision, GetRevision, GetRevisions, LogRevision, SetRevision, and SetRevisionTracking


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For InsertRevision