<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Wed, 2010-06-16 at 15:41 -0700, Dan Nicholson wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Wed, Jun 16, 2010 at 3:24 PM, Julien Cristau &lt;<A HREF="mailto:jcristau@debian.org">jcristau@debian.org</A>&gt; wrote:
&gt; On Wed, Jun 16, 2010 at 15:00:10 -0700, Jeremy Huddleston wrote:
&gt;
&gt;&gt; The stderr from the above command shows a bunch of lines like:
&gt;&gt; Calling `pnmcut 165 158 583 397 &lt; /var/folders/82/3fx+36+h6bh12wg5m
&gt;&gt; +xpm4ym++++fn/T/groff-page-KcEGLl | pnmcrop -quiet | pnmtopng -
&gt;&gt; background rgb:f/f/f -transparent rgb
&gt;&gt; :f/f/f &gt; images/xim-image1.png
&gt;&gt; ' returned status 32512
&gt;&gt;
&gt;&gt; There is no pnmcut available on the system. &nbsp;Why are pnm* getting
&gt;&gt; run by groff? &nbsp;Is that something that &quot;we&quot; (X11) have setup (and
&gt;&gt; should therefore be checking in util-macros), or is that a
&gt;&gt; dependency of groff which Mac OSX is not shipping (and I should
&gt;&gt; therefore bug someone else).
&gt;&gt;
&gt; It looks like these utilities are needed by grohtml:
&gt;
&gt; DEPENDENCIES
&gt; &nbsp; &nbsp; &nbsp; grohtml is dependent upon the png utilities (pnmcut, pnmcrop, pnmtopng)
&gt; &nbsp; &nbsp; &nbsp; and &nbsp;GhostScript (gs). &nbsp;pnmtopng (version 2.37.6 or greater) and pnmcut
&gt; &nbsp; &nbsp; &nbsp; from the netpbm package (version 9.16 or greater) will work &nbsp;also. &nbsp; It
&gt; &nbsp; &nbsp; &nbsp; is &nbsp;also &nbsp;dependent upon psselect from the PSUtils package. &nbsp;Images are
&gt; &nbsp; &nbsp; &nbsp; generated whenever a table, picture, equation or line is encountered.

Yeah, I'm pretty sure this is all just fallout from -Thtml. Maybe we
need to expand the XORG_WITH_GROFF macro to test that -Thtml works and
export a HAVE_GROFF_HTML conditional. Then you could make the html
targets in libX11/specs/troffrules.in conditional on that.

Gaetan, you have any thoughts on groff html?

</PRE>
</BLOCKQUOTE>
I have noticed this issue when I reviewed the makefiles. Plus many other issues. And I got different results depending on the version of the tools. I personally have no experience with any of the doc tools. The only thing I did was to add the option to generate the images in the images directory and give them a name (<TT><FONT COLOR="#1a1a1a">-P-Dimages -P-Ixim-image</FONT></TT>) . Before, these images were given a name based on the process number and were accumulated for each run and never cleaned-up. <BR>
<BR>
I can update the macro to check for the presence of these commands, but probably not the version. That can't hurt. On my computer, they are all present. About one out of 5 images gets generated but they all look wrong. See attachment.<BR>
<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
--
Dan
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>