[groff] Anyone happen to know some good hyphenation flags for Swedish?

2018-06-26 Thread G. Branden Robinson
Nice to see the new diagnostic working in the real world. n/groff_mmse.7 troff: /home/branden/src/GIT/groff/build/../tmac/sv.tmac:131: warning: contradictory hyphenation flags ignored: 33 -- Regards, Branden signature.asc Description: PGP signature

Re: [groff] Spooky action at a distance in line adjustment...sometimes

2018-06-26 Thread Keith Marshall
On 26/06/18 14:27, G. Branden Robinson wrote: > Can someone tells me why this happens? And, more mysteriously, why it > only _sometimes_ happens? I guess its the placement of padding space, when formatting fully justified ASCII, that's puzzling you? AIUI, to avoid rivers of padding space, groff

Re: [groff] Spooky action at a distance in line adjustment...sometimes

2018-06-26 Thread Ralph Corderoy
Hi Branden, > Can someone tells me why this happens? And, more mysteriously, why it > only _sometimes_ happens? Two lines become three, disturbing parity. > - afmtodit [-ckmnsvx] [-a n] [-d desc_file] [-e enc_file] > -[-f internal_name] [-i n] [-o out_file] afm_file map_fi

Re: [groff] Spooky action at a distance in line adjustment...sometimes

2018-06-26 Thread G. Branden Robinson
At 2018-06-26T15:09:57+0100, Ralph Corderoy wrote: > Two lines become three, disturbing parity. [...] > The extra spaces are moved from the right end of the line to the left: [...] > This looks to me like nroff is alternating the added spaces between the > left and right ends of the line. Kernigha

Re: [groff] Spooky action at a distance in line adjustment...sometimes

2018-06-26 Thread Mike Bianchi
On Tue, Jun 26, 2018 at 03:09:57PM +0100, Ralph Corderoy wrote: > Hi Branden, > > > Can someone tells me why this happens? And, more mysteriously, why it > > only _sometimes_ happens? > > Two lines become three, disturbing parity. NOTE: font -> font_name > > - afmtodit [-ckmnsvx] [-a

[groff] Duff's Device lurking in refer.cpp

2018-06-26 Thread G. Branden Robinson
I enjoyed this Easter egg; maybe you will too. src/preproc/refer/refer.cpp: for (--argc, ++argv; !finished_options && argc > 0 && argv[0][0] == '-' && argv[0][1] != '\0'; argv++, argc--) { const char *opt = argv[0] + 1; while (opt != 0 && *opt != '\0') { switc

Re: [groff] Duff's Device lurking in refer.cpp

2018-06-26 Thread Steffen Nurpmeso
G. Branden Robinson wrote in <20180626153737.mf72sv3paetlc...@crack.dead\ beast.net>: |I enjoyed this Easter egg; maybe you will too. Why easter egg if i might ask? |src/preproc/refer/refer.cpp: ... |while (opt != 0 && *opt != '\0') { | switch (*opt) { ... | case '-': |

Re: [groff] Spooky action at a distance in line adjustment...sometimes

2018-06-26 Thread Doug McIlroy
Alas, spooky.diff, allegedly at http://lists.gnu.org/archive/html/groff/attachments/20180626/6721611f/attachment.diff elicits 404 Not Found. It may be that some server or client is allergic to unusual file extensions. doug

Re: [groff] Spooky action at a distance in line adjustment...sometimes

2018-06-26 Thread Doug McIlroy
Ancient history: when I wrote BCPL roff, I immediately noticed the page-level density gradient from thick on the left to thin on the right if padding spaces were inserted from the right. I next tried randomly distributing the padding. This was even worse because it led one to perceive false phrase