Re: [groff] Unintended impact of strip.sed on om.tmac-u?

2017-11-13 Thread Larry Kollar
> Ralph Corderoy wrote: > >* The body of a 'while' request is treated like the body of a > 'de' request: 'gtroff' temporarily stores it in a macro that > is deleted after the loop has been exited. It can > considerably slow down a macro if the body of the 'while' > reque

Re: [groff] mom & slide-presentations

2017-11-13 Thread Gour
On Mon, 13 Nov 2017 10:26:01 -0500 Peter Schaffter wrote: > With mom, typical book parts are all user settable strings. The > defaults are English but easily changed, e.g. > > .CHAPTER_STRING "Chapître Ahh...could not find it. :-( > Groff can handle most TeX hyphenation pattern files withou

Re: [groff] [Groff] Unintended impact of strip.sed on om.tmac-u?

2017-11-13 Thread Steve Izma
On Mon, Nov 13, 2017 at 11:10:04AM -0500, Peter Schaffter wrote: > Subject: Re: [groff] [Groff] Unintended impact of strip.sed on om.tmac-u? > > I have, admittedly, never processed a document larger than a 600 > page novel. I have typeset many books of sizes close to 1000 pages (and often more) t

Re: [groff] [Groff] Unintended impact of strip.sed on om.tmac-u?

2017-11-13 Thread Peter Schaffter
On Mon, Nov 13, 2017, Doug McIlroy wrote: > It has been said that stripping tmac files improves their > perfomance. I tried it on s.tmac. It cuts the file by 48%. > But on a real-life groff file of considerable complexity > it saved less than 1% of cpu time. > > This example suggests that strippi

Re: [groff] mom & slide-presentations

2017-11-13 Thread Peter Schaffter
On Mon, Nov 13, 2017, Gour wrote: > What about the other part, iow. language support in groff/mom ala Babel to get > proper localized names for typical book parts like part/chapter..., > hyphenation > patterns, creating indexes, glossary..? With mom, typical book parts are all user settable strin

Re: [groff] Unintended impact of strip.sed on om.tmac-u?

2017-11-13 Thread Ralph Corderoy
Hi Doug, > Does it make more difference in other macro packages? Yes, particularly those with more comments, than -ms say, and with .while loops, like -mom, apparently. `info groff | less' says * The body of a 'while' request is treated like the body of a 'de' request: 'gtroff' tempor

Re: [groff] [Groff] Unintended impact of strip.sed on om.tmac-u?

2017-11-13 Thread Doug McIlroy
It has been said that stripping tmac files improves their perfomance. I tried it on s.tmac. It cuts the file by 48%. But on a real-life groff file of considerable complexity it saved less than 1% of cpu time. This example suggests that stripping may be a frill that makes groff maintenance more co

Re: [groff] What does the "-u" in ".tmac-u" mean?

2017-11-13 Thread Ralph Corderoy
Hi Ingo, > > But if we want to move from batch processing to interactive updating > > whilst editing > > That probably doesn't matter because groff is simply not fast enough > for that in the first place, even for documents of moderate size, for > example large manual pages. Sure it is. It's don

Re: [groff] What does the "-u" in ".tmac-u" mean?

2017-11-13 Thread Ingo Schwarze
Hi Ralph, Ralph Corderoy wrote on Sun, Nov 12, 2017 at 11:48:33AM +: > Ted wrote: >> Larry wrote: >>> Groff is, compared to most other formatting systems, blazing-fast. > ... >>> it made two passes through what became a 700-900 page manual >>> (depending on what was included) to produce a PDF

Re: [groff] mom & slide-presentations

2017-11-13 Thread Gour
On Sun, 12 Nov 2017 10:45:41 -0500 Peter Schaffter wrote: > Make sure the font you're using contains the Croation glyphs. To > the best of my knowledge, none of the fonts that ship with groff has > them. Ahh, I see... > You have to install them yourself (use install-font.sh). I A downloaded