Please post a minimal example to illustrate the error along the a2x command you used.

I had no problems with this test file:

$ cat t.txt
ASCIIDOC(1)
===========
:doctype: manpage


== NAME
asciidoc - converts an AsciiDoc text file to HTML or DocBook


== SYNOPSIS
*asciidoc* ['OPTIONS'] 'FILE'


== DESCRIPTION
Lorum ipsum...

== SEE ALSO
Lorum ipsum...

== FILES
Lorum ipsum...

$ asciidoc --version
asciidoc 8.6.8

$ a2x -fmanpage t.txt

$


Cheers, Stuart


On 02/08/12 01:14, Alan Bowman wrote:
I'm trying to create man pages using asciidoc, using the latest version from
MacPorts (8.6.8) on Mac OS X 10.6.

If I try to use headings such as SEE ALSO and FILES, I'm getting an "error
status 4", and the message from the a2x command, using the verbose option:
"validity error : Element refsect1 content does not follow the DTD". If I remove
those headings, and use only the headings mentioned in the User Guide,
everything works correctly.

Is there a way I can add those headings, or any other headings I need, so that
they can be used in the man pages? Also, please let me know if I need to provide
further information.


--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/asciidoc/-/IVsDk9S8y1QJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to