1 .\" A package for PostScript-specific requests (deprecated; use -mpost)
3 .\" Including EPS files
8 .\" pdfmark document information
10 .\" .ps.info title [author] [subject] [keywords]
14 . if !'\\$1'' .as ps._info " /Title (\\$1)
15 . if !'\\$2'' .as ps._info " /Author (\\$2)
16 . if !'\\$3'' .as ps._info " /Subject (\\$3)
17 . if !'\\$4'' .as ps._info " /Keywords (\\$4)
18 . dv ps \\*[ps._info] /Creator (Neatroff) /DOCINFO pdfmark
22 .\" .ps.mark title [page] [count]
25 . ds ps._mark "[ /Title (\\$1)
26 . nr ps._vpos \\n(.p-\\n(nl/1p
27 . ie !'\\$2'' .as ps._mark " /Page \\$2
28 . el .as ps._mark " /View [/XYZ null \\n[ps._vpos] null]
29 . if !'\\$3'' .as ps._mark " /Count \\$3
30 . dv ps \\*[ps._mark] /OUT pdfmark
32 .\" pdfmark named destintion
34 .\" .ps.name name [page]
37 . ds ps._mark "[ /Dest /\\$1
38 . nr ps._vpos \\n(.p-\\n(nl/1p
39 . ie !'\\$2'' .as ps._mark " /Page \\$2
40 . el .as ps._mark " /View [/XYZ null \\n[ps._vpos] null]
41 . dv ps \\*[ps._mark] /DEST pdfmark
43 .\" pdfmark link: The destination can be a URL, a page number,
44 .\" or an internal named reference (defined with .ps.name). For
45 .\" named references, the name of the reference should be
46 .\" prefixed with '#'.
48 .\" .ps.link destination width height
52 \X'link "\\$1" \\n[ps._linkh] -\\n[ps._linkv]'
54 .\" Inline URL: See the comments about the destination of .ps.link.
56 .\" \*[ps.url destination text]
58 \R'ps._linkh \\w'\\?'\\n(.$>1@\\$2@\\$1'''\
59 \R'ps._linkv \\n(.sp'\
60 \v'+\\n(.sp*2u/10u'\X'link "\\$1" \\n[ps._linkh] -\\n[ps._linkv]'\v'-\\n(.sp*2u/10u'\
61 \\?'\\n(.$>1@\\$2@\\$1'