__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
.\" Define the PSPIC macro.
.\"
.\" When used with output devices other than ps, dvi, html, or xhtml,
.\" draw a box where the picture would go.
.\"
.\" Usage:
.\"
.\" .PSPIC [-L|-R|-C|-I <indentation>] <file> [<width> [<height>]]
.
.do if d PSPIC .nx
.
.do nr *groff_pspic_tmac_C \n[.cp]
.cp 0
.
.\" This is called if the `psbb` request returned a bounding box of all
.\" zeroes. It already issues a diagnostic; one can append `ab` to this
.\" macro if that should be a fatal error, or redefine it for some other
.\" purpose.
.de pspic*error-hook
..
.
.de PSPIC
. nr ps-offset-mode 0
. \" left-aligned?
. ie '\\$1'-L' \{\
. nr ps-offset-mode 1
. shift
. HTML-DO-IMAGE \\$1 l
. \}
. el \{\
. \" right-aligned?
. ie '\\$1'-R' \{\
. nr ps-offset-mode 2
. shift
. HTML-DO-IMAGE \\$1 r
. \}
. el \{\
. \" indented?
. ie '\\$1'-I' \{\
. nr ps-offset-mode 3
. nr ps-offset (m;\\$2)
. shift 2
. HTML-DO-IMAGE \\$1 i
. \}
. el \{\
. \" centered is the default
. if '\\$1'-C' \
. shift
. HTML-DO-IMAGE \\$1 c
. \}
. \}
. \}
.
. br
.
. \" get bounding box
. psbb \\$1
. ie (\\n[llx] : \\n[lly] : \\n[urx] : \\n[ury]) \{\
. nr ps-wid (\\n[urx] - \\n[llx])
. nr ps-ht (\\n[ury] - \\n[lly])
. if (\\n[ps-wid] < 0) \
. nr ps-wid (-\\n[ps-wid])
. if (\\n[ps-ht] < 0) \
. nr ps-ht (-\\n[ps-ht])
.
. \" if we have a <width> parameter, use it as the final
. \" image width; otherwise we use the image's natural width
. \" or the current line length, whatever is smaller
. ie (\\n[.$] >= 2) \
. nr ps-deswid (i;\\$2)
. el \
. nr ps-deswid ((\\n[.l] - \\n[.i]) <? \\n[ps-wid]p)
.
. \" compute the final image height (with proper rounding),
. \" based on the image's aspect
. nr ps-desht (\\n[ps-deswid] * 1000 + (\\n[ps-wid] / 2) \
/ \\n[ps-wid] * \\n[ps-ht] \
+ 500 / 1000)
.
. \" if we have a <height> parameter, use it as the final
. \" image height in case it is smaller than the height
. \" value we have just computed
. if ((\\n[.$] >= 3) & (\\n[ps-desht] > (i;0\\$3))) \{\
. nr ps-desht (i;\\$3)
. \" recompute the final image width since we always
. \" keep the correct image aspect
. nr ps-deswid (\\n[ps-desht] * 1000 + (\\n[ps-ht] / 2) \
/ \\n[ps-ht] * \\n[ps-wid] \
+ 500 / 1000)
. \}
.
. \" reserve vertical space for image
. ne (\\n[ps-desht]u + 1v)
.
. \" compute image offset w.r.t. the current left margin
. if (\\n[ps-offset-mode] == 0) \
. nr ps-offset (\\n[.l] - \\n[.i] - \\n[ps-deswid] / 2)
. if (\\n[ps-offset-mode] == 1) \
. nr ps-offset 0
. if (\\n[ps-offset-mode] == 2) \
. nr ps-offset (\\n[.l] - \\n[.i] - \\n[ps-deswid])
.
. ie '\*[.T]'dvi' \{\
. \" prepare values for \special{psfile=...} as needed by dvips
. ie (\\n[ps-wid]p == \\n[ps-deswid]) \{\
. ds ps-scale \" empty
. ds ps-hoffset hoffset=-\\n[llx]
. ds ps-voffset voffset=-\\n[lly]
. \}
. el \{\
. nr ps-scale (\\n[ps-deswid] * 100 / \\n[ps-wid]p)
. nr ps-hoffset (-\\n[llx] * \\n[ps-scale] / 100)
. nr ps-voffset (-\\n[lly] * \\n[ps-scale] / 100)
. ds ps-scale hscale=\\n[ps-scale] vscale=\\n[ps-scale]
. ds ps-hoffset hoffset=\\n[ps-hoffset]
. ds ps-voffset voffset=\\n[ps-voffset]
. \}
.
\h'\\n[ps-offset]u'\
\v'\\n[ps-desht]u'\
\X'psfile=\\$1 \\*[ps-hoffset] \\*[ps-voffset] \\*[ps-scale]'
. \}
. el \{\
. ie '\*[.T]'ps' \{\
. \" prepare values for grops; the 'ps-invis' and 'ps-endinvis'
. \" escapes are for groff's -X switch to provide a PS preview
. \" with xditview: it uses -Tps for formatting but xditview
. \" can't handle EPS files, thus alternative code is enclosed
. \" between those two escapes
. ds ps-invis \X'ps: invis'
. ds ps-endinvis \X'ps: endinvis'
. ds ps-import \X'ps: import \E$1 \En[llx] \En[lly] \En[urx] \En[ury] \
\En[ps-deswid] \E*[ps-desht]'
. \}
. el \{\
. ds ps-invis
. ds ps-endinvis
. ds ps-import
. \}
.
. ie (\\n[.$] >= 3) \
. ds ps-desht \\n[ps-desht]
. el \
. ds ps-desht \" empty
.
\h'\\n[ps-offset]u'\
\\*[ps-invis]\
\# horizontally, the rectangle is slightly smaller than the image
\# to compensate the line thickness (especially needed for TTY devices)
\Z'\D'p 0 \\n[ps-desht]u \
(\\n[ps-deswid]u - \\n[.H]u) 0 \
0 -\\n[ps-desht]u''\
\# for convenience we also display the image file name (centered
\# vertically);
\Z'\v'((\\n[ps-desht]u / 2u) \
+ (\w'\\$1'u * 0) \
+ ((\\n[rst]u + \\n[rsb]u) / 2u))'\h'1m'\\$1'\
\\*[ps-endinvis]\
\v'\\n[ps-desht]u'\
\\*[ps-import]
. \}
.
. br
. sp \\n[ps-desht]u
. \}
. el \
. pspic*error-hook \\$@
. HTML-IMAGE-END
..
.
.cp \n[*groff_pspic_tmac_C]
.do rr *groff_pspic_tmac_C
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set expandtab filetype=groff tabstop=2 textwidth=72:
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| mdoc | Folder | 0755 |
|
|
| an-ext.tmac | File | 3.53 KB | 0644 |
|
| an.tmac | File | 44.36 KB | 0644 |
|
| andoc.tmac | File | 2.97 KB | 0644 |
|
| composite.tmac | File | 637 B | 0644 |
|
| cp1047.tmac | File | 2.33 KB | 0644 |
|
| cs.tmac | File | 5.64 KB | 0644 |
|
| de.tmac | File | 5.95 KB | 0644 |
|
| den.tmac | File | 1.04 KB | 0644 |
|
| devtag.tmac | File | 3.55 KB | 0644 |
|
| doc-old.tmac | File | 35.55 KB | 0644 |
|
| doc.tmac | File | 151.61 KB | 0644 |
|
| en.tmac | File | 1.91 KB | 0644 |
|
| eqnrc | File | 1.4 KB | 0644 |
|
| europs.tmac | File | 1.75 KB | 0644 |
|
| fallbacks.tmac | File | 6.32 KB | 0644 |
|
| fr.tmac | File | 6.04 KB | 0644 |
|
| hyphen.cs | File | 20.77 KB | 0644 |
|
| hyphen.den | File | 156.16 KB | 0644 |
|
| hyphen.det | File | 156.98 KB | 0644 |
|
| hyphen.en | File | 33.33 KB | 0644 |
|
| hyphen.fr | File | 27.39 KB | 0644 |
|
| hyphen.it | File | 4.89 KB | 0644 |
|
| hyphen.sv | File | 33.86 KB | 0644 |
|
| hyphenex.cs | File | 339 B | 0644 |
|
| hyphenex.en | File | 1.95 KB | 0644 |
|
| it.tmac | File | 5.67 KB | 0644 |
|
| ja.tmac | File | 1.91 KB | 0644 |
|
| latin1.tmac | File | 2.4 KB | 0644 |
|
| latin2.tmac | File | 5 KB | 0644 |
|
| latin5.tmac | File | 2.9 KB | 0644 |
|
| latin9.tmac | File | 2.96 KB | 0644 |
|
| man.tmac | File | 55 B | 0644 |
|
| mandoc.tmac | File | 61 B | 0644 |
|
| mdoc.tmac | File | 57 B | 0644 |
|
| papersize.tmac | File | 4.15 KB | 0644 |
|
| pdfpic.tmac | File | 8.32 KB | 0644 |
|
| pic.tmac | File | 255 B | 0644 |
|
| ps.tmac | File | 20.18 KB | 0644 |
|
| psatk.tmac | File | 1.28 KB | 0644 |
|
| psold.tmac | File | 1.96 KB | 0644 |
|
| pspic.tmac | File | 5.07 KB | 0644 |
|
| rfc1345.tmac | File | 93.04 KB | 0644 |
|
| sv.tmac | File | 5.21 KB | 0644 |
|
| trans.tmac | File | 5.07 KB | 0644 |
|
| troffrc | File | 1.51 KB | 0644 |
|
| troffrc-end | File | 1.39 KB | 0644 |
|
| tty-char.tmac | File | 5.77 KB | 0644 |
|
| tty.tmac | File | 1.7 KB | 0644 |
|
| www.tmac | File | 40.06 KB | 0644 |
|
| zh.tmac | File | 1.71 KB | 0644 |
|