aboutsummaryrefslogtreecommitdiff
path: root/tmac/tmac.post
blob: 5471f000102cc470bfbc39dcc1a61340db4af4e1 (plain) (blame)
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
.\" Wrappers Around Neatroff Device Control Functions (\X'...')
.\"
.\" .post.info Keyword Value
.de post.info
.	dv info \\$1 \\$2
..
.\" .post.title "Document Title"
.de post.title
.	post.info Title "\\$1"
..
.\" .post.author "Document Author"
.de post.author
.	post.info Author "\\$1"
..
.\" .post.mark description level
.de post.mark
.	br
.	dv mark "\\$1" \\n(.% \\n(nl \\$2
..
.\" .post.name name
.de post.name
.	br
.	dv name \\$1 \\n(.% \\n(nl
..
.\" Links: The destination can be a URL, a page number, or an internal
.\" named reference (defined with .post.name).  For named references,
.\" the name of the reference should be prefixed with '#'.
.\"
.\" \*[post.url destination text]
.de post.url
\R'ps._linkh \\w'\\?'\\n(.$>1@\\$2@\\$1'''\
\R'ps._linkv \\n(.sp'\
\v'+\\n(.sp*2u/10u'\X'link "\\$1" \\n[ps._linkh] -\\n[ps._linkv]'\v'-\\n(.sp*2u/10u'\
\\?'\\n(.$>1@\\$2@\\$1'
..
.chop post.url
.\" EPS and PDF
.so \n(.D/tmac.eps