Re: Is there a Groff showcase?

2023-12-16 Thread Richard Morse
Hi! Sorry, I can’t find the start of this thread, but this was posted last year? https://github.com/Allfifthstuning/awesome-groff-user-macrosets.git

Re: GNU eqn clarifications and reforms (was: EQN - special words)

2023-06-09 Thread Richard Morse
> On Jun 9, 2023, at 5:01 AM, Damian McGuckin wrote: > > On Fri, 9 Jun 2023, G. Branden Robinson wrote: > >>> How should I define 'thing' before I start talking about it? >> >> My solution (of recent vintage) in eqn(1) has been to leave our CS >> brains exposed and use the word "token". > > Th

Re: man(7), hyphen, and minus

2022-12-23 Thread Richard Morse
On Dec 23, 2022, at 3:49 PM, Russ Allbery wrote: > > I've been curious: how much use do you see of groff outside of man pages? I realize I’m just one person, but my use of groff (and Heirloom for using useful fonts) is entirely outside of man pages… Ricky

Re: Online Dictionaries. (Was: words (and commands) that I learnt...)

2022-12-10 Thread Richard Morse
On Dec 10, 2022, at 9:00 AM, John Gardner wrote: > > I'd attribute my preference for Oxford to my innate hatred of Yanklish (U.S > English), but in truth, it's really because OED is bundled with macOS's > Dictionary.app […] I apologize for being nit-picky, but the OED is not bundled, the ODE is

Re: Zero Width Space (was Re: How to print a literal '.' as the first character in a line?)

2022-06-05 Thread Richard Morse
> On Jun 5, 2022, at 1:37 AM, Dave Kemper wrote: > > No one, including its inventor, seems fully happy with it, but there > also hasn't been an alternate proposal that everyone is happy with. > "Zero-width space" is a nonstarter for its Unicode clash. Do any of these spark an idea? - “processor

Re: MOM heading question

2021-11-26 Thread Richard Morse
On Nov 26, 2021, at 1:08 PM, Peter Schaffter wrote: > > On Thu, Nov 25, 2021, Richard Morse wrote: >> Is there some way to suppress the *display* of the heading >> number for a particular level while still having it count for >> purposes of labelling the rest of the

MOM heading question

2021-11-25 Thread Richard Morse
Hi! I’m trying to typeset my newly amended condominium trust, because the word version is really ugly, and I decided to try using MOM to do so (the heading/list functions in MS didn’t seem powerful enough, and I can’t find readable documentation of MM, while the MOM documentation is fantastic).

Re: Whither changelogs

2021-10-06 Thread Richard Morse
> On Oct 6, 2021, at 10:03 AM, G. Branden Robinson > wrote: > > At 2021-10-05T08:56:24+0100, Keith Marshall wrote: >> The sooner we deprecate free-standing ChangeLog files, the better, >> IMO. > > My resistance this idea lies in the fact that people err, including in > commit messages, but co

Re: [ms] Add a standard glyph name for hooked o instead of relying on .AM

2021-01-06 Thread Richard Morse
Sorry to jump in, but because of the recent thread around sentence spacing, probably the man page should either have every sentence start on a new line, or put two spaces after sentence-final periods? Ricky > On Jan 6, 2021, at 11:44 AM, Dorai Sitaram via wrote: > > Thanks, Doug! I've updated

Re: One groff file outputting multiple pdfs?

2020-12-11 Thread Richard Morse via
On November 20, 2020 at 12:31 AM, Dave Kemper wrote: If your actual requirements are (a) there be only one input file, and (b) it produce multiple output files, this is straightforward to do in a file that's *mostly* groff, but with a handful of shell lines between each set of input: groff -ms

Re: One groff file outputting multiple pdfs?

2020-11-20 Thread Richard Morse
> On Nov 20, 2020, at 12:30 AM, Dave Kemper wrote: > > […] > > If your actual requirements are (a) there be only one input file, and > (b) it produce multiple output files, this is straightforward to do in > a file that's *mostly* groff, but with a handful of shell lines > between each set of in

