On 27 October 2014 09:35, Alex Petrenko <[email protected]> wrote:
> Hi all!
> I am trying to render this book: https://github.com/aantonop/bitcoinbook
>
> It uses asciidoc format with some non-standard "latexmath" tags for
> mathematical formulae.
> I already spent some hours trying to figure out how to render it. What I
> tried to do is basically:
>
>  asciidoc -b docbook45 -o test.xml book.asciidoc
>
> and then:
>
>  dblatex -D --pdf -o test.pdf test.xml
>
> I tried many different tools with many different settings, but I always get
> errors on the second stage (rendering docbook produced by asciidoc to pdf or
> html):
>
> XRef to nonexistent id: 51pct
> Missing character &#xfffd;
> Missing character &#xfffd;
> Build test.pdf
> pdflatex failed
> test.tex:861: Package Listings Error: Couldn't load requested language.
> test.tex:861: leading text: ...lstlisting}[language=json,firstnumber=1,]
> test.tex:861: Package Listings Error: language json undefined.
> test.tex:861: leading text: ...lstlisting}[language=json,firstnumber=1,]
> ...
>
> and many many more errors, than compilation fails.
>
> Can someone tell, what am i doing wrong?
> I really want to read the whole book with all the formulas and equations
> rendered properly. I'll buy it after release anyway, but it was postponed
> again until december, so i cant wait anymore :)
> Please help
>

Try reducing the problem to a minimal document that causes the error,
start with only one chapter, then reduce it to the construct that
causes the problem.

Then if you can't fix it re-post the minimal document.

Cheers
Lex

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