Re: [Groff] producing a booklet with groff ?

2012-12-03 Thread Tadziu Hoffmann
[Sending this to the list, because it may be of general interest.] > How do I tell which fonts I am getting? You could try opening the file with gs, i.e., simply doing gs filename on the command line. My ghostscript gives me messages like Loading Helvetica font from [...]/fonts/Type1/H

Re: [Groff] What does 'groff <<

2012-12-03 Thread Tadziu Hoffmann
[...] > > in a shell script file would cat the content, down to the > > end of the file, into outfile just as if you were typing > > it at a terminal! > :-) This was back when the script's stdin was the script. This is similar to how you can read the input stream in Postscript. Normally th

Re: [Groff] What does 'groff <<

2012-12-03 Thread Mike Bianchi
On Mon, Dec 03, 2012 at 07:19:48PM +, Ralph Corderoy wrote: > : > > For instance > > > > outfile while read a > > do > > process ${a} > > done > > That should't work AIUI, and it doesn't here.

Re: [Groff] What does 'groff <<

2012-12-03 Thread Ralph Corderoy
Hi Mike, > Actually all shells that I know of don't specify that redirection take > place at the end of the command line. Witness: > > $ <<<$HOME cat > /home/mbianchi > > $ <<<$HOME >/tmp/i cat > $ cat /tmp/i > /home/mbianchi Well, with caveats; you've got a `simple' com

Re: [Groff] EPS vs PDF support in MOM

2012-12-03 Thread Peter Schaffter
Kobus -- On Mon, Dec 03, 2012, Kobus Botha wrote: > The problem I have now is that PDF_IMAGE does not act as > a replacement for PSPIC and I want to know if the current > development snapshots of groff supports eps2? I just did a quick test, converting a 23K .ps image to .eps2 with 'convert'. Th

Re: [Groff] What does 'groff <<

2012-12-03 Thread Mike Bianchi
On Mon, Dec 03, 2012 at 04:12:25PM +0100, Tadziu Hoffmann wrote: > > > Actually all shells that I know of don't specify that > > redirection take place at the end of the command line. > > Witness: > > > > $ <<<$HOME cat > > /home/mbianchi > > > > $ <<<$HOME >/tmp/i cat > > $ ca

Re: [Groff] What does 'groff <<

2012-12-03 Thread Tadziu Hoffmann
> Actually all shells that I know of don't specify that > redirection take place at the end of the command line. > Witness: > > $ <<<$HOME cat > /home/mbianchi > > $ <<<$HOME >/tmp/i cat > $ cat /tmp/i > /home/mbianchi Hey, that's cool! I'd never even thought about it. So

Re: [Groff] What does 'groff <<

2012-12-03 Thread Mike Bianchi
On Mon, Dec 03, 2012 at 12:46:16PM +, Ralph Corderoy wrote: > : > I take the point on it not having left to right order but neither has > bar compared to > cat foo | bar > but we rightly shun the latter. Having used <<< for some years, I'm > just as happy reading `command, its o

Re: [Groff] What does 'groff <<

2012-12-03 Thread Ralph Corderoy
Hi, Johann wrote: > On 12/02/2012 07:40 PM, Clarke Echols wrote: > > In a recent email the syntax: > > > > groff << > > > was used. > > It's called "Here string" or "here document" and used extensively in > Bash / Perl / Python / Ruby programming. That's mixing two different things together.

[Groff] EPS vs PDF support in MOM

2012-12-03 Thread Kobus Botha
Hi I've been using groff for generating reports which can contain screenshots with the MOM macros. I used the groff currently in the Ubuntu repos which does not include pdfmom. The eps images worked well except for the time taken to build the pdf due to the size of the eps files which are in