Using eqn on a Unix like system

2023-06-12 Thread Damian McGuckin
The current user guide has words to this effect shown below. My questions: a) I deliberately do not want to force my style on anybody. Others may think it dated or awkward. b) How do people use heirloom troff, neatroff and groff in the style of writing as seen below?

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread G. Branden Robinson
At 2023-06-13T02:48:47+0200, Tadziu Hoffmann wrote: > > > I tried two different methods of getting it to adjust the > > font height, and neither worked at all. > > For me, the following works: > > .fzoom S 890 > .EQ > i iota > .EN Huh. For me this works with ps but not pdf; in the latt

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-12 Thread G. Branden Robinson
At 2023-06-12T19:35:11-0400, Peter Schaffter wrote: > On Fri, Jun 09, 2023, G. Branden Robinson wrote: > > At 2023-06-09T02:02:48-0400, Peter Schaffter wrote: > > > Hmm... It might be a subtle point, but mom already compensates > > > for it any time \D't n' is used to set line weight in a macro. >

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Tadziu Hoffmann
> I tried two different methods of getting it to adjust the > font height, and neither worked at all. For me, the following works: .fzoom S 890 .EQ i iota .EN Unfortunately, this also scales the uppercase Greek letters and other mathematical symbols, which we don't want. In grops, we

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-12 Thread Peter Schaffter
On Fri, Jun 09, 2023, G. Branden Robinson wrote: > At 2023-06-09T02:02:48-0400, Peter Schaffter wrote: > > Hmm... It might be a subtle point, but mom already compensates for > > it any time \D't n' is used to set line weight in a macro. > > Ah. Unless you compensated with \Z'\D't n'', then it so

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread G. Branden Robinson
At 2023-06-13T10:05:33+1000, Damian McGuckin wrote: > Tadziu, Deri, thanks for looking into this where looking is the key > word. > > Tadziu, your eyes had an answer that my eyes could see but not > identify. pdf.tmac synthesizes the slanted Greek glyphs like this. https://git.savannah.gnu.org/c

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Damian McGuckin
Tadziu, Deri, thanks for looking into this where looking is the key word. Tadziu, your eyes had an answer that my eyes could see but not identify. On Tue, 13 Jun 2023, Deri wrote: Is this because the lowercase greek characters come from the SS font in postscript, which is not available to gr

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread G. Branden Robinson
At 2023-06-12T23:45:36+0200, Tadziu Hoffmann wrote: > > But, the output direct to PDF from 'groff' does not match that of > > going to Postscript and then converting that to PDF using 'ps2pdf'. > > The main difference that I can see is that in p8ps.pdf the symbol > font has been scaled to match th

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Deri
On Monday, 12 June 2023 22:45:36 BST Tadziu Hoffmann wrote: > > But, the output direct to PDF from 'groff' does not match that of > > going to Postscript and then converting that to PDF using 'ps2pdf'. > > The main difference that I can see is that in p8ps.pdf the symbol > font has been scaled to

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Tadziu Hoffmann
> But, the output direct to PDF from 'groff' does not match that of > going to Postscript and then converting that to PDF using 'ps2pdf'. The main difference that I can see is that in p8ps.pdf the symbol font has been scaled to match the x-height of the text font. In p8pdf.pdf the Greek letters

Deviation case file #20230612: no-break `sp` request when not on a page

2023-06-12 Thread G. Branden Robinson
Here is your puzzler for the day. Given this input: 'sp 2v foo .br bar 'sp 2v baz ...run through "nroff | cat -n", on what line numbers do "foo", "bar", and "baz" appear? Which *roff did you use? If you want to skip ahead and see "the answer", visit . The

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

2023-06-12 Thread G. Branden Robinson
[self-follow-up] Yet another of my self-clarifications/corrections... At 2023-05-31T22:18:04-0500, G. Branden Robinson wrote: > At any rate, "chartype" seems to be just syntactic sugar for iterated > "type" commands, as follows. > > chartype "CLASS" abc > > becomes > > type "CL

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Oliver Corff
Hi Damian, You can use diffpdf to find out where the differences are. diffpdf has toggle switches for text only- vs. shape only-comparisons and produces visual highlights. Best regards, Oliver. On 12/06/2023 21:33, Damian McGuckin wrote: The issue could be as simple as a discrepancy between

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Damian McGuckin
The issue could be as simple as a discrepancy between the font definitions used between Postscript and PDF. But I do not know enough to debug the issues. The PDF rendering on the screen (or on paper)should match the Postscript rendering that comes out of a printer which is sent that same Po

Re: undiagnosed pic error

2023-06-12 Thread G. Branden Robinson
[self-follow-up] At 2023-06-12T05:25:25-0500, G. Branden Robinson wrote: > Anyway, the rest of the idea is that, once the various pic objects are > organized into this class hierarchy (if you squint at it), then rules > can be introduced so that an `object_spec` that isn't a `round_object` > gets

Re: undiagnosed pic error

2023-06-12 Thread G. Branden Robinson
Hi Doug, At 2023-06-11T19:59:46-0400, Douglas McIlroy wrote: > The fact that you can't apply "fill" to a polygon drawn with pic's > "line" command is a minor symptom of a general phenomenon. Pic accepts > any modifier attached to any command that admits some modifier, and > simply ignores those th

Re: How should I define 'thing' before I start talking about it?

2023-06-12 Thread G. Branden Robinson
Here are some responses from Doug that didn't make it to the right list. - Forwarded message from Douglas McIlroy - Date: Fri, 9 Jun 2023 15:53:00 -0400 From: Douglas McIlroy To: TUHS main list Subject: [TUHS] Re: How should I define 'thing' before I start talking about it? > As far

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

2023-06-12 Thread G. Branden Robinson
Hi Damian, At 2023-06-12T17:31:11+1000, Damian McGuckin wrote: > > Looking the original user guide, it says > > By default, equations are set in 10-point > type (the same size as this guide) > > That was 40+ years ago. Yup. 10-point remains "standard" in groff, but the foregoing w

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Damian McGuckin
Hi Oliver, On Mon, 12 Jun 2023, Oliver Corff wrote: isn't it the case that the paper format must also be announced to gropdf, not only the source document, in case the system default is letter? I am a total novice. Did you try the -p option with gropdf? No. I just used groff -

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Oliver Corff
Hi Damian, isn't it the case that the paper format must also be announced to gropdf, not only the source document, in case the system default is letter? Did you try the -p option with gropdf? Best regards, Oliver. On 12/06/2023 09:56, Damian McGuckin wrote: I have used ditroff and then gro

Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Damian McGuckin
I have used ditroff and then groff to produce Postscript for ages, from which I then use 'ps2pdf' or some equivalent to produce a PDF document. We even wrote (for clients) custom Postscript programs whose output we imported into troff. I often send sai Postscript to printers. I only create

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

2023-06-12 Thread Damian McGuckin
Looking the original user guide, it says By default, equations are set in 10-point type (the same size as this guide) That was 40+ years ago. For 30+ years (by which time I had a decent laser print), I always thought that it should have read By default, equations are