Re: neatroff for Russian. (Was: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian)

2023-04-26 Thread G. Branden Robinson
At 2023-04-26T19:33:48+0200, Oliver Corff wrote: > On 26/04/2023 15:16, G. Branden Robinson wrote: > > Be sure you review my earlier messages to Oliver in detail. The > > hyphenation code isn't "broken", it's simply limited to the C/C++ > > char type for character code points and hyphenation codes

Re: Warn on semantic newlines

2023-04-26 Thread Bjarni Ingi Gislason
On Fri, Jun 10, 2022 at 11:52:30AM +0200, Alejandro Colomar wrote: > Hi, Ingo and Branden! > > As far as I know, there's currently no tool that warns on "foo. bar" in > filled test. Not `mandoc -Tlint`, and not `groff -ww`, and not `groff > -rCHECKSTYLE=999`. I know that CHECKSTYLE is not design

Re: proctological linter warnings on groff's man pages (was: mdoc(7): CHECKSTYLE)

2023-04-26 Thread Alejandro Colomar
On 4/26/23 11:44, Alejandro Colomar wrote: > Hi Branden, > > On 4/26/23 11:06, G. Branden Robinson wrote: >> Hi Alex, >> >> At 2023-04-24T19:11:58+0200, Alex Colomar wrote: At 2023-04-23T16:17:06+0200, Alejandro Colomar wrote: > I got some errors from mdoc(7), which were probably due to

Re: mdoc(7): CHECKSTYLE

2023-04-26 Thread Alejandro Colomar
Hi Branden, On 4/24/23 19:11, Alex Colomar wrote: > $ make check -k > TROFF .tmp/man/man1/gpinyin.1.cat.set > troff: man1/gpinyin.1:316: warning: macro 'AD' not defined > make: *** [share/mk/build/catman.mk:47: .tmp/man/man1/gpinyin.1.cat.set] > Error 1 > make: *** Deleting file '.tmp/man/man1/gp

Re: mdoc(7): CHECKSTYLE

2023-04-26 Thread Alejandro Colomar
Hi Branden, On 4/24/23 19:11, Alex Colomar wrote: > $ make check -k > TROFF .tmp/man/man1/gpinyin.1.cat.set > troff: man1/gpinyin.1:316: warning: macro 'AD' not defined > make: *** [share/mk/build/catman.mk:47: .tmp/man/man1/gpinyin.1.cat.set] > Error 1 > make: *** Deleting file '.tmp/man/man1/gp

Re: neatroff for Russian. (Was: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian)

2023-04-26 Thread Oliver Corff
Hi Robin and Branden, On 26/04/2023 15:16, G. Branden Robinson wrote: At 2023-04-26T15:16:55+0300, Robin Haberkorn wrote: For future texts I therefore wanted to return to Groff (where we also have the excellent MOM macros). Not being able to hyphenate UTF-8 Cyrillic text is a major limitation f

Re: neatroff for Russian. (Was: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian)

2023-04-26 Thread G. Branden Robinson
At 2023-04-26T15:16:55+0300, Robin Haberkorn wrote: > For future texts I therefore wanted to return to Groff (where we also > have the excellent MOM macros). Not being able to hyphenate UTF-8 > Cyrillic text is a major limitation for me. I might get away with > converting it to KOI8 first, but coul

Re: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian

2023-04-26 Thread Robin Haberkorn
25.04.23 19:51, G. Branden Robinson пишет: While I'm pontificating I'll opine that I'm not a huge fan of C++ as a language, but I have found with groff that, given discipline, and by maintaining a clear view of its roots in C (_also_ not my favorite language--but one alienati

Re: neatroff for Russian. (Was: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian)

2023-04-26 Thread Robin Haberkorn
Hello! I can confirm that Neatroff (and Heirloom Troff) works well for typesetting Russian texts including hyphenation. BUT, I found them unsuitable for complex scientific texts as their ms macros are buggy and tbl is somewhat limited. Regarding Neatroff, I found that its hyperlinking capabili

Re: neatroff for Russian. (Was: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian)

2023-04-26 Thread Oliver Corff
Hi Ralph, I could not resist the temptation to procrastinate from my current work and had a look at neatroff. Really neat! Out-of-the-box, my test file russ.ms and TeX utf8 hyphenation patterns taken straight from my TeX installation produced the attached very satisfying result. Best regards,

Re: neatroff for Russian. (Was: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian)

2023-04-26 Thread Oliver Corff
Hi Ralph, thank you very much for mentioning neatroff. In principle, I am aware that there are other implementations, all with their particular unique features, but I never dived into anything other than groff so far (also due to the fruitful and friendly exchange on this mailing list), and neatr

neatroff for Russian. (Was: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian)

2023-04-26 Thread Ralph Corderoy
Hi Oliver, Are you aware there are other troff implementations than GNU's groff? Neatroff is one. Ali Gholami Rudi wrote it because he wanted better Unicode support for foreign languages, including right-to-left text. He seems very much of your mould in needs. A good summary of its features is h

Re: proctological linter warnings on groff's man pages (was: mdoc(7): CHECKSTYLE)

2023-04-26 Thread Alejandro Colomar
Hi Branden, On 4/26/23 11:06, G. Branden Robinson wrote: > Hi Alex, > > At 2023-04-24T19:11:58+0200, Alex Colomar wrote: >>> At 2023-04-23T16:17:06+0200, Alejandro Colomar wrote: I got some errors from mdoc(7), which were probably due to the LANDMINE

proctological linter warnings on groff's man pages (was: mdoc(7): CHECKSTYLE)

2023-04-26 Thread G. Branden Robinson
Hi Alex, At 2023-04-24T19:11:58+0200, Alex Colomar wrote: > > At 2023-04-23T16:17:06+0200, Alejandro Colomar wrote: > > > I got some errors from mdoc(7), which were probably due to the > > > LANDMINE > > >

Re: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian

2023-04-26 Thread Oliver Corff
Hi Branden, I'll take the route you suggest, i.e. install a 1.23.0 version where I'll place the macros; but I'll have to postpone this until Saturday --- so no earlier feedback possible. Best regards, Oliver. On 26/04/2023 10:18, G. Branden Robinson wrote: Hi Oliver, At 2023-04-26T09:19:41+

Re: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian

2023-04-26 Thread G. Branden Robinson
Hi Oliver, At 2023-04-26T09:19:41+0200, Oliver Corff wrote: > thank you very much for the sharing your insight regarding groff > internals. I wish they were deeper! There is still plenty I have to learn. > I tried your demonstration, replacing the text file with my own file > (utf8-encoded Cyri

Re: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian

2023-04-26 Thread Oliver Corff
Hi Branden, thank you very much for the sharing your insight regarding groff internals. I tried your demonstration, replacing the text file with my own file (utf8-encoded Cyrillic), and I did not succeed to reproduce your results. I copied all Russian-related macros (ru.tmac, hyphen.ru and k