Hi,

Asciidoc is great! 
I'm currently building a site and we've managed to bridge Asciidoc output 
into a wordpress setup and it is starting to look really great.

I would like to export all of the pages I write as PDF versions of the web 
pages I am building...
But, I'm running into two errors...

First, here is a link to the file I am trying to test with: test 
file<http://cocoaforartists.org/outgoing/fullTest.txt>

1) asciidoc recognizes :language: objective-c
But, a2x does not...

temp solution: i can get around this by removing it from the file before 
using a2x

2) i get a parse error at the end of the first line of a code block... I've 
tried a couple different files and the error occurs always after the first 
line of code...

For example, I have the following in my test file:

[source]
----
[N][S][a-zA-Z0-9$_]*, Name.Class
[U][I][a-zA-Z0-9$_]*, Name.Class
[C][4][a-zA-Z0-9$_]*, Name.Class
[C][G][a-zA-Z0-9$_]*, Name.Label
[Q][C][a-zA-Z0-9$_]*, Name.Class
----


The error I get is:

/Users/moi/Dropbox/C4Website/Tutorials/Tutorials/writeup_test.xml:456: 
parser error : Opening and ending tag mismatch: section line 442 and 
programlisting
background.transform = CGAffineTransformMakeScale(1.5, 
1.5);</programlisting>
                                                                            
 ^


A full verbose error output can be found here: error 
file<http://cocoaforartists.org/outgoing/parseError.txt>

I saw 3 other posts on this "Opening and ending tag mismatch" and I went 
through my file to check for missing or extra " characters and everything 
matched up.

Cheers,
T

PS thanks a lot asciidoc is great!

-- 
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/-/H8ZZPNCzGvsJ.
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