Re: [Groff] Formatting algorithm, an experiment

2014-06-26 Thread Ralph Corderoy
Hi Doug, > Ulrich wrote, "Please find below ... my attached code." > > gnu.org reports "not found" for the strange-looking URL where the > attachment was supposedly stored: > http://lists.gnu.org/archive/html/groff/attachments/20140623/d3f40bfc/attachment.bin The email I received from the list h

Re: [Groff] Formatting algorithm, an experiment

2014-06-26 Thread Peter Schaffter
On Thu, Jun 26, 2014, Ralph Corderoy wrote: > When I view Ulrich's email at > http://lists.gnu.org/archive/html/groff/2014-06/msg00089.html I see a > distribute.tgz link at the end of it to > http://lists.gnu.org/archive/html/groff/2014-06/bin14bGZPiUPU.bin which > works for me. The .bin extension

Re: [Groff] Formatting algorithm, an experiment

2014-06-26 Thread Ulrich Lauther
In the meantime I have send the tgz-file directly to Dough, not to the list, and he was able to read it. Waiting for comments, ulrich

Re: [Groff] Formatting algorithm, an experiment

2014-06-26 Thread Ralph Corderoy
Hi Peter, > > http://lists.gnu.org/archive/html/groff/2014-06/bin14bGZPiUPU.bin > > which > > The .bin extension issue for attachments in archived email has come up > before. Does anyone know why lists.gnu.org is doing this and whether > there'd be any point trying to get it fixed? It's to prot

[Groff] General nroff/troff question regarding .bp and .ne in diversions

2014-06-26 Thread Carsten Kunze
I'd like to use a diversion for printing the bibliography. There I'd like to avoid page breaks inside items. I tried to use .ne or .bp, both did not work. For .bp I found in the groff that it does not work inside (not-top-level) diversions, but for .ne it is not mentioned there. I wonder why .b

Re: [Groff] General nroff/troff question regarding .bp and .ne in diversions

2014-06-26 Thread Steve Izma
On Thu, Jun 26, 2014 at 06:10:25PM +0200, Carsten Kunze wrote: > Subject: [Groff] General nroff/troff question regarding .bp and .ne in > diversions > > I'd like to use a diversion for printing the bibliography. > There I'd like to avoid page breaks inside items. I tried to > use .ne or .bp, both

Re: [Groff] General nroff/troff question regarding .bp and .ne in diversions

2014-06-26 Thread Carsten Kunze
> I assume you want the page break *outside* of the diversion. In > other words, read the bibliographic entry into a diversion, check > the height of the entry (\n[dn]), and then see if there's enough > room left before the page trap. Something like this: No, actually I plan to define/capture the

Re: [Groff] General nroff/troff question regarding .bp and .ne in diversions

2014-06-26 Thread Tadziu Hoffmann
> Each item I put in a temporary diversion which I use to calc > the height. If the height exceeds the page height a .ne or .bp > should be put in the large diversion, then the temp diversion > is added. So the large diversion contains the heading, some > items, .bp, some items again, ... And my p

Re: [Groff] General nroff/troff question regarding .bp and .ne in diversions

2014-06-26 Thread Carsten Kunze
> The trick is to "transparently" embed ".ne" > requests for every bibliography item That embedding with \! is a very good idea and the ideal solution. Thank you! (Not test yet, I'll do that tomorrow at work.) --Carsten

Re: [Groff] General nroff/troff question regarding .bp and .ne in diversions

2014-06-26 Thread Carsten Kunze
> For your purposes, fortunately, pagination inside the diversion > is also not needed. I did not intend to have pagination inside a diversion but rather having the diversion inside the pagination (which is active from the first pages on of the book). That had already worked today--with the pag