ISExample2
{ DOCUMENT¤ { POUR$ POUR.LabelSet={LineText TitleText}
FONT.Points=12 FONT.Italic=0 FONT.Boldness=1
-- This is a test of an imbedded comment. --
PageTemplateWithTitle={
{ BOX$ PAGE$ BOX.X=0 BOX.Y=0 BOX.W=85*254 BOX.H=110*254
{ BOX$ BOX.X=29*254 BOX.W=50*254 BOX.Y=23000 BOX.H=800
{ LABELS.Labels=TitleText
CHARS$ MOLD$ LABELS¤ FONT¤ FONT.Points=18 FONT.Boldness=2} }
{ BOX$ BOX.X=400 BOX.W=10000 BOX.Y=200 BOX.H=600
{ CHARS$ FONT¤ FONT.Points=8
<Interscript Example Pours .. Bob Ayers .. June 1984>} }
{ BOX$ BOX.X=10*254 BOX.W=65*254 BOX.Y=6*600 BOX.H=27*600
{ TEMPLATE$
{BOX$ MOLD$ LABELS¤ LABELS.Labels=LineText BOX.X=0 BOX.Y=0 BOX.W=0 BOX.H=600 } } } }
{ BOX$ PAGE$ BOX.X=0 BOX.Y=0 BOX.W=85*254 BOX.H=110*254
{ BOX$ BOX.X=10*254 BOX.W=65*254 BOX.Y=6*600 BOX.H=35*600
{ TEMPLATE$
{BOX$ MOLD$ LABELS¤ LABELS.Labels=LineText BOX.X=0 BOX.Y=0 BOX.W=0 BOX.H=600 } } } }
BOX.X=0 BOX.Y=0 BOX.W=85*254 BOX.H=110*254 }
LocalIlluminatedPara={ LABELS.Labels=LineText
{ BOX$ LABELS$ BOX.X=0 BOX.Y=0 BOX.W=65*254 BOX.H=1270
{ BOX$ BOX.X=60 BOX.W=900 BOX.Y=180 BOX.H=2*32 INKED$ }
{ BOX$ BOX.X=60 BOX.W=900 BOX.Y=1016 BOX.H=2*32 INKED$ }
{ BOX$ BOX.X=60 BOX.W=2*32 BOX.Y=180 BOX.H=900 INKED$ }
{ BOX$ BOX.X=896 BOX.W=2*32 BOX.Y=180 BOX.H=900 INKED$ }
{ BOX$ BOX.X=250 BOX.Y=190 BOX.W=600 BOX.H=600
{CHAR$ MOLD$ LABELS¤ LABELS.Labels=BodyText } }
{ BOX$ BOX.X=1100 BOX.Y=600 BOX.W=16510-1100 BOX.H=600
{CHARS$ MOLD$ LABELS¤ LABELS.Labels=BodyText } }
{ BOX$ BOX.X=1100 BOX.Y=0 BOX.W=16510-1100 BOX.H=600
{CHARS$ MOLD$ LABELS¤ LABELS.Labels=BodyText } } }
{TEMPLATE$
{ BOX$ LABELS$ BOX.X=0 BOX.Y=0 BOX.W=65*254 BOX.H=600
{CHARS$ MOLD$ LABELS¤ LABELS.Labels=BodyText } } }
{ BOX$ LABELS$ BOX.X=0 BOX.Y=0 BOX.W=30*254 BOX.H=600 }
}
POUR.Template=PageTemplateWithTitle!
LABELS.Labels=TitleText {CHARS$ FONT¤ FONT.Points=18 FONT.Boldness=2 LABELS$ <Illuminated Paragraphs>}
{ POUR$ POUR.LabelSet={BodyText} POUR.Template=LocalIlluminatedPara!
LABELS.Labels=BodyText {CHARS$ LABELS$ FONT¤ <This is a sample document containing paragraphs which have an 'illuminated' initial letter. As with many of our other examples, this effect is achieved with fancy paragraph formatting via a 'pour' node and ordinary page formatting. The text is completely normal. The special characteristics of the initial letters are added during the 'pour' operation.>} }
{ POUR$ POUR.LabelSet={BodyText} POUR.Template=LocalIlluminatedPara!
LABELS.Labels=BodyText {CHARS$ LABELS$ FONT¤ <An 'illuminated' letter could come out of a fancy font, but in this example they are built from an ordinary letter plus four printer-rules.>} }
{ POUR$ POUR.LabelSet={BodyText} POUR.Template=LocalIlluminatedPara!
LABELS.Labels=BodyText {CHARS$ LABELS$ FONT¤ <How is it that the page formatting can avoid containing any arrangement to deal with the peculiar paragraphs? Recall the Interscript concept of the two-stage 'pour.' A paragraph node can 'pour' characters into lines, and then a page node can 'pour' lines into columns. The special paragraph template used in this example creates ordinary 'lines' for the page: the first 'line' that it creates is tall, >} {CHARS$ LABELS$ CHAR.Font=1202 <and contains both the illuminated letter and the first two lines of ordinary text.>} {CHARS$ LABELS$ < And then this tall 'line' is formatted onto the page along with the other, ordinary, lines.>} }
} } } } }
}