summaryrefslogtreecommitdiff
path: root/doc/doc-src/markup.sg
blob: d2825b7f6549bdabf67e017613ee0f45c597cae6 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
. SGCAL markup that is used for the Exim manual, and also for
. the Filter document.

. Flags for both plain and fancy

.flag __ "@_$S0"

.flag \\   "$sc{" "}"
.flag ---- "@-@-@-@-"

. Markup       User for      PostScript/PDF   Text     Info            HTML
. ------------------------------------------------------------------------------
. \\...\\      SMTP, build    small caps     caps      caps         small caps
. \(...)\      file name         bold        plain    @file->`...'    italic
. \?...?\      URL               bold        plain      plain           URL
. \%...%\      driver name       bold      "quoted"   "quoted"        bold
. ::...::      header name       bold:     "quoted:"  "quoted:"       italic:
.  \...\       option            bold      "quoted"   "quoted"      fixed-pitch
. \$...$\      variable         $bold       $plain     $plain      $fixed-pitch
. \-...-\      cmd option       -bold       -plain     -plain        -italic
. <<...>>      data type       <italic>     <plain>    <plain>       <italic>
. \*...*\      defn, emph,      italic     "quoted"   @dfn->"..."     italic
.              domain, user
. \"..."\      literal       fixed-pitch   "quoted"   @file->`...'  fixed-pitch
. \**...**\    warn, item        bold        plain      plain         bold

.if ~~sys.fancy
.flag \     "$bf{" "}"
.flag \"    "$tt{"
.flag "\    "}"
.flag \(    "$bf{"
.flag )\    "}"
.flag \?    "$bf{"
.flag ?\    "}"
.flag \$    "$bf{@$"
.flag $\    "}"
.flag \%    "$bf{"
.flag %\    "}
.flag ::    "$it{" ":}"
.flag \-    "$bf{-"
.flag -\    "}"
.flag <<    "<$it{"
.flag >>    "}>"
.flag \**   "$bf{"
.flag **\   "}"
.flag \*    "$it{"
.flag *\    "}"
.flag $*$   "$D2*$U2"
.flag $**$  "$rm{$=178}"
.
.else
.pagedepth ~~sys.pagedepth - 1ld
.linelength 78em
.emphasis 79em
.footdepth 0
.disable formfeed
.backspace none
.set chapspaceb 24
.set sspacea 24
.flag \     """"
.flag \"    """"
.flag "\    """"
.flag \(    ""
.flag )\    ""
.flag \?    ""
.flag ?\    ""
.flag \$    "@$"
.flag $\    ""
.flag \%    ""
.flag %\    ""
.flag ::    "" ":"
.flag \-    "@-"
.flag -\    ""
.flag <<    "<"
.flag >>    ">"
.flag \**   ""
.flag **\   ""
.flag \*    """"
.flag *\    """"
.flag $*$   "*"
.flag $**$  "*"
.flag --$<  "-"
.fi