Arbitrary Fractions - this time as strings

2021-07-15 Thread T. Kurt Bond
Returning to arbitrary fractions , I'm trying to make it work as a string invocation. (Is that the right terminology?) Anyway, I'm trying this: .po 1i .ll 6.5i .sp 1i .ps 16 .vs 18 .de fracinline \\R'n0 \\n[.s]'\# \\R'n1

Re: Would it be reasonable to list the fonts that are available by default in groff?

2021-07-15 Thread T. Kurt Bond
So, on my Fedora 33 box at home, with both of the packages groff-base (the default install, just for man pages, I think?) and groff (the rest of groff) installed, /usr/share/groff does not contain a site-font. On Thu, Jul 15, 2021 at 8:15 PM T. Kurt Bond wrote: > On Thu, 15 Jul 2021 16:58:41

Re: Question about ?roff on Reddit

2021-07-15 Thread T. Kurt Bond
Oh, I missed a couple of other videos. On Thu, Jul 15, 2021 at 10:09 PM T. Kurt Bond wrote: > If I remember correctly, at least one of the posters on the Groff Reddit > also posts videos on youtube about

Macros for printing envelopes?

2021-07-15 Thread Nate Bargmann
Hi all. Reading through a few of the threads on Reddit what others are using groff for got me to thinking that I have a use case that has to be better than what I've been doing. One practice I have adopted recently is to print the address and return address directly to an envelope as I will

Re: Question about ?roff on Reddit

2021-07-15 Thread T. Kurt Bond
If I remember correctly, at least one of the posters on the Groff Reddit also posts videos on youtube about groff, which seems like a popular way for the youngsters to get their information. Oh, here's one , by Gavin Freeborn, who's got a playlist

Re: Question about ?roff on Reddit

2021-07-15 Thread Nate Bargmann
I learned there is a Groff Reddit as well: https://www.reddit.com/r/groff/ It seems to have quite a bit of activity which is fantastic. - Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Web: https://www.n0nb.us Projects:

Re: Question about ?roff on Reddit

2021-07-15 Thread Nate Bargmann
* On 2021 15 Jul 12:44 -0500, G. Branden Robinson wrote: > At 2021-07-15T18:09:37+0200, Wim Stockman wrote: > > Hi Peter, it is already a big bunch of comments. Branden replied with > > a cool word count example in groff. > > > > :-) > > Much as I love high fives, I can't claim credit for that

Re: Would it be reasonable to list the fonts that are available by default in groff?

2021-07-15 Thread Dave Kemper
On 7/15/21, G. Branden Robinson wrote: > What I think we need is to absorb Peter's font installer into groff, > give it a man page, make sure it works for a preponderance of expected > scenarios, and so forth. I'd do it, but I haven't had the spoons. And you already have a huge number of spoons

Re: Would it be reasonable to list the fonts that are available by default in groff?

2021-07-15 Thread T . Kurt Bond
On Thu, 15 Jul 2021 19:16:50 -0400, Douglas McIlroy wrote: > I'm generally an intrepid groff user, but not when it comes to font > installation. Anything that demystifies the process will win my applause. > > Doug Despite the vagaries of directory locations, once you understand what

Re: Would it be reasonable to list the fonts that are available by default in groff?

2021-07-15 Thread T . Kurt Bond
On Thu, 15 Jul 2021 16:58:41 -0400, Wim Stockman wrote: > Using the site-font directory so you don't need root access. So, whether or not the site-font directory is owned by root, or even exists, is inconsistent. (This also makes it difficult to find automatically for scripts.) For instance,

Re: Would it be reasonable to list the fonts that are available by default in groff?

2021-07-15 Thread Douglas McIlroy
> We could basically write a macro that installs on the fly a system > available font for groff. Using the possibility to run an external script > from within groff I m sure it is possible to install the font on the fly. > Running Peter font-install script. Using the site-font directory so you >

