[PATCH inputproto] Add minimal asciidoc syntax

Gaetan Nadon memsize at videotron.ca
Tue Mar 15 12:45:57 PDT 2011

On Tue, 2011-03-15 at 15:29 +1000, Peter Hutterer wrote:

> Though this protocol description is mainly to be viewed as textfile, a
> few
> minor changes make it parsable for asciidoc to spit out reasonably
> nicely-formatted html code.
> Changes include:
> - underline section headers with the matching lines
> - add linebreaks before lists to parse them as lists
> - change indentation level for normal text to be left-marging aligned
> and
>   for <pre> text to be indented
> - comment out section dividers
> It's possible to run asciidoc XI2proto.txt and get some nice html
> output
> now.

I get a bunch of fatal errors like this one:

        asciidoc: ERROR: XI2proto.txt: line 12: only book doctypes can contain level 0 sections

The output produced looks nice, but rc=1 aborts the makefile.
There are also whitespace errors in the source.

I'll post a prototype patch to make it easier to try things out.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110315/6c53a164/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110315/6c53a164/attachment.pgp>

More information about the xorg-devel mailing list