Re: One groff file outputting multiple pdfs?

2020-11-19 Thread Richard Morse
> On Nov 19, 2020, at 6:01 PM, Robert Thorsby wrote: > > On 20/11/20 09:32:03, Richard Morse wrote: >> > On Nov 19, 2020, at 5:11 PM, Heinz-Jürgen Oertel >> > wrote: >> > Can you use pdftk to split the groff output file file afterwards in pages? >>

Re: One groff file outputting multiple pdfs?

2020-11-19 Thread Richard Morse
> On Nov 19, 2020, at 5:47 PM, James K. Lowden wrote: > > On Thu, 19 Nov 2020 15:41:42 -0500 > Richard Morse wrote: > >> The roff file is being generated by a program, and for a few reasons, >> it would be much easier to have the program generate one output file, &

Re: One groff file outputting multiple pdfs?

2020-11-19 Thread Richard Morse
> On Nov 19, 2020, at 5:32 PM, Richard Morse wrote: > >> On Nov 19, 2020, at 5:11 PM, Heinz-Jürgen Oertel >> wrote: >> >> Am Donnerstag, 19. November 2020, 21:41:42 CET schrieb Richard Morse: >>> […] >>> The roff file is being generated by a

Re: One groff file outputting multiple pdfs?

2020-11-19 Thread Richard Morse
> On Nov 19, 2020, at 5:11 PM, Heinz-Jürgen Oertel > wrote: > > Am Donnerstag, 19. November 2020, 21:41:42 CET schrieb Richard Morse: >> […] >> The roff file is being generated by a program, and for a few reasons, it >> would be much easier to have the program

One groff file outputting multiple pdfs?

2020-11-19 Thread Richard Morse
Hi! I am using groff to generate some PDF reports. Each report consists of data for a number of different invoices, each of which is going to a different payee. We are being asked to submit each invoice separately, so we need to create a separate PDF for each center. The roff file is being gene

Re: Small offset in overlapping Polygons

2020-10-31 Thread Richard Morse
> On Oct 31, 2020, at 10:22 AM, Wim Stockman wrote: > > Hi, > I made a macro to draw 2 filled rectangles on top of each other. > but if I draw them they are not exactly on top. There is a small offset on > the left. > Is this a bug or am I doing something wrong? > My goal is to make on rectangle

Re: [Heirloom] Using the Symbola font in Heirloom troff

2020-08-05 Thread Richard Morse
I also just tried `.fp 0 … `, and also changing to `.fp 0 Symbola Symbola.ttf`, incase the issue was with the whole “supply” argument. Ricky > On Aug 5, 2020, at 10:49 PM, T. Kurt Bond wrote: > > I just tried that and it didn't work. > > On Wed, Aug 5, 2020 at 10:41 PM Roy Fisher wrote: > >

Re: [Heirloom] Using the Symbola font in Heirloom troff

2020-08-05 Thread Richard Morse
characters > that are not in the StandardStrings array, the MacintoshStrings array, or the > WGL array don't get output. Maybe. I'll have to investigate some more. > > On Tue, Aug 4, 2020 at 11:10 PM Richard Morse wrote: > Hm. Just for my edification, I tried a few thing

Re: [Heirloom] Using the Symbola font in Heirloom troff