[bug #60913] suboptimal diagnostics and spurious output when (mis)using .evc

2021-07-15 Thread G. Branden Robinson
Update of bug #60913 (project groff): Status: In Progress => Fixed Open/Closed:Open => Closed Planned Release:None => 1.23.0

Re: Would it be reasonable to list the fonts that are available by default in groff?

2021-07-15 Thread G. Branden Robinson
At 2021-07-15T22:58:41+0200, Wim Stockman wrote: > Actually I don't think that is necessary. We could basically write a > macro that installs on the fly a system available font for groff. > Using the possibility to run an external script from within groff I m > sure it is possible to install the

Re: Question about ?roff on Reddit

2021-07-15 Thread G. Branden Robinson
At 2021-07-15T22:17:31+0200, Wim Stockman wrote: > Oeps, my mistake! > Hope John you take my apologies . > But still I also saw the .cw request but I couldn't find it in the > manual What does it do ? That's a great question. I confused it with .cs, which is the one I haven't seen used in

Re: groff-examples repository

2021-07-15 Thread Wim Stockman
Hi Thomas, I have my gopher and Gemini server up and running almost for a year now. So I can mirror the groff section on my gopher and Gemini capsule. The url of my Gemini and gopher are yasendfile.org. I also have no problem to dedicate some time to this little projects. I don't know if you

Re: Would it be reasonable to list the fonts that are available by default in groff?

2021-07-15 Thread Wim Stockman
Actually I don't think that is necessary. We could basically write a macro that installs on the fly a system available font for groff. Using the possibility to run an external script from within groff I m sure it is possible to install the font on the fly. Running Peter font-install script. Using

Re: groff-examples repository

2021-07-15 Thread Thomas Dupond
Hans Bezemer wrote: > One of the advantages is that users can submit their own > snippets. Wim Stockman wrote: > Maybe create some managed wikipage > So the community can contribute to it. As much as I enjoy the kind words around this project, I would like to say that my trade is not related

Re: Question about ?roff on Reddit

2021-07-15 Thread Wim Stockman
Oeps, my mistake! Hope John you take my apologies . But still I also saw the .cw request but I couldn't find it in the manual What does it do ? Kind regards Wim Stockman Op do 15 jul. 2021 19:43 schreef G. Branden Robinson < g.branden.robin...@gmail.com>: > At 2021-07-15T18:09:37+0200, Wim

[groff] 12/14: [docs]: Update environment discussion.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit e50dbed9e740f328448df91f094c139a5bd76990 Author: G. Branden Robinson AuthorDate: Tue Jul 13 05:28:09 2021 +1000 [docs]: Update environment discussion. * doc/groff.texi (Environments): Recast to tighten wording

[groff] 11/14: doc/groff.texi: Fix style nit.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 3e7d01d0492515b1749cfafaa8e54f9a7f89b3d0 Author: G. Branden Robinson AuthorDate: Tue Jul 13 05:16:20 2021 +1000 doc/groff.texi: Fix style nit. * doc/groff.texi (Input Line Traps, Diversions): Use more idiomatic

[groff] 06/14: [ms]: Fix documentation style nits.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 68f932b0ec098bdcac7f914d04a1ce1ed99e4f5e Author: G. Branden Robinson AuthorDate: Mon Jul 12 21:02:25 2021 +1000 [ms]: Fix documentation style nits. * doc/ms.ms: Set FR register to "1" for full-length footnotes.

[groff] 04/14: [ms]: Document HD hook as a Berkeley extension.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 11532bdde4c488d5651f8f6a65d279a38de970b1 Author: G. Branden Robinson AuthorDate: Mon Jul 12 04:36:26 2021 +1000 [ms]: Document HD hook as a Berkeley extension. --- doc/groff.texi | 6 +++--- doc/ms.ms | 6

[groff] 09/14: ChangeLog: Remove extraneous word.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 7e8fe9f81538b5e27b5f827b52d5e22e76b554f0 Author: G. Branden Robinson AuthorDate: Mon Jul 12 22:02:25 2021 +1000 ChangeLog: Remove extraneous word. --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[groff] 10/14: [docs]: Stop saying "'current' output device".

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit c49261570838f3dabae491480e32282a8fa28fee Author: G. Branden Robinson AuthorDate: Mon Jul 12 22:03:13 2021 +1000 [docs]: Stop saying "'current' output device". No roff system I've ever heard of supports changing

[groff] 14/14: [troff]: Refactor environment handling.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit ff394f136b602454c557d0ce96cd788db36d138b Author: G. Branden Robinson AuthorDate: Tue Jul 13 06:11:07 2021 +1000 [troff]: Refactor environment handling. [troff]: Refactor environment initialization, switching, and

[groff] 08/14: [ms]: Fix subject/verb agreement in docs.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit bcee59f552f720278ac07c60919a0bfae6df4ad4 Author: G. Branden Robinson AuthorDate: Mon Jul 12 21:57:46 2021 +1000 [ms]: Fix subject/verb agreement in docs. --- doc/groff.texi | 2 +- doc/ms.ms | 2 +- 2 files changed,

[groff] 02/14: [hdtbl]: Remove unnecessary Make variable.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 5211986692bab3bd10dec736f46d38a4d6792ab4 Author: G. Branden Robinson AuthorDate: Sun Jul 11 23:14:03 2021 +1000 [hdtbl]: Remove unnecessary Make variable. * contrib/hdtbl/hdtbl.am: Remove unnecessary Make

[groff] 01/14: contrib/hdtbl/ChangeLog: Update file names.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit c13737714de346eccd83a5d2d8dae1c791d0922b Author: G. Branden Robinson AuthorDate: Sun Jul 11 23:13:36 2021 +1000 contrib/hdtbl/ChangeLog: Update file names. Make them relative to the contributed project's base

[groff] 13/14: Regression-test Savannah #60913.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 9d86a8e3f68644e891878bbda12497633f1b1bb5 Author: G. Branden Robinson AuthorDate: Tue Jul 13 06:29:31 2021 +1000 Regression-test Savannah #60913. Warning: test fails at this commit. --- ChangeLog

[groff] 07/14: [docs]: Apply lexical discipline to "adjustment".

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 5bec074c88a77d567e1cc068f42a54ac3641c35c Author: G. Branden Robinson AuthorDate: Mon Jul 12 21:44:18 2021 +1000 [docs]: Apply lexical discipline to "adjustment". Update discussions and code comments to reserve

[groff] 05/14: groff_ms(7): Use @TMAC_S_PREFIX@.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 9f34f30c3c0fc398054013a81cbbb3cfa0d8f874 Author: G. Branden Robinson AuthorDate: Mon Jul 12 05:09:14 2021 +1000 groff_ms(7): Use @TMAC_S_PREFIX@. --- tmac/groff_ms.7.man | 6 +++--- 1 file changed, 3 insertions(+), 3

[groff] 03/14: [mm]: Refer to self as "mm" internally.

2021-07-15 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 28c697b384091753f4f18daebbe0a3255289f173 Author: G. Branden Robinson AuthorDate: Sun Jul 11 23:16:51 2021 +1000 [mm]: Refer to self as "mm" internally. ...not "mgm". --- contrib/mm/Makefile.sim| 2 +-

Re: Would it be reasonable to list the fonts that are available by default in groff?

2021-07-15 Thread G. Branden Robinson
Wherein I illustrate how well I can count... At 2021-07-16T04:24:29+1000, G. Branden Robinson wrote: > Given the coupling between output device and font repertoire, I submit > that the most appropriate place to document the available repertoire > is in the man page for the relevant output driver.

Re: pdfroff and tables of contents

2021-07-15 Thread G. Branden Robinson
At 2021-07-15T12:34:40-0400, T. Kurt Bond wrote: > The pdfroff man page says: > > > It transparently handles the mechanics of multiple pass groff > > processing, when applied to suitably marked up groff source files, > > such that tables of contents and body text are formatted separately, > > and

Re: Would it be reasonable to list the fonts that are available by default in groff?

2021-07-15 Thread G. Branden Robinson
At 2021-07-15T12:10:05-0400, T. Kurt Bond wrote: > Perhaps in groff_font(5) and in groff.texi? Thanks for raising this point; it is a poorly understood one. And that likely means we don't document it well enough. The available font repertoire is specific to each output device, so groff_font(5)

Re: Question about ?roff on Reddit

2021-07-15 Thread G. Branden Robinson
At 2021-07-15T18:09:37+0200, Wim Stockman wrote: > Hi Peter, it is already a big bunch of comments. Branden replied with > a cool word count example in groff. > > :-) Much as I love high fives, I can't claim credit for that one. First, OmenBreeze on Reddit appears to be John Gardner, whom we

pdfroff and tables of contents

2021-07-15 Thread T. Kurt Bond
The pdfroff man page says: It transparently handles the mechanics of multiple pass groff processing, when applied to suitably marked up groff source files, such that tables of contents and body text are formatted separately, and are subsequently combined in the correct order, for final

Would it be reasonable to list the fonts that are available by default in groff?

2021-07-15 Thread T. Kurt Bond
Perhaps in groff_font(5) and in groff.texi? -- T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io

Re: Question about ?roff on Reddit

2021-07-15 Thread Wim Stockman
Hi Peter, it is already a big bunch of comments. Branden replied with a cool word count example in groff. :-) Op do 15 jul. 2021 02:36 schreef Peter Schaffter : > On Wed, Jul 14, 2021, Nate Bargmann wrote: > > I saw the following post on r/linux today: > > > > >