Setting up a toolchain for working with Docbook on Windows often requires setting things up using Cygwin. Many people are just simply not willing to do that. This tutorial will show you how to set up a native environment to work with Docbook, and show you how to make CHM and PDF files on Windows. Format Conversion Convert PDF to TXT, PDF to JPG, PDF to GIF, PDF to PNG, PDF to BMP. PDF Viewer for Windows 10 1.02 Pros. It's a PDF viewer. Installing And Using An XML/SGML DocBook Editing Suite Setting Up A Free XML/SGML DocBook Editing Suite For Windows And. Installing And Using An XML/SGML.
Active6 years, 1 month ago
I have been using an AsciiDoc to PDF tool chain using DBLaTeX under Win XP for a while with no (major) issues. However, trying to get the same tool chain to work under Win 7 I'm having some problems. I'm not sure if I am missing something obvious, or if it is in fact a Win 7 problem.
The issue appears to be with image paths, in that pdflatex (installed with MikTeX) chokes when processing image elements. Now, my knowledge/understanding of DocBook, XSLT, LaTeX etc. is poor at best. However, it looks like pdflatex is treating the
img and zoso.png in .imgzoso.png as (two) processing instructions. Should the directory separators be forward slashes instead of back slashes?
When I look at the verbose output, I see the dblatex XSL stylesheets are applied to the source XML document to produce a .rtex file as a first stage. Seems in this file, directory separators are in fact forward slashes (as in the source XML file). However, the resulting .tex file (which I assume is the source for pdflatex to convert to PDF) those forward slashes are now backslashes.
I've tried to provide as much info as possible below, but apologies if I missed anything crucial/useful. Does anyone have any ideas how to solve this issue? Thanks 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:
Commands output:
XML file snip:
rtex file snip
tex file snip:
Cheers,
Will
SqueezeMyLemonSqueezeMyLemon
2 AnswersConvert Docbook To Pdf
After a lot of testing I found the issue is with the version of dblatex installed, or more specifically the version of
dbtexmf that is installed with it. Installing version 0.3 of dblatex (instead of the latest, currently 0.3.4) solved the issue.
Hope that helps someone who has the same issue.
Cheers,
Will
SqueezeMyLemonSqueezeMyLemon
Yes; most TeX implementations (all I know of on Windows) will glady handle '/' as a path separator; but ' is always treated as backslash and as such starts a TeX command.
Convert Docbook To Pdf Windows 10Martin SchröderMartin SchröderConvert Docbook To Pdf Windows 8
2,40733 gold badges2929 silver badges5353 bronze badges
Windows Convert To PdfNot the answer you're looking for? Browse other questions tagged docbookpdflatexdblatex or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |