Re: Release Candidate 1.23.0.rc1

2022-04-28 Thread Hans Unzner




Am 28.04.22 um 02:32 schrieb Bjarni Ingi Gislason:

On Wed, Apr 27, 2022 at 12:49:18PM +0200, Hans Unzner wrote:

Ok I try to restate my question.
As far as I know, an-old.tmac is used when converting a man page to HTML
with a command like this
groff -Thtml -man a_man_page.9 > a_man_page.html
But now I want to use a modified version of an-old.tmac without replacing it
in the /usr/share/groff/ directory.
Is it possible to do that? I always get a blank output when passing the
modified macro with the -m option.


[...]

   Where and how does "groff" (not) find your file "an-old-fixed"?
I put the file in the same directory like the man page file, but that 
does not seem to work...


N.B.

   "an-old.tmac" is only read once due to the line

.do if d RI .nx






Re: Release Candidate 1.23.0.rc1

2022-04-28 Thread Bjarni Ingi Gislason
On Fri, Apr 29, 2022 at 12:01:15AM +0200, Hans Unzner wrote:
> 
> 
> Am 28.04.22 um 02:32 schrieb Bjarni Ingi Gislason:
> > On Wed, Apr 27, 2022 at 12:49:18PM +0200, Hans Unzner wrote:
> > > Ok I try to restate my question.
> > > As far as I know, an-old.tmac is used when converting a man page to HTML
> > > with a command like this
> > > groff -Thtml -man a_man_page.9 > a_man_page.html
> > > But now I want to use a modified version of an-old.tmac without replacing 
> > > it
> > > in the /usr/share/groff/ directory.
> > > Is it possible to do that? I always get a blank output when passing the
> > > modified macro with the -m option.
> > > 
> > [...]
> > 
> >Where and how does "groff" (not) find your file "an-old-fixed"?
> I put the file in the same directory like the man page file, but that does
> not seem to work...

  How is "groff" supposed to find your marcro file (an-old-fixed.tmac)?

  Why?

-- 
Bjarni I. Gislason