Skip to content

Commit

Permalink
Merge pull request #101 from matijaskala/patch-1
Browse files Browse the repository at this point in the history
Display man pages as groff would
  • Loading branch information
n-t-roff committed Feb 1, 2021
2 parents a2d7350 + 81ee1a7 commit f52b5c4
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions troff/troff.d/tmac.d/an.in
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@
. if !(\\nS>0) .nr S 10
. ie (\\nS>10) .vs \\nSp+3p
. el .vs \\nSp+2p
. ie n .nr IN 7n
. ie n .if !r IN .nr IN 7n
. el .nr IN .5i
. ie n .nr LL 78n
. ie n .if !r LL .nr LL 78n
. el .nr LL \\n(.l
. ds ]H \\$1\|(\|\\$2\|)
. ds ]L \\$3
Expand Down Expand Up @@ -560,13 +560,6 @@
. \}
. el \{\
. nop \\*(]X\h|\\n()Iu+\\n()Ru\c
. if \\n(.X \{\
. do nop \k[}pos]
. do vpt 0
. sp -1
. do vpt 1
. do nop \h\\n[}pos]u\c
. \}
. \}
. }f
..
Expand Down

0 comments on commit f52b5c4

Please sign in to comment.