On 23 June 2015 at 06:57, Jacques Nilo <[email protected]> wrote:
> Hi all
> I have the following asciidoc test file:
>
> *Syntax:*
> [subs="quotes"]
> ----
> Do [{While | Until} _condition_]
> ...
> _program code_
> ... +
> _<condition>_ Exit Do
> ...
> Loop [{While | Until} _condition_]
> ----
>
>
> when I try to generate a pdf file through a2x I get:
> a2x -f pdf test1.adoc
> a2x: ERROR: "xmllint" --nonet --noout --valid "/home/Jacques/test1.xml"
> returned non-zero exit status 1
>

If you use the -v option to get a verbose output you will see that the
problem is that <condition> is taken as a tag with no matching
</condition>

This is because you have told it to substitute only quotes in the
listing block, so the <> are not converted to &lt; &gt;

Substitute specialcharacters as well and it works.

Cheers
Lex


> If I remove [subs="quotes"] it works OK. But I would like to have my italics
> on the listing code.
> No problem when I generate an html file with asciidoc
> What is going on ?
> Thank you for your advice
> Jacques
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to