Re: [Groff] PDF_IMAGE and MOM

2014-11-03 Thread Ralph Corderoy
Hi Mikkel, > I use sam2p to convert PNM image to PDF (I can highly recommend the > small program sam2p). When I later try to find the image bounding box > using this command > > gs -q -dBATCH -dNOPAUSE -sDEVICE=bbox .pdf 2>&1 \ | grep > "%%BoundingBox" | cut -d " " -f4,5 > > Could I see the imag

Re: [Groff] PDF_IMAGE and MOM

2014-11-03 Thread mikkel meinike
Ralph wrote: > lines starting `\#' rather than `.\#'. One or the other might have an :-) ah okay so I misunderstood how to "out-comment" a line. Funny. I will change that. Thanks for your tips, it is all very inspiring. Thanks for taking that closer look on my mombog.mom code. Mikkel

Re: [Groff] PDF_IMAGE and MOM

2014-11-03 Thread Dale Snell
On Mon, 03 Nov 2014 16:36:04 + Ralph Corderoy wrote: > BTW, your mombog.mom had a blank line at the start and the comments > were lines starting `\#' rather than `.\#'. One or the other might > have an affect on your attempt at A3 in mom, I don't know. "\#" is a _groff_ comment, not mom's.

Re: [Groff] PDF_IMAGE and MOM

2014-11-03 Thread Keith Marshall
On 03/11/14 20:16, Dale Snell wrote: > On Mon, 03 Nov 2014 16:36:04 + > Ralph Corderoy wrote: >> BTW, your mombog.mom had a blank line at the start and the comments >> were lines starting `\#' rather than `.\#'. One or the other might >> have an affect on your attempt at A3 in mom, I don't kno

Re: [Groff] pic: No white space allowed between . and PS?

2014-11-03 Thread Tadziu Hoffmann
> > That gtroff allows those spaces is an extension to the > > original troff spec, and in gpic it was simply not > > implemented to date. > Maybe I get you wrong, but spaces between . and macronames > are possible in any *roff. (I don't know if it is written > in the spec...) You're right abou

Re: [Groff] PDF_IMAGE and MOM

2014-11-03 Thread Dale Snell
On Mon, 03 Nov 2014 21:23:32 + Keith Marshall wrote: > On 03/11/14 20:16, Dale Snell wrote: > > On Mon, 03 Nov 2014 16:36:04 + > > Ralph Corderoy wrote: > >> BTW, your mombog.mom had a blank line at the start and the comments > >> were lines starting `\#' rather than `.\#'. One or the ot

Re: [Groff] PDF_IMAGE and MOM

2014-11-03 Thread Ingo Schwarze
Hi Dale, Dale Snell wrote on Mon, Nov 03, 2014 at 02:21:09PM -0800: > On Mon, 03 Nov 2014 21:23:32 + Keith Marshall wrote: >> On 03/11/14 20:16, Dale Snell wrote: >>> On Mon, 03 Nov 2014 16:36:04 + Ralph Corderoy wrote: BTW, your mombog.mom had a blank line at the start and the comme

Re: [Groff] PDF_IMAGE and MOM

2014-11-03 Thread Dale Snell
On Tue, 4 Nov 2014 01:32:09 +0100 Ingo Schwarze wrote: > Hi Dale, > > Dale Snell wrote on Mon, Nov 03, 2014 at 02:21:09PM -0800: > > On Mon, 03 Nov 2014 21:23:32 + Keith Marshall wrote: > >> On 03/11/14 20:16, Dale Snell wrote: > >>> On Mon, 03 Nov 2014 16:36:04 + Ralph Corderoy wrote: >

Re: [Groff] pic: No white space allowed between . and PS?

2014-11-03 Thread Werner LEMBERG
> |Yes. But generally it can be expected that spaces between \ > |. and a macro name doesn't matter. > > I agree with you here. Just in case it hasn't been mentioned before: At least for the `.so' request, there is a big difference between .so and .so The former gets preprocessed