[Heirloom] No courier font (.CW) in -ms

2020-10-13 Thread Philip Bushee
I'm using Heirloom doctools on OpenBSD. I'm using the version on the ports system[1]. I'm trying to use the .CW macro to mark a text in typwriter font (courier). But it does not work. Using \f(CW works, however. Does .CW work at all on -ms with Heirloom doctools? [1]: https://openports.se/tex

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
While we are on this topic, anyone know where there is a copy of Writers Workbench Thanks - Damian Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037 Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here Views & opinions here are mine an

Re: Learning troff - where to start?

2020-10-13 Thread John Gardner
> > The UTP Revival Project recreated the source code because Tim and Sale > were unable to locate a copy of the original source. Does anybody know of a similar effort to recreate the source code of the last revision of CSTR #54? (November 1992). On Wed, 14 Oct 2020 at 13:20, Damian McGuckin w

Re: Learning troff - where to start?

2020-10-13 Thread John Gardner
> > I learned troff entirely from ctsr54. It is not for nothing that > it remains the canonical starting point for exploring groff. I strongly second this. Newcomers should at least be comfortable changing fonts, adjusting margins, and controlling paragraph filling/adjustment. Then they'll move

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
On Wed, 14 Oct 2020, Damian McGuckin wrote: Would O'Reilly release the source code of the book so it could be updated? The UTP Revival Project recreated the source code because Tim and Sale were unable to locate a copy of the original source. It is located at: http://home.windstream

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
On Tue, 13 Oct 2020, Peter Schaffter wrote: On Wed, Oct 14, 2020, Damian McGuckin wrote: How many people use features of 'groff' that are not in 'troff'? The mom macros rely heavily on extensions to groff that were implemented during Werner's term. Since many (most?) new groff users these d

Re: Learning troff - where to start?

2020-10-13 Thread Peter Schaffter
On Wed, Oct 14, 2020, Damian McGuckin wrote: > How many people use features of 'groff' that are not in 'troff'? The mom macros rely heavily on extensions to groff that were implemented during Werner's term. Since many (most?) new groff users these days gravitate towards mom, I'd say quite a lot o

Re: Learning troff - where to start?

2020-10-13 Thread Tadziu Hoffmann
> About the only thing I like about Tex better is it does > multiple passes so you can do forward references. > Troff makes that hard but it is doable. I don't think TeX actually does that by itself. *You* have to call TeX multiple times. Forward references work by writing the required informa

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
On Wed, 14 Oct 2020, Greg 'groggy' Lehey wrote: On Wednesday, 14 October 2020 at 11:12:26 +1100, Damian McGuckin wrote: On Wed, 14 Oct 2020, Greg 'groggy' Lehey wrote: I do, notably the PostScript display requests. If you mean the \X'ps: file ' OK. Point taken although older t

Re: Learning troff - where to start?

2020-10-13 Thread Larry McVoy
I'd like to second this sentiment. Learning troff itself is for people who want to write macro package[s]. If you just want to format stuff, you pick a macro package and learn that. Personally, I've tried -ms, then tried -me, I went back to -ms. -ms covers most of the bases and it is pretty simp

Re: Learning troff - where to start?

2020-10-13 Thread Raf Czlonka
On Wed, Oct 14, 2020 at 01:04:10AM BST, Federico Lucifredi via wrote: > Hi Johann, > If you confined yourself to writing man pages, you do not need to learn the > whole of Troff, and you can limit yourself to a more friendly subset — and > copying from the many examples found on a *nix system s

Re: Learning troff - where to start?

2020-10-13 Thread Greg 'groggy' Lehey
On Wednesday, 14 October 2020 at 11:12:26 +1100, Damian McGuckin wrote: > On Wed, 14 Oct 2020, Greg 'groggy' Lehey wrote: > >> I do, notably the PostScript display requests. > > If you mean the > > \X'ps: file ' > > OK. Point taken although older troff could handle that also from > memory

Re: Learning troff - where to start?

2020-10-13 Thread Larry McVoy
So one thing I use a lot is something I got James to add to pic, the `i'th last thing. Here is some actual pic source where I used that: for i = 1 to units by 1 do { line <-> dashed from `i'th [].C.s - (.10, 0) to \ last box.nw + (i/(units+1)*w, 0)

Re: Learning troff - where to start?

2020-10-13 Thread Federico Lucifredi via
Hi Johann, If you confined yourself to writing man pages, you do not need to learn the whole of Troff, and you can limit yourself to a more friendly subset — and copying from the many examples found on a *nix system surely helps ;-) For man page writing, I collected the available resources i

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
On Wed, 14 Oct 2020, Greg 'groggy' Lehey wrote: I do, notably the PostScript display requests. If you mean the \X'ps: file ' OK. Point taken although older troff could handle that also from memory. But it is so long ago, I cannot remember how. That was in the days when the Postsc

Re: Learning troff - where to start?

2020-10-13 Thread Greg 'groggy' Lehey
On Wednesday, 14 October 2020 at 10:36:45 +1100, Damian McGuckin wrote: > On Wed, 14 Oct 2020, Greg 'groggy' Lehey wrote: > >> An excellent book, and one that I have used a lot. But nobody can claim >> that it's up-to-date (it predates groff), and there are many features in >> groff that weren't i

Re: Learning troff - where to start?

