[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] HTML output of a man page containing an equation

From: Keith Marshall
Subject: Re: [Groff] HTML output of a man page containing an equation
Date: Sun, 31 Jul 2005 13:41:37 +0100

On Sunday 31 July 2005 1:57 am, Bernd Warken wrote:
> > > I am having a problem converting a man page containing an equation to
> > > html format.
> > I've tried your example with a recent version of groff (1.19.2) and it
> > appears to work fine.
> That is partly true.  `grohtml' transforms the equation into an image that
> is stored as a png picture in the current directory.  `groff' generates a
> html output containing a reference to this stored image file.
> This could be alright, but goes wrong when you are not in a writable
> directory or the html output is stored to some file in another directory.
> The non-writable directory problem could be fixed by making `groff' store
> the images in the temporary directory; but then the finding and the
> removement of the suitable image files could be complicated.

Isn't this why grohtml provides the `-D imagedir' option -- to allow the user 
to specify *his* preferred location for the image files?  So...

    groff  -Thtml  -P-Dimagedir ...

would seem to be what you need.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]