Hi Jack,

Jack Woehr wrote on Thu, Jul 26, 2012 at 12:46:24PM -0600:

> is there a WYSIWIG editor for mdoc format?

No, and there cannot be.

The purpose of a WYSIWIG editor is to achieve a particular
visual impression (most WYSIWIG editors suck even at that task,
but that's beside the point).

The purpose of the mdoc(7) format is semantic annotation of
words - as in: This word is a placeholder for a command line
argument.  That word is the name of a special environment
variable (and has to be typed verbatim).  These words are
optional.  Either of those can be provided as an alternative.
Here is a function name and here are its arguments.

As with all semantic annotation formats, presentation is left
to the formatting frontend, so WYSIWIG is completely meaningless
in that context.  Output will look *very* different on an ASCII
terminal, as a PDF document, even as HTML in firefox or lynx.

The mdoc(7) language is quite easy.  Reading mdoc(7), you can
learn the basics quickly.  As with any language, maturing your
style will take a bit longer.

Yours,
  Ingo

Reply via email to