Hi ulrich, > As I reported earlier, I use the first line of a file to store hints > about (pre)processng. > Example: > .\" mom tbl pdf > and use a shell script to interpret this line and to control > appropriate processing.
There's also groffer(1), though I don't know how well it does. I often make the start of more complex troff source look like .\" #! /bin/sh .\" set -eu .\" f=foo .\" groff -ww -t -ma4 -mm -rmicro=0 $f.tr >$f.ps 2>$f.err .\" sed -i '/\<warning: number register `3[^'\'']*'\'' not defined$/d' $f.err .\" ! grep ^ $f.err .\" ps2pdf $f.ps .\" rm $f.ps $f.err .\" ... .\" exit 0 Then I can either `sed s/...// foo.tr | sh', or copy-paste a rectangle without the `.\"' using Ctrl-Button1 in some X terminals, or just use it as a guide to the different one-off formatting I want to do. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy