aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

4.176 - [glos] Built-In

Mnemonic aid: glos for GLObal Style

See also:  [ghost] ,  [gstyle] ,  [listg] ,  [locs] ,  [s] ,  [spage]  and  [style] 

Also, there is more information on styles beginning here.

This built-in invokes one or more global style(s.) sep= defaults to a comma, and is only meaningful when multiple contents are provided.  [glos styleName]  is functionally the same syntax as using  {styleName} , other than only fetching global styles. However there is one important difference beyond it being slightly more wordy and limited to global styles.

When using {}, the style names are fixed, they can't be defined by your code. But when using  [glos styleName] , the styleName portion is a parameter, so you can fill it in programatically if you like. This can provide a great deal of flexibility.

You can invoke multiple styles on multiple contents as shown in the syntax below, but the number of styles and the number of contents must match. You can't invoke multiple styles on no or a non-matching number of content(s.) See  [s for examples of multiple style use. The syntax is identical.


[glos (sep=X,)globalStyleName(,globalStyleNameN) (styleContent)(XstyleContentN)]

[gstyle boldenx <b>[b]</b>]
[glos boldenx foo]
[local mystyle boldenx]
[glos [v mystyle] pretty bold, eh?]

<b>foo</b>
<b>pretty bold, eh?</b>
foo pretty bold, eh?

Other built-ins used here:  [b] ,  [gstyle] ,  [local]  and  [v] 

Keyboard Navigation
, Previous Page . Next Page t TOC i Index

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7