Re: [Groff] patch for pdfroff

2006-08-14 Thread Keith Marshall
On Sunday 13 August 2006 7:02 pm, Zvezdan Petkovic wrote: >>  ... This too is now fixed in CVS. > > First of all sorry for not responding earlier. > I was on a vacation and couldn't test the new version of pdfroff > script. No problem. Hope you enjoyed your holiday. > I checked it out today with

Re: [Groff] patch for pdfroff

2006-08-13 Thread Zvezdan Petkovic
On Mon, Jul 31, 2006 at 12:14:08AM +0100, Keith Marshall wrote: > > The problem with this sed script was that it would delete EVERYTHING > > from the `%%Page: n n' marker record for a new page, down to the first > > line of PostScript code following the associated `%%EndPageSetup' > > marker, if it

Re: [Groff] patch for pdfroff

2006-08-01 Thread Ted Harding
On 01-Aug-06 Keith MARSHALL wrote: > Ted Harding wrote: >> I recommend as a definitive example the instructions contained in >> British Standard 6008 (BS 6008:1980, ISO 3103:1980): "Method for >> Preparation of a liquor of tea ... ", of which a PDF copy can be >> found at >> >> http://ftp.ee.surr

Re: [Groff] patch for pdfroff

2006-08-01 Thread Ralph Corderoy
Hi Keith, > I don't have my photo anywhere on the web, that I know of; maybe we > could consider a "rogue's gallery" of project contributors on the > groff.ffii.org site? I'm happy to add to Werner's picture at http://troff.org/whoswho.html I've not managed to get a picture of Ted so far. Chee

Re: [Groff] patch for pdfroff

2006-08-01 Thread Keith MARSHALL
Ted Harding wrote: > A delightful piece of research! (Is that your photo in Fig. 9, > Keith?) No, it isn't. I don't have my photo anywhere on the web, that I know of; maybe we could consider a "rogue's gallery" of project contributors on the groff.ffii.org site? The document was first circulate

Re: [Groff] patch for pdfroff

2006-07-31 Thread Ted Harding
On 31-Jul-06 Werner LEMBERG wrote: > On 31-Jul-06 Keith MARSHALL wrote: >> Since it's just a bit of light hearted fun, I probably won't. I >> can't access that site from here -- blocked by firewall -- but I'll >> have a look later. > > Ok, it's now here: > > http://groff.ffii.org/groff/temp/te

Re: [Groff] patch for pdfroff

2006-07-31 Thread Keith MARSHALL
>> Since it's just a bit of light hearted fun, I probably won't. I >> can't access that site from here -- blocked by firewall -- but I'll >> have a look later. > > Ok, it's now here: > > http://groff.ffii.org/groff/temp/teapot.ms.tar.gz Thanks. I realised, on rereading that earlier post, that `

Re: [Groff] patch for pdfroff

2006-07-31 Thread Werner LEMBERG
> Since it's just a bit of light hearted fun, I probably won't. I > can't access that site from here -- blocked by firewall -- but I'll > have a look later. Ok, it's now here: http://groff.ffii.org/groff/temp/teapot.ms.tar.gz Werner ___ Gro

Re: [Groff] patch for pdfroff

2006-07-31 Thread Keith MARSHALL
>>> Can you post an URL? >> >> Not easily, unless someone can suggest a public web space I could >> upload it to FOC. I don't have it here, but IIRC, the tarball is >> about 0.5Mb. > > rapidshare.de? I hope you don't mind that your bundle is located > amidst of, hmm, slightly different stuff :-)

Re: [Groff] patch for pdfroff

2006-07-31 Thread Werner LEMBERG
> > Can you post an URL? > > Not easily, unless someone can suggest a public web space I could > upload it to FOC. I don't have it here, but IIRC, the tarball is > about 0.5Mb. rapidshare.de? I hope you don't mind that your bundle is located amidst of, hmm, slightly different stuff :-) W

Re: [Groff] patch for pdfroff

2006-07-31 Thread Keith MARSHALL
Werner Lemberg wrote, quoting me: >> I did attach it to a follow up post, forgetting that it would be >> bigger than the normal attachment size limit. Maybe Werner will >> allow it through anyway; maybe he won't. > > Well, `bigger' is an understatement :-) It's really too large, so > I've rejecte

Re: [Groff] patch for pdfroff

2006-07-31 Thread Werner LEMBERG
> I did attach it to a follow up post, forgetting that it would be > bigger than the normal attachment size limit. Maybe Werner will > allow it through anyway; maybe he won't. Well, `bigger' is an understatement :-) It's really too large, so I've rejected it. Can you post an URL? Werner

Re: [Groff] patch for pdfroff

2006-07-31 Thread Keith MARSHALL
> For anyone who fancies an amusing read, the `teapot' test source > is attached; you need the latest CVS pdfroff to format it: > > pdfroff --no-toc -ms teapot.ms > teapot.pdf Well, I'd intended to attach it, but was too quick to hit `send'. I did attach it to a follow up post, forgetting that

Re: [Groff] patch for pdfroff

2006-07-30 Thread Keith Marshall
On Sunday 30 July 2006 4:03 pm, Keith Marshall wrote: > > I'd fix that sed script myself if I had a faintest idea how to > > reliably distinguish a valid embedded EPS from a blank page. > > The problem with this sed script was that it would delete EVERYTHING > from the `%%Page: n n' marker record f

Re: [Groff] patch for pdfroff

2006-07-30 Thread Keith Marshall
On Saturday 17 June 2006 3:07 am, Zvezdan Petkovic wrote: > One issue I had is that your sed script erased completely valid EPS > files (created by ImageMagick convert program from JPG and PNG) > embedded in my presentations.  Thus I decided to make it an empty > script for --emit-ps option.  If yo

Re: [Groff] patch for pdfroff

2006-07-17 Thread Nick Stoughton
> > I also see in your latest patch the part > > > > exec > $PDF_OUTPUT > > > > Its obvious intention is to open the output file and redirect the later > > '-' (stdout) to it. Does this work with every Bourne type shell? It should work in every Korn shell derivative, including ksh, pdksh

Re: [Groff] patch for pdfroff

2006-07-14 Thread Keith Marshall
On Sunday 02 July 2006 8:56 pm, Zvezdan Petkovic wrote: [re: suppression of blank page elimination in pdfroff output] > > `--no-kill-null-pages' option, which will allow this filter to be > > explicitly disabled; (I've already begun to prepare this, and will > > commit both patches together). > > T

Re: [Groff] patch for pdfroff

2006-06-16 Thread Zvezdan Petkovic
On Fri, Jun 16, 2006 at 03:03:25PM +0100, Keith Marshall wrote: > Thanks for suggesting this potential enhancement. I think, however, that > I prefer `--emit-ps', or `--emit-postscript', (one or the other, but not > both, otherwise abbreviation becomes unwieldy), to your choice of > `--leave-po

Re: [Groff] patch for pdfroff

2006-06-16 Thread Keith Marshall
Hi Zvezdan, On Friday 16 June 2006 8:47 am, Zvezdan Petkovic wrote: > The patch against 1.19.2 that creates pdfroff2 is attached below. Thanks for suggesting this potential enhancement. I think, however, that I prefer `--emit-ps', or `--emit-postscript', (one or the other, but not both, otherw

[Groff] patch for pdfroff

2006-06-16 Thread Zvezdan Petkovic
I use pdfroff a lot. I also use gpresent a lot. I process most of my writing using a set of makefiles to automate a task. The problem is that gpresent _needs_ PostScript input, while pdfroff removes PostScript and leaves PDF only. That doesn't help, because it's an exception to the rules in my ma