2020-10-13 Thread Steffen Nurpmeso
Greg 'groggy' Lehey wrote in <20201013232627.gb24...@eureka.lemis.com>: |On Tuesday, 13 October 2020 at 22:49:03 +0200, J.-J. wrote: |> Le mardi 13 octobre 2020 à 14:41 +0200, Johann Höchtl a écrit : |>> * What would be a good starting point (tutorial) into troff and its |>> core principles?

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
On Wed, 14 Oct 2020, Greg 'groggy' Lehey wrote: An excellent book, and one that I have used a lot. But nobody can claim that it's up-to-date (it predates groff), and there are many features in groff that weren't in the troff version described. Isn't it sad that nothing more modern is availab

Re: Learning troff - where to start?

2020-10-13 Thread Greg 'groggy' Lehey
On Tuesday, 13 October 2020 at 22:49:03 +0200, J.-J. wrote: > Le mardi 13 octobre 2020 à 14:41 +0200, Johann Höchtl a écrit : >> * What would be a good starting point (tutorial) into troff and its >> core principles? >> >> * What is the canonical documentation of troff all the existing >> implement

Re: Learning troff - where to start?

2020-10-13 Thread J.-J.
Hi, Here is in my opinion the best book on the subject (and it's now FREE!) : https://www.oreilly.com/openbook/utp/ Le mardi 13 octobre 2020 à 14:41 +0200, Johann Höchtl a écrit : > Hi, > > I am just a casual dabbler who is somehow fascinated by text > processing > > > I am using neatroff -

Re: [bug #44289] [PATCH] nroff script -E option

2020-10-13 Thread Ingo Schwarze
Hi, following Dave's good work of identifying bugtracker tickets that contain patches, i started looking through those. Here is one that is very easy to fix, and i think nothing would be wrong with fixing it right away, before release. I see no risk doing so. I'm looking for an OK to commit. Y

Re: [bug #45034] [PATCH] mdoc(7): add support for the mdocmx(7) reference extension

2020-10-13 Thread Steffen Nurpmeso
Dave wrote in <20201013-025534.sv93119.11...@savannah.gnu.org>: |Update of bug #45034 (project groff): | | Summary: mdoc(7): add support for the mdocmx(7) reference |extension => [PATCH] mdoc(7): add support for the mdocmx(7) reference |extension Likewise, i am not

Re: [bug #43541] [PATCH] FILE* encapsulation via class; compression support for input files

2020-10-13 Thread Steffen Nurpmeso
Dave wrote in <20201013-025522.sv93119.18...@savannah.gnu.org>: |Update of bug #43541 (project groff): | | Summary: FILE* encapsulation via class; compression \ | support |for input files => [PATCH] FILE* encapsulation via class; compression \ |supp

Re: [bug #42233] [PATCH] wcwidth(3) used on UCS4/UTF-32 codepoints

2020-10-13 Thread Steffen Nurpmeso
Dave wrote in <20201013-025509.sv93119.83...@savannah.gnu.org>: |Update of bug #42233 (project groff): | | Summary: wcwidth(3) used on UCS4/UTF-32 codepoints \ | => [PATCH] |wcwidth(3) used on UCS4/UTF-32 codepoints My patch is based on old groff

Re: Learning troff - where to start?

2020-10-13 Thread Tadziu Hoffmann
> So my question is: > > * What would be a good starting point (tutorial) into troff > and its core principles? > > * What is the canonical documentation of troff all the > existing implementations seem to derive from and describe > their deltas in their respective documentation? The an

Learning troff - where to start?

2020-10-13 Thread Johann Höchtl
Hi, I am just a casual dabbler who is somehow fascinated by text processing I am using neatroff - It seems to be the most actively developed and has some nice modern features like paragraph-at-once formatting and utf8 support out of the box. Having said that, it seems that all troff implem

Re: [DRAFT] introduction to *roff concepts

2020-10-13 Thread John Gardner
> > proportionally-spaced font The correct term is "proportional font". The term "tabulation stop" seems overly pedantic Agreed. I'd shorten it to tab stop instead. On Tue, 13 Oct 2020 at 17:42, Dave Kemper wrote: > On 10/10/20, G. Branden Robinson

Re: Releasing groff 1.22.5?

2020-10-13 Thread Dave Kemper
On 10/13/20, Dave Kemper wrote: > In addition to the 42 that already have "patch" somewhere in the summary: > > http://savannah.gnu.org/bugs/index.php?go_report=Apply&group=groff&func=browse&report_id=101&status_id=1&resolution_id=0&summary=patch Well. If I'd just waited another few minutes, I w

Re: Releasing groff 1.22.5?

2020-10-13 Thread Dave Kemper
On 10/12/20, Ingo Schwarze wrote: > I think one of us who has sufficient privilege on Savannah should > grant the "Manager" role in the bugtracker to Dave. I will happily abuse whatever power is granted to me to help get our bug corpus into shape. Another inconsistency that bugs me is the variou

Re: Releasing groff 1.22.5?

2020-10-13 Thread Werner LEMBERG
> I think one of us who has sufficient privilege on Savannah should > grant the "Manager" role in the bugtracker to Dave. No problem. To do that, however, I need his account name on Savannah... Werner

Re: Releasing groff 1.22.5?

2020-10-13 Thread Dave Kemper
On 10/10/20, Dave Kemper wrote: > I think any open bugs that include a patch should have that patch > applied or rejected (either as WONTFIX or with reasons given why the > patch needs improvement). OK, this turns out to be a bigger job than I expected: there are 62 open bug reports in this categ