On 2 February 2012 04:12, mfosguy <[email protected]> wrote:
> Hi
>
> I hope this is the place to post this. If not please let me know where
> I should, thanks.
>
> I installed asciidoc 8.6.6 and Python 2.7.
> I can generate DocBook xml with this command:
>
> python asciidoc.py --backend docbook  --doctype article  --out-file
> doc/source-highlight-filter.xml doc/source-highlight-filter.txt
>
> I can generate HTML with this command:
>
> python asciidoc.py doc/article.txt
>
> When I try this example: python a2x.py -f pdf doc/source-highlight-
> filter.txt
>
> I get errors:
>
> a2x: ERROR: xmllint --nonet --noout --valid "C:\Users\Public\Documents
> \MAKE ELECTRONICS BOOK PROJECT\asciidoc tools\asci
> idoc-8.6.6\doc\source-highlight-filter.xml" returned non-zero exit
> status 1
>

Try running the xmllint command in a terminal to get a more useful
error message.

> If I turn xmllint off...
>
> # XMLLINT = 'xmllint'         # Set to '' to disable.
> XMLLINT = ''
>
> I get this error:
>
> a2x: ERROR: dblatex -t pdf -p "C:\Users\Public\Documents\MAKE
> ELECTRONICS BOOK PROJECT\asciidoc tools\asciidoc-8.6.6\dbl
> atex\asciidoc-dblatex.xsl" -s "C:\Users\Public\Documents\MAKE
> ELECTRONICS BOOK PROJECT\asciidoc tools\asciidoc-8.6.6\dbl
> atex\asciidoc-dblatex.sty"   "C:\Users\Public\Documents\MAKE
> ELECTRONICS BOOK PROJECT\asciidoc tools\asciidoc-8.6.6\doc\
> source-highlight-filter.xml" returned non-zero exit status 1
>

Try running the dblatex command in a terminal to get a more useful
error message.

> Anybody know what I'm doing wrong or have failed to install.

Presuming you *have* correctly installed xmllint and dblatex

Cheers
Lex

>
> Thanks
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> 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.
>

-- 
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