[PATCH util-macros 1/2] Add XORG_WITH_W3M for HTML to text conversion

Dan Nicholson dbn.lists at gmail.com
Mon Mar 21 17:46:41 PDT 2011

On Mon, Mar 21, 2011 at 5:39 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> On Mon, 2011-03-21 at 16:59 -0700, Alan Coopersmith wrote:
> Isn't w3m just one of the choices XMLTO might be using?   I'm not sure we
> want
> to try to replicate all the XMLTO configure options in every one of our
> modules.
> There is also "links" and "lynx". I checked that all platforms have w3m. As
> a backup plan, I can
> add a macro to select one of the 3 in the unlikely event w3m is not
> available and someone
> has no other way of building docbook in text format.
> This is a nice way of turning off w3m for those who have it but do not wish
> to use it.
> We had a few complaints about w3m being used under the cover by xmlto.
> In any case, the work will be done by the macro and not in everyone of our
> modules.

I'm not volunteering to do it, but I always thought it would be nice
if the doc macros actually tried to generate a test doc instead of
just checking for tools in the path. It's fairly easy to get xmlto in
your path but actually have a hosed up docbook toolchain.


More information about the xorg-devel mailing list