> I realize that it is possible to use the environment variable
> GRAP_DEFINES to pass the name of the grap definition file to grap,
> but I'd really like to be able to do this from the groff command
> line.  How do I do this?  The groff "-P" option seems to pass
> arguments on to postprocessors only.

Indeed, groff has no ability to pass arguments to preprocessors, even
for the ones which come with the groff bundle.  For eqn, to name an
example, Clarke's solution was to add configuration support directly
into the document via a special first .EQ ... .EN section.  Maybe
something similar exists for grap also?  Otherwise, you can pass the
environment variable directly on the command line:

  GRAP_DEFINES=foo groff ...


     Werner


_______________________________________________
Groff mailing list
Groff@gnu.org
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to