Re: [groff] More on stripping

2018-03-14 Thread Peter Schaffter
On Tue, Mar 13, 2018, Bjarni Ingi Gislason wrote: > On Tue, Mar 13, 2018 at 01:27:28AM +, Bjarni Ingi Gislason wrote: > >[...] > > Define a variable, for example "UNSTRIPPED_TMAC_FILES=...om.tmac-u" > > (in the file mom.am (?)) > > > > Add that to the target "install:" in the Makefile...

Re: [groff] More on stripping

2018-03-14 Thread Ingo Schwarze
Hello Doug, Doug McIlroy wrote on Sun, Mar 11, 2018 at 11:29:45PM -0400: > So I put together a -ms test with no preprocessors. > The input was about 1 MB, comprising 30K lines > of which 8000 were macro calls. I padded every line of > s.tmac that did not end in \ or \c with a 32-character > comme

Re: [groff] Creating a pdf slideshow

2018-03-14 Thread Deri James
On Wed 14 Mar 2018 15:37:00 Ralph Corderoy wrote: > When viewing with mupdf(1) on this 1920×1080, `f' for full-screen, then > `H' to fit its height to the screen gives a slight non-paper edge at > both sides. `W' to fit width instead gets rid of them, losing a bit top > and bottom I presume, but w

Re: [groff] Creating a pdf slideshow

2018-03-14 Thread Ralph Corderoy
Hi Deri, Very nice. > \&.nop \\!x X papersize=16c,9c ... > The final command sets the pdf page size, suitable for a 16:9 ratio > screen. One teensy point, $ mhstore -nov -t application/pdf -o - | pdfinfo - | grep Page.size Page size: 453 x 255 pts $ e 453/255 1.776470588235

[groff] Creating a pdf slideshow

2018-03-14 Thread Deri James
Recently new features have been added to the gropdf device to allow presentation pdfs to be produced from roff files. Peter Schaffter has been incorporating the new features into mom, but I wondered how difficult it would be to incorporate it into other macro packages. It turns out to be quite