Re: [Groff] broken interaction between line numbering and diversions

2014-09-18 Thread Dave Kemper
On 9/17/14, Werner LEMBERG wrote: > It would be interesting to see your real-case situation. Can you > elaborate on that? Sadly, no. I created the example file on my system over a year ago, intending to post it at the time, but I never got around to it. I no longer recall what problem I was tr

[Groff] Documentation for -mom

2014-09-18 Thread GregExp
Hi groffies, I am loking for an "easy" documentation about -mom. This documentation should discribe how -mom macros are working. My Firefox couldn't reach this adress: http://faustus.dyn.ca/mom/mom.html greethings greg

Re: [Groff] Git branching workflow

2014-09-18 Thread Bertrand Garrigues
Hi Steffen, On Wed, Sep 17 2014 at 01:32:23 PM, Steffen Nurpmeso wrote: > Hello Bertrand, [...] > > First i'm sorry that i didn't really test your work on the > migration to autoxy. I personally declined completely to use > these back around 2001 and rather spend about half a year writing > a pe

Re: [Groff] PDFPIC macro

2014-09-18 Thread Deri James
On Thu 18 Sep 2014 19:13:44 Keith Marshall wrote: > Hmm. Perl. I've always shied away from it, particularly on MS-Windows. > I know there are implementations available, but my experience of > attempting to deploy them has always been extremely unpleasant and > discouraging. > > I'd much rather

Re: [Groff] PDFPIC macro

2014-09-18 Thread Keith Marshall
On 18/09/14 16:32, Deri James wrote: > I do have a perl program which extracts the relevent MediaBox ArtBox TrimBox > BleedBox CropBox, it uses the same code as the gropdf driver uses to actually > action the:- > > \X’pdf: pdfpic file alignment width height line-length’ > > So it has a similar

Re: [Groff] PDFPIC macro

2014-09-18 Thread Keith Marshall
On 18/09/14 14:42, Peter Schaffter wrote: > On Thu, Sep 18, 2014, Keith Marshall wrote: >>> On 17/09/14 22:22, Peter Schaffter wrote: >>> Yes. The way groff stands now, I'm uneasy relying on external tools >>> and .sy for anything but local, user-written macros. There's precedent, >>> though, in

Re: [Groff] PDFPIC macro

2014-09-18 Thread Deri James
On Thu 18 Sep 2014 09:42:23 Peter Schaffter wrote: > On Thu, Sep 18, 2014, Keith Marshall wrote: > > > On 17/09/14 22:22, Peter Schaffter wrote: > > > Yes. The way groff stands now, I'm uneasy relying on external tools > > > and .sy for anything but local, user-written macros. There's precedent,

Re: [Groff] PDFPIC macro

2014-09-18 Thread Keith Marshall
On 18/09/14 14:37, Peter Schaffter wrote: > On Wed, Sep 17, 2014, Ralph Corderoy wrote: >> Can't argue with a post that uses `whence'. Would be nice to see a bit >> more `{,t,w}hither'. > > :) > >>> . sy pdfinfo @$1 | \ >>> grep "Page *size" | \ >>> sed -e 's/Page *size: *\\([[:digit:].]*\\) *x

Re: [Groff] PDFPIC macro

2014-09-18 Thread Peter Schaffter
On Thu, Sep 18, 2014, Keith Marshall wrote: > > On 17/09/14 22:22, Peter Schaffter wrote: > > Yes. The way groff stands now, I'm uneasy relying on external tools > > and .sy for anything but local, user-written macros. There's precedent, > > though, in www.tmac (PIMG), and this seems to be the be

Re: [Groff] PDFPIC macro

2014-09-18 Thread Peter Schaffter
On Wed, Sep 17, 2014, Ralph Corderoy wrote: > Can't argue with a post that uses `whence'. Would be nice to see a bit > more `{,t,w}hither'. :) > > . sy pdfinfo @$1 | \ > > grep "Page *size" | \ > > sed -e 's/Page *size: *\\([[:digit:].]*\\) *x *\\([[:digit:].]*\\).*$/\ > > .nr pdf-wid (p;\\1)\\

Re: [Groff] PDFPIC macro

2014-09-18 Thread Steffen Nurpmeso
Keith Marshall wrote: |On 17/09/14 21:47, Steffen Nurpmeso wrote: |> In general it is a pity that it is impossible to generate a complete |> document with TOC, index etc. in "safe" mode. But this is way |> off-topic. | |It may be off-topic, but FWIW, it is perfectly feasible to do all of

Re: [Groff] PDFPIC macro

2014-09-18 Thread Steffen Nurpmeso
Keith Marshall wrote: |On 17/09/14 22:22, Peter Schaffter wrote: |> On Wed, Sep 17, 2014, Steffen Nurpmeso wrote: |>> I'm not in the position to say something to PDFPIC today (direct |>> support would be pretty cool!), but there should be general tools |>> for sh(1) (perl(1)...) that can be i

Re: [Groff] PDFPIC macro

2014-09-18 Thread Ralph Corderoy
Hi Peter, > whence processing is passed over to PSPIC. Can't argue with a post that uses `whence'. Would be nice to see a bit more `{,t,w}hither'. > . sy pdfinfo @$1 | \ > grep "Page *size" | \ > sed -e 's/Page *size: *\\([[:digit:].]*\\) *x *\\([[:digit:].]*\\).*$/\ > .nr pdf-wid (p;\\1)\\n\