diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-06-10 13:22:49 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-06-10 13:22:49 +0000 |
commit | 686fb94a00297bf9ff49d93b948925552a2ce8e0 (patch) | |
tree | ac93d0208e7b8e356379604ded3d76c6b87b27b7 /contrib/groff/tmac/psfig.tmac | |
parent | a14eb6db996a2359efa77a4d4724e1e7098b6b6e (diff) | |
parent | 758dcc8cb3406ff0d470b70bf210e11b75f1463d (diff) | |
download | src-686fb94a00297bf9ff49d93b948925552a2ce8e0.tar.gz src-686fb94a00297bf9ff49d93b948925552a2ce8e0.zip |
Merge ^/head r319548 through r319778.
Notes
Notes:
svn path=/projects/clang500-import/; revision=319779
Diffstat (limited to 'contrib/groff/tmac/psfig.tmac')
-rw-r--r-- | contrib/groff/tmac/psfig.tmac | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/contrib/groff/tmac/psfig.tmac b/contrib/groff/tmac/psfig.tmac deleted file mode 100644 index f9668227d3b3..000000000000 --- a/contrib/groff/tmac/psfig.tmac +++ /dev/null @@ -1,89 +0,0 @@ -.\" psfig.tmac -.\" -.\" These are macros to make psfig work with groff. -.\" They require that psfig be patched as described in ../grops/psfig.diff. -.de psfig-defs -ps: mdef 100 - -% wid ht llx lly urx ury psfigstart - - -/psfigstart { - /level1 save def - /ury exch def - /urx exch def - /lly exch def - /llx exch def - /ht exch u def - /wid exch u def - currentpoint ht add translate - wid urx llx sub div ht ury lly sub div neg scale - llx neg lly neg translate - - % set the graphics state to default values - 0 setgray - 0 setlinecap - 1 setlinewidth - 0 setlinejoin - 10 setmiterlimit - [] 0 setdash - newpath - /showpage {} def -} bind def - -% psfigclip - - -/psfigclip { - currentpoint newpath - llx lly moveto - urx lly lineto - urx ury lineto - llx ury lineto - closepath clip - newpath moveto -} bind def - -% psfigend - - -/psfigend { - level1 restore -} bind def - -% globalstart - - -/globalstart { - % save the current space code on the stack - SC - level0 restore -} bind def - -% globalend - - -/globalend { - end - BP - /SC exch def - DEFS begin -} bind def -.. -.de psfig-init -.if \\n[.P] \{\ -\Y[psfig-defs] -. br -. sp -1 -. ds psfig-init\" empty -. rm psfig-defs -.\} -.. -.de F+ -.br -.psfig-init -.nr psfig-fill \\n[.u] -.nf -.sp -.5 -.if !\\n[.$] .ce 9999 -.. -.de F- -.br -.ce 0 -.if \\n[psfig-fill] .fi -.. |