File: bas_empt

package info (click to toggle)
lout 3.25-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 9,252 kB
  • ctags: 3,152
  • sloc: ansic: 31,182; makefile: 254; awk: 83
file content (26 lines) | stat: -rw-r--r-- 880 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@Section
   @Title { The empty object }
   @Tag { empty }
@Begin
@PP
It is possible to produce examples in which an object is clearly
empty. @Index { empty object }
missing:
@ID @Code "{ @I   }"
The @Code "@I" symbol is supposed to italicize the following object,
but in this example there isn't one.  A more plausible example is
@ID @OneRow @Code {
"@PP"
"@PP"
}
There are supposed to be paragraph objects between paragraph symbols,
but here there aren't.
@PP
Wherever an object is clearly missing, Lout inserts an @I { empty object },
which is a rectangle of size zero by zero that prints as nothing.  Here
are two other ways to get an empty object:
@ID @Code "{}     \"\""
Braces always enclose an object, so Lout is obliged to insert an empty
object between them; the two double quotes make a word with no characters
in it, which is taken to be an empty object.
@End @Section