Gaius Mulley <[EMAIL PROTECTED]> schrieb am 21.07.05 11:47:49:
> Dominique Orban <[EMAIL PROTECTED]> writes:
> 
> > 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.

A better method might be to find a possibility to include the picture source
directly into the html output.  But I do not have any idea on this.

I fixed `groffer' to always work by changing to the temporary directory
before `groff' is called.

Other ideas?

Bernd Warken

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193



_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to