bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #62044] [mandoc] combined with 'pdf' device can throw off line adju


From: G. Branden Robinson
Subject: [bug #62044] [mandoc] combined with 'pdf' device can throw off line adjustment
Date: Sun, 13 Feb 2022 01:48:03 -0500 (EST)

Follow-up Comment #1, bug #62044 (project groff):

Hmm, rather than grinding through the intermediate output, how about I listen
to Dave Kemper, who's been singing the praises of "groff -a" for years?


$ tg -a -t -ww -b -Tpdf -man ./build/tmac/groff_man.7 | sed -n
'/^Authors/,/See also/p' > angle2.man.a
$ tg -a -t -ww -b -Tpdf -mandoc ./build/tmac/groff_man.7 | sed -n
'/^Authors/,/See also/p' > angle2.mandoc.a
$ diff -u angle2.man{,doc}.a
--- angle2.man.a        2022-02-13 17:45:55.869935812 +1100
+++ angle2.mandoc.a     2022-02-13 17:46:01.529948897 +1100
@@ -1,19 +1,19 @@
 Authors 
- M. Douglas McIlroy <la>m.douglas.mcilroy@dartmouth.edu<ra> designed,
implemented, and documented the
+ M. Douglas McIlroy <la>m.douglas.mcilroy@dartmouth.edu<ra>  designed,
implemented, and documented the
  AT&T man macros, employing them to edit the first volume of the Seventh
Edition Unix manual, a compi<hy>
  lation of all man pages supplied by the system.
  The GNU version of the man macro package was written by James Clark; he
added the C, D, P, and X
 groff 1.23.0.rc1.1956-2cd0 12 February 2022 9
 <beginning of page>
 groff_man(7) Miscellaneous Information Manual groff_man(7)
- registers. Werner Lemberg <la>wl@gnu.org<ra> supplied the S and cR
registers, and exposed the LL register (in<hy>
- ternal to Seventh Edition Unix man) to the user interface. Larry Kollar
<la>kollar@alltel.net<ra> added the FT,
+ registers. Werner Lemberg <la>wl@gnu.org<ra>  supplied the S and cR
registers, and exposed the LL register (in<hy>
+ ternal to Seventh Edition Unix man) to the user interface. Larry Kollar
<la>kollar@alltel.net<ra>  added the FT,
  HY, and SN registers; the HF string; the PT and BT macros; and exposed the
IN register (internal to Sev<hy>
- enth Edition Unix man) to the user interface. G. Branden Robinson
<la>g.branden.robinson@gmail.com<ra> im<hy>
+ enth Edition Unix man) to the user interface. G. Branden Robinson
<la>g.branden.robinson@gmail.com<ra>  im<hy>
  plemented the AD and MF strings; BD, CS, CT, and U registers; and the MR
macro. The extension
- macros were written by Lemberg, Eric S. Raymond <la>esr@thyrsus.com<ra>, and
Robinson.
+ macros were written by Lemberg, Eric S. Raymond <la>esr@thyrsus.com<ra>, 
and Robinson.
  This document was originally written for the Debian GNU/Linux system by
Susan G. Kleinmann <la>sgk@
- debian.org<ra>. It was corrected and updated by Lemberg and Robinson. The
extension macros were docu<hy>
+ debian.org<ra>.  It was corrected and updated by Lemberg and Robinson. The
extension macros were docu<hy>
  mented by Raymond and Robinson.
 x X ps:exec [/Dest /pdf:bm21 /View [/FitH -184600 u] /DEST pdfmark
 x X ps:exec [/Dest /pdf:bm21 /Title (See also) /Level 2 /OUT pdfmark


This makes it clear that there is a *highly suspicious* additional horizontal
space node coming after the closing angle brackets.

But only if we indirect formatting through andoc.tmac.  WTF?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62044>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]