2020-08-04 Thread Richard Morse
unfortunately. > > > On Tue, Aug 4, 2020 at 4:27 PM Richard Morse wrote: > Huh. I’m afraid I’m out of my depth then; you might check and see if your > LC_* environment variables are set to something incompatible with utf-8 (or, > maybe, check and make sure the file in UTF-8

Re: [Heirloom] Using the Symbola font in Heirloom troff

2020-08-04 Thread Richard Morse
knowledge will speak up… Ricky > On Aug 4, 2020, at 3:59 PM, T. Kurt Bond wrote: > > And if I add "and explicit unicode character reference \U'1F0A1'" to the > file, that character doesn't show up either. > > On Tue, Aug 4, 2020 at 2:47 PM Richard Mo

Re: [Heirloom] Using the Symbola font in Heirloom troff

2020-08-04 Thread Richard Morse
According to the Heirloom Troff manual, I think that you cannot just insert Unicode characters (although maybe if your LC* environment variables are set correctly, you can?). It says: > Both nroff and troff allow references to specific Unicode characters with the > \U'X' escape sequence; > it c

Re: Groff vs Heirloom troff (was Re: Quick question: how to do .index in groff?)

2020-07-26 Thread Richard Morse
> On Jul 26, 2020, at 8:24 AM, Dave Kemper wrote: > > Anyone interested in groff's long-term goals should check out its > mission statement > (http://www.gnu.org/software/groff/groff-mission-statement.html), > crafted after much discussion on this list several years ago. Three > core improvement

Re: [groff] Upgrade to 1.22.4 breaks PDF font

2019-02-21 Thread Richard Morse
On Feb 19, 2019, at 06:37 PM, Bertrand Garrigues wrote: On Tue, Feb 19 2019 at 10:58:17 PM, Colin Watson wrote: It's likely that this is a bug in the Homebrew formula: you can confirm this by looking for "URW fonts for pdf" in the configure output (it should say "yes", but I bet it says "no").

Re: [groff] Upgrade to 1.22.4 breaks PDF font

2019-02-21 Thread Richard Morse
On Feb 19, 2019, at 05:58 PM, Colin Watson wrote: It's likely that this is a bug in the Homebrew formula: you can confirm this by looking for "URW fonts for pdf" in the configure output (it should say "yes", but I bet it says "no"). The formula needs to make sure that whatever provides a010013l.

Re: [groff] Upgrade to 1.22.4 breaks PDF font

2019-02-20 Thread Richard Morse
> On Feb 19, 2019, at 6:37 PM, Bertrand Garrigues > wrote: > > Hi Richard, > > On Tue, Feb 19 2019 at 10:58:17 PM, Colin Watson wrote: >> >> It's likely that this is a bug in the Homebrew formula: you can confirm >> this by looking for "URW fonts for pdf" in the configure output (it >> should

[groff] Upgrade to 1.22.4 breaks PDF font

2019-02-19 Thread Richard Morse
Hi! I just upgraded to groff 1.22.4, and suddenly my files are not turning into PDFs properly. The error is "can't find font NR" (and "NI"). This is on Mac OS X 10.13, with the groff installed by Homebrew. Looking at /usr/local/share/groff/1.22.4/font/devpdf, especially when comparing it with d

[groff] Fonts, PDF images, groff vs. heirloom troff

2019-01-21 Thread Richard Morse
Hi! I’m working on a project where I want to use troff to create PDFs. I want to use some particular OpenType features (in particular, a bunch of smart kerning and character substitutions), but I also want to embed PDF images into the final PDF. What I’ve discovered is that GNUs groff does not

Re: [groff] a5 paper size?

2018-12-22 Thread Richard Morse
> On Dec 22, 2018, at 5:35 AM, Ralph Corderoy wrote: > >> I’ve done a bit more research, and it looks like gropdf doesn’t >> implement the “\X” command according to the documentation > > Please point us to the bit of the documentation you're referring to Hi! I noted this in my original message

Re: [groff] a5 paper size?

2018-12-21 Thread Richard Morse
Thanks for the suggestion. I’ve done a bit more research, and it looks like gropdf doesn’t implement the “\X” command according to the documentation, which is the problem. I’m trying to keep things off the command line, because that makes the file less self-contained (I would actually like to t

[groff] a5 paper size?

2018-12-20 Thread Richard Morse
Hi! I apologize if this is the wrong list for this question; if there is a better place to ask it, please let me know. It seems from the manual* that I should be able to create an A5-sized PDF by doing something like:     \X'papersize=a5'     .pl 8.26i     This is a test and then calling