pdflatex - Issue with DocBook to PDF using dblatex under Windows 7 -


i have been using asciidoc pdf tool chain using dblatex under win xp while no (major) issues. however, trying same tool chain work under win 7 i'm having problems. i'm not sure if missing obvious, or if in fact win 7 problem.

the issue appears image paths, in pdflatex (installed miktex) chokes when processing image elements. now, knowledge/understanding of docbook, xslt, latex etc. poor @ best. however, looks pdflatex treating \img , \zoso.png in .\img\zoso.png (two) processing instructions. should directory separators forward slashes instead of slashes?

when @ verbose output, see dblatex xsl stylesheets applied source xml document produce .rtex file first stage. seems in file, directory separators in fact forward slashes (as in source xml file). however, resulting .tex file (which assume source pdflatex convert pdf) forward slashes backslashes.

i've tried provide info possible below, apologies if missed crucial/useful. have ideas how solve issue? in advance!

os:
windows 7 enterprise 64-bit, sp1

tools installed:
asciidoc: 8.6.8
python: 2.7.5
dblatex: 0.3.4
libxml2: 2.7.8
libxslt: 1.1.26
iconv: 1.9.2
zlib: 1.2.5
miktex: 2.9 64-bit

command:

python c:/bin/python27\scripts\dblatex --verbose --texinputs="c:/bin/python27/share/dblatex/latex/contrib/db2latex" --xsl-user="c:/bin/python27/share/dblatex/latex/contrib/db2latex/param-db2latex-sa.xsl" --texstyle="db2latex-sa" --param toc.section.depth=3 --param doc.section.depth=3 --param draft.mode=yes "c:\bin\asciidoc-custom\install-test\cf-sa-asciidoc-customisation_test.xml" 

commands output:

build book set list... xsltproc -o c:\users\wstubben\appdata\local\temp\tmpemvwua\doclist.txt --xinclude --xincludestyle doclist.xsl c:\bin\asciidoc-custom\install-test\cf-sa-asciidoc-customisation_test.xml build listings... xsltproc -o c:\users\wstubben\appdata\local\temp\tmpemvwua\listings.xml --xinclude --xincludestyle --param current.dir 'c:\bin\asciidoc-custom\install-test' c:\bin\python27\share\dblatex\xsl\common\mklistings.xsl c:\bin\asciidoc-custom\install-test\cf-sa-asciidoc-customisation_test.xml xsltproc -o cf-sa-asciidoc-customisation_test.rtex --xinclude --xincludestyle --param current.dir 'c:\bin\asciidoc-custom\install-test' --param listings.xml 'c:\users\wstubben\appdata\local\temp\tmpemvwua\listings.xml' c:\users\wstubben\appdata\local\temp\tmpemvwua\custom.xsl c:\bin\asciidoc-custom\install-test\cf-sa-asciidoc-customisation_test.xml xslt stylesheets docbook - latex 2e (0.3.4) =================================================== build cf-sa-asciidoc-customisation_test.pdf built-in module pdftex registered no support found ifxetex no support found fontspec no support found xltxtra no support found fontenc no support found inputenc no support found fancybox built-in module makeidx registered no support found db2latex-sa building additional files... checking if compiling necessary... output file doesn't exist pdflatex -interaction=batchmode cf-sa-asciidoc-customisation_test.tex pdflatex: no connection made because target machine actively refused it. pdflatex: data: connect failed in tcp_connect() pdflatex failed c:\users\wstubben\appdata\local\temp\tmpemvwua\cf-sa-asciidoc-customisation_test.tex:115: undefined control sequence \img. c:\users\wstubben\appdata\local\temp\tmpemvwua\cf-sa-asciidoc-customisation_test.tex:115: leading text: ...spectratio=true]{.\img\zoso.png}}}}{zoso} c:\users\wstubben\appdata\local\temp\tmpemvwua\cf-sa-asciidoc-customisation_test.tex:115: undefined control sequence \zoso. c:\users\wstubben\appdata\local\temp\tmpemvwua\cf-sa-asciidoc-customisation_test.tex:115: leading text: ...spectratio=true]{.\img\zoso.png}}}}{zoso} c:\users\wstubben\appdata\local\temp\tmpemvwua\cf-sa-asciidoc-customisation_test.tex:115: undefined control sequence \img. c:\users\wstubben\appdata\local\temp\tmpemvwua\cf-sa-asciidoc-customisation_test.tex:115: leading text: ...spectratio=true]{.\img\zoso.png}}}}{zoso} c:\users\wstubben\appdata\local\temp\tmpemvwua\cf-sa-asciidoc-customisation_test.tex:115: undefined control sequence \zoso. c:\users\wstubben\appdata\local\temp\tmpemvwua\cf-sa-asciidoc-customisation_test.tex:115: leading text: ...spectratio=true]{.\img\zoso.png}}}}{zoso} unexpected error occured error: pdflatex compilation failed 

xml file snip:

<mediaobject>   <imageobject>   <imagedata fileref="./img/zoso.png"/>   </imageobject>   <textobject><phrase>zoso</phrase></textobject> </mediaobject> 

rtex file snip

\begin{center} \imgexists{./img/zoso.png}{{\imgevalsize{./img/zoso.png}{\includegraphics[width=imgwidth,height=\imgheight,keepaspectratio=true]{./img/zoso.png}}}}{Ͱtzosoͱt}\end{center} 

tex file snip:

\begin{center} \imgexists{.\img\zoso.png}{{\imgevalsize{.\img\zoso.png}{\includegraphics[width=\imgwidth,height=\imgheight,keepaspectratio=true]{.\img\zoso.png}}}}{zoso}\end{center} 

cheers,
will

after lot of testing found issue version of dblatex installed, or more version of dbtexmf installed it. installing version 0.3 of dblatex (instead of latest, 0.3.4) solved issue.

hope helps has same issue.

cheers,
will


Comments