The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Clem Cole <clemc@ccc.com>
To: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: "Jacobson, Doug W [E CPE]" <dougj@iastate.edu>,
	"tuhs@tuhs.org" <tuhs@tuhs.org>,
	groff@gnu.org
Subject: [TUHS] Re: Old troff files (1988-2007)
Date: Sat, 5 Oct 2024 09:14:27 -0400	[thread overview]
Message-ID: <CAC20D2N1DzbayREBTMtuJ0_ynGgZWp01NiuBBzsEmQLx-w5Sbw@mail.gmail.com> (raw)
In-Reply-To: <20241005001433.7hukoga5bbbb3ygl@illithid>

[-- Attachment #1: Type: text/plain, Size: 3313 bytes --]

Branden. Thank you.     FWIW I have generally found heirloom to be good
enough for rendering most old troff on modern systems such that I can
reasonably read the text.  But I suspect your detail is useful to know in
some cases.  As they say YMMR.  That said I often use the groff tools kits
since it’s what comes with things like brew on my Mac but it burps on
certain macros, particularly when I want to render old man pages or doc
files from old Unix versions  with things like .UX macro (which is a PITA).

Thanks again,
Clem

Sent from a handheld expect more typos than usual


On Fri, Oct 4, 2024 at 8:14 PM G. Branden Robinson <
g.branden.robinson@gmail.com> wrote:

> Hi Doug,
>
> At 2024-10-04T21:42:50+0000, Jacobson, Doug W [E CPE] via TUHS wrote:
> > Folks:
> >
> > Long story short, I have a unpublished manuscript that a faculty
> > member in my department wrote late 1980's early 2000's.  He did the
> > entire thing in troff, eqn, and pic.  The faculty member is still
> > alive.  A publisher is interested in the manuscript.  I have all of
> > the source files on an old unix machine that still has troff, eqn and
> > pic.  It also has groff.  This issue is that the pic commands are
> > bracketed by .G1 and .G2 not .PS & .PE.
>
> As others noted, those are the characteristic preprocessor tokens used
> by grap(1).
>
> groff(1) says:
>      A free implementation of the grap preprocessor, written by Ted
>      Faber ⟨faber@lunabase.org⟩, can be found at the grap website
>      ⟨http://www.lunabase.org/~faber/Vault/software/grap/⟩.  groff
>      supports only this grap.
>
> Distributors often have a package of Faber's grap.  I'm not aware of any
> other in circulation.  (Happy to be corrected here.)
>
> Please contact the groff list, groff at gnu dot org, if you have any
> problems using it to format these documents and/or to note formatting
> discrepancies between Unix troff and groff.  There will likely be some.
>
> I've noted differences between DWB troff and Heirloom troff, so using
> the latter does not guarantee identical rendering, and moreover
> DWB/System V troff has some bugs/limitations that Heirloom and/or GNU
> troffs have fixed, and some of these can affect formatting.
>
> Here's a list from groff's tbl(1) man page, for example.
>
>    GNU tbl enhancements
>      In addition to extensions noted above, GNU tbl removes constraints
>      endured by users of AT&T tbl.
>
>      •  Region options can be specified in any lettercase.
>
>      •  There is no limit on the number of columns in a table,
>         regardless of their classification, nor any limit on the number
>         of text blocks.
>
>      •  All table rows are considered when deciding column widths, not
>         just those occurring in the first 200 input lines of a region.
>         Similarly, table continuation (.T&) tokens are recognized
>         outside a region’s first 200 input lines.
>
>      •  Numeric and alphabetic entries may appear in the same column.
>
>      •  Numeric and alphabetic entries may span horizontally.
>
> One can imagine how a 200+-row table could format differently between
> DWB/System V and GNU tbl, without either being "wrong".
>
> Regards,
> Branden
>

[-- Attachment #2: Type: text/html, Size: 4228 bytes --]

  parent reply	other threads:[~2024-10-05 13:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-04 21:42 [TUHS] " Jacobson, Doug W [E CPE] via TUHS
2024-10-04 21:50 ` [TUHS] " Lyndon Nerenberg (VE7TFX/VE6BBM)
2024-10-04 21:52   ` Jacobson, Doug W [E CPE] via TUHS
2024-10-04 22:10     ` Bakul Shah via TUHS
2024-10-04 23:01     ` Clem Cole
2024-10-04 23:16       ` Clem Cole
2024-10-05  0:14 ` G. Branden Robinson
2024-10-05  4:09   ` Peter Yardley
2024-10-05 13:14   ` Clem Cole [this message]
2024-10-05 22:22     ` G. Branden Robinson
     [not found]       ` <CAC20D2NgmzDxhQu5P5hjrZ3ciSv=KayiUg8GwsFRpu0wPasprw@mail.gmail.com>
2024-10-06  5:53         ` [TUHS] Why groff ms doesn't completely support historical documents G. Branden Robinson
2024-10-06 12:54       ` [TUHS] Re: Old troff files (1988-2007) Jaap Akkerhuis
2024-10-06 15:11         ` G. Branden Robinson
2024-10-06 16:21           ` Ron Natalie
2024-10-09 21:02             ` Ron Natalie
2024-10-07 14:50       ` Leah Neukirchen
2024-10-08  6:45         ` G. Branden Robinson
2024-10-08 10:33           ` Jacobson, Doug W [E CPE] via TUHS
2024-10-08 10:49             ` G. Branden Robinson
2024-10-08 11:24               ` Jacobson, Doug W [E CPE] via TUHS
2024-10-16 21:40 ` Anton Shepelev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAC20D2N1DzbayREBTMtuJ0_ynGgZWp01NiuBBzsEmQLx-w5Sbw@mail.gmail.com \
    --to=clemc@ccc.com \
    --cc=dougj@iastate.edu \
    --cc=g.branden.robinson@gmail.com \
    --cc=groff@gnu.org \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).