Behaviour of .so differs between mandoc and groff

2023-04-21 Thread Alexis
Hi all, On my Gentoo system, awk.1 simply contains an .so request whose argument is the man page for the actual awk implementation in use, i.e. just: .so gawk.1 However, although this works when using man-db, it doesn't when one is using mandoc instead, as on my system. Instead of gawk

Re: A new ignoramus question about user-installed fonts

2023-04-21 Thread Deri
On Friday, 21 April 2023 19:13:14 BST Oliver Corff wrote: > > In the meantime, I tried to typeset several pages of Chinese, but alas, > there were quite a few blank positions in the text, and I assume that at > the current state the limitations in the number of characters (message > by GhostScript:

Re: A new ignoramus question about user-installed fonts

2023-04-21 Thread Oliver Corff
Hi Branden, thank you very much for your encouraging feedback. Indeed I did neither mention nor note in the example file (multitest.ms --- I thought the .ms in the file name tells the story) that I use groff_ms(7) as it is really at a sweet spot between simplicity of use and aesthetics of produc

Re: groff 1.23.0.rc4 on Solaris 11 OpenIndiana

2023-04-21 Thread Dave Kemper
[Dropped Bruno Haible from cc, as I don't think anything below is of interest to him.] On 4/20/23, G. Branden Robinson wrote: > On the other hand, both will be harder to understand; As they should be! This is the very reason Real Programmers never comment their code! > the second relies upon a

Re: A new ignoramus question about user-installed fonts

2023-04-21 Thread G. Branden Robinson
Hi Oliver, At 2023-04-21T14:59:43+0200, Oliver Corff wrote: > I successfully ran Peter's font-install.sh to install Linux Libertine > as a new font. > [...] > The first observation: > > .PP > > .\"fam Libertine > > Орос хэл, монгол үлгэр. Үлэг гүрвэлийн өндөг. > > If I start a new paragraph,

Re: Definitely positive font installation experience, but not without caveats

2023-04-21 Thread Oliver Corff
Hi Deri, in-croy-able! I should have thought of ps2pdf, but somehow I didn't see the wood due to the trees. Running ps2pdf on the 25 MB monster produced a palatable 28408 bytes of pdf, and everything appears as it should. I received the warning "Can't embed the complete font DFSongStd as it is

Re: Definitely positive font installation experience, but not without caveats

2023-04-21 Thread Deri
On Friday, 21 April 2023 15:44:17 BST Oliver Corff wrote: > I noticed a bit of latency while compiling *and* while displaying the > result --- so very untypical of groff. > > When I wanted to attach the pdf result, I understood, why. The pdf file > is a whopping 25745276 bytes big. > > The result

Definitely positive font installation experience, but not without caveats

2023-04-21 Thread Oliver Corff
Dear all, lured by the instant rewards after installing a new font with font-install.sh which covers Cyrillic and Greek in addition to Latin (Linux Libertine), I gave it a try and also installed a CJK font in the very same manner. This is the command line I use to compile my file after I applied

Re: A file suffix for troff's output.

2023-04-21 Thread Alejandro Colomar
Hi Ralph, On 4/10/23 17:56, Ralph Corderoy wrote: > Hi Alejandro, > >> I'd use .cat.set for UTF8/ASCII pages, and .html.set for HTML pages. > > Yes, I was thinking if a .tr was being turned into several formats then > I'd include troff's -T device in the filename. > > But as a general case, whe

Re: A new ignoramus question about user-installed fonts

2023-04-21 Thread Oliver Corff
Hi Deri, thank you --- that works like a charm. One problem solved! Makes me even more inclined to install 1.23.0 Best regards, Oliver. On 21/04/2023 16:09, Deri wrote: On Friday, 21 April 2023 13:59:43 BST Oliver Corff wrote: The second observation: .fam Libertine πολλὰ τὰ δεινὰ κοὐδὲν

Re: A new ignoramus question about user-installed fonts

2023-04-21 Thread Deri
On Friday, 21 April 2023 13:59:43 BST Oliver Corff wrote: > The second observation: > > .fam Libertine > > πολλὰ τὰ δεινὰ κοὐδὲν ἀνθρώπου δεινότερον πέλει. > > > Seems to put the majority of Greek in italics while I was hoping for a > regular font. > Hi Oliver, I believe this was fixed in co

A new ignoramus question about user-installed fonts

2023-04-21 Thread Oliver Corff
Dear all, I successfully ran Peter's font-install.sh to install Linux Libertine as a new font. In principle, I am more than satisfied with its output of e.g. Cyrillic characters, including those not used by Russian. That works: .fam Libertine Орос хэл, монгол үлгэр. Үлэг гүрвэлийн өндө

Re: [PATCH v8 3/5] regex.3: Finalise move of reg*.3type

2023-04-21 Thread Alejandro Colomar
Hi Ralph, On 4/21/23 14:09, Ralph Corderoy wrote: > Hi Alejandro, > >> when it has structure types with multi-line comments, you see what >> happens in the first PDFs I sent (mis-aligned comments). > > Fix the formatting commands in the troff source so the comments are > aligned. The man page i

Re: [PATCH v8 3/5] regex.3: Finalise move of reg*.3type

2023-04-21 Thread Ralph Corderoy
Hi Alejandro, > when it has structure types with multi-line comments, you see what > happens in the first PDFs I sent (mis-aligned comments). Fix the formatting commands in the troff source so the comments are aligned. The man page is troff source for producing beautifully typeset pages. -- Ch

Re: [PATCH v8 3/5] regex.3: Finalise move of reg*.3type

2023-04-21 Thread Alejandro Colomar
On 4/21/23 13:59, Alejandro Colomar wrote: > Hi Ralph, > > On 4/21/23 13:57, Ralph Corderoy wrote: >> Hi Alejandro, >> (a) Use .nf/.fi for the function prototypes, and .EX/.EE for the types. (b) .EX/.EE for everything, as you did. Please have a look at the PD

Re: [PATCH v8 3/5] regex.3: Finalise move of reg*.3type

2023-04-21 Thread Alejandro Colomar
Hi Ralph, On 4/21/23 13:57, Ralph Corderoy wrote: > Hi Alejandro, > >>> (a) Use .nf/.fi for the function prototypes, and .EX/.EE for the >>> types. >>> >>> (b) .EX/.EE for everything, as you did. >>> >>> Please have a look at the PDF versions > ... >> Which one looks better to you? I've a

Re: [PATCH v8 3/5] regex.3: Finalise move of reg*.3type

2023-04-21 Thread Ralph Corderoy
Hi Alejandro, > > (a) Use .nf/.fi for the function prototypes, and .EX/.EE for the > > types. > > > > (b) .EX/.EE for everything, as you did. > > > > Please have a look at the PDF versions ... > Which one looks better to you? I've attached two PDF files The Synopsis should not be in a f

Re: [PATCH v8 3/5] regex.3: Finalise move of reg*.3type

2023-04-21 Thread Alejandro Colomar
On 4/21/23 13:48, Alejandro Colomar wrote: > Hi наб and Branden, > > On 4/21/23 12:33, Alejandro Colomar wrote: > [...] > >>> diff --git a/man3/regex.3 b/man3/regex.3 >>> index f6465d484..46fd3adef 100644 >>> --- a/man3/regex.3 >>> +++ b/man3/regex.3 >>> @@ -15,7 +15,7 @@ .SH LIBRARY >>> Stand

Re: [PATCH v8 3/5] regex.3: Finalise move of reg*.3type

2023-04-21 Thread Alejandro Colomar
Hi наб and Branden, On 4/21/23 12:33, Alejandro Colomar wrote: [...] >> diff --git a/man3/regex.3 b/man3/regex.3 >> index f6465d484..46fd3adef 100644 >> --- a/man3/regex.3 >> +++ b/man3/regex.3 >> @@ -15,7 +15,7 @@ .SH LIBRARY >> Standard C library >> .RI ( libc ", " \-lc ) >> .SH SYNOPSIS >>

Re: [PATCH v2 2/9] regex.3: improve REG_STARTEND

2023-04-21 Thread Alejandro Colomar
Hi Branden! On 4/21/23 07:00, G. Branden Robinson wrote: > Hi Alex, > > At 2023-04-21T00:29:12+0200, Alejandro Colomar wrote: >> On 4/20/23 20:33, G. Branden Robinson wrote: >>> [Note for non-mdoc(7) speakers: `Sx` is its macro for (sub)section >>> heading cross references. man(7) doesn't have a

[DISREGARD] IMPORTANT: committers, please hold off pushing/tagging temporarily

2023-04-21 Thread G. Branden Robinson
At 2023-04-21T04:09:46-0500, G. Branden Robinson wrote: > I finally caught a snapshot of a wild cgit bug in Savannah. No, like the Sasquatch, it's cleverer than I am, and gone again, with no repo changes. > Please see . I have a new silly theory

IMPORTANT: committers, please hold off pushing/tagging temporarily

2023-04-21 Thread G. Branden Robinson
Hi folks, I finally caught a snapshot of a wild cgit bug in Savannah. But it will slip away again if we make changes to the repository, because I've seen it appear and then vanish several times before. Please see . (Granted, this admonition appl

a straw-man `SR` man(7) macro for (sub)section cross references (was: [PATCH v2 2/9] regex.3: improve REG_STARTEND)

2023-04-21 Thread G. Branden Robinson
[self-follow-up; updated subject] At 2023-04-21T00:07:21-0500, G. Branden Robinson wrote: > 3. I could implement a macro explicitly tuned to the problem of > (sub)section cross references. I didn't see anybody come up with a > good way to shoehorn this functionality into `MR`, so I sugge