Next: , Up: Your Variables   [Contents][Index]


4.9.1 Defining Variables

Configuration Setting: Variable: key value

Define the escape ‘#{key}’ to be a short cut for value. key must not have any character from ‘:(){}’.

As as example, here is a variable for psnup, which encloses all the option passing one would like. Delegations are then easier to write:

Variable: psnup psnup -#v -q #?j|-d|| #?r||-c| -w#w -h#h

It is strongly suggested to follow a ‘.’ (dot) separated hierarchy, starting with:

del

for variables that are related to delegations.

pro

for variables used in prologues (see Designing PostScript Prologues). Please, specify the name of the prologue (e.g., ‘pro.matrix.gray’).

ps

for variables related to PostScript matters, such as the page label (which is associated to ps.page_label), the header etc.

pl

for page label formats. See Your Page Labels, the option ‘--page-label’ in Input Options.

toc

for toc formats. See the option ‘--toc’ in Input Options.

user

for user related information. See Predefined Variables.

This naming convention has not fully stabilized. We apologize for the inconvenience this might cause to users.