I solved this problem for me by having a pseudo comment in the first line of my 
documents
which indicates how this individual document is to be handled.

In my bash-script, that eventally calls groff with appropriate options and 
preprocessors I have

FILE="$1"
        # check for .\" eqn tbl add lnd eng mom
        for i in `read x < $1; echo $x`
        do
          case $i in
          eqn) OPTS="$OPTS -e" ;;
          lnd) FORM=lnd ;;
          tbl) OPTS="$OPTS -t"
               PIPE="$PIPE | squezetbl "
               ;;
          add) PIPE="$PIPE | addtbl.pl " ;;
          eng) longdash="\40-\40 \\\\(em" ;;
          mom) MAC=mom ;;
            *) :
          esac
        done

Best,
  ulrich

On Fri, Mar 22, 2024 at 09:01:27PM +0100, Oliver Corff via wrote:
> Dear All,
> 
> recently I compiled, and re-compiled, and again recompiled a set of
> various documents with different tables, equations etc.. For each of the
> documents, the precise requirements of preprocessors were different, and
> more often than not, I forgot to set the appropriate groff option when
> running the compilation to the effect that I had to redo my edit - check
> cycle. Since there is no groffer script anymore, may I humbly propose a
-- 

Reply via email to