[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trouble with groff -M
From: |
Werner LEMBERG |
Subject: |
Re: trouble with groff -M |
Date: |
Thu, 06 Jun 2002 09:48:50 +0200 (CEST) |
> The following example shows where the `-M' trouble originates.
>
> echo '.ds Test This is a test string\"'>test.tmac
> echo 'Example: \*[Test]' | groff -M. -m test -Tlatin1
>
> produces an error:
> troff: fatal error: can't find macro file test
On my SuSE 7.3 linux box this works. Please try
echo 'Example: \*[Test]' | strace -f -ff -F -o test.strace \
groff -M. -m test -Tlatin1
and check the `open' calls in the `test.straceXXX' files. Maybe this
helps to locate the problem.
> But but if you copy, link, or move `test.tmac' to `tmac.test' groff
> will succeed.
>
> mv test.tmac tmac.test
> echo 'test: \*[Test]' | groff -M. -m test -Tlatin1
>
> produces
> Example: This is a test string
Strange. This is the old behaviour of troff. What does `troff
--version' say?
Werner