DocBook XSL is a set of XSLT stylesheets for transforming DocBook XML documents to various output formats. The stylesheets are maintained as an open-source project at SourceForge.
I'm at the proof-of-concept phase of building some DocBook → PDF transformation into a web application. The basic requirements are:
It has to run "out of the JAR"—setting up the stylesheet as files on the appserver's filesystem is not what I'm…
I have some asciidoc source that I am converting to chunked HTML and PDF for documentation. The document contains external links, as follows:
ASCIIDOC source:
https://some-url-here.tld[Link Text]
Asciidoc is correctly generating the following XML…
This FAQ section describes how to set the "section depth"/"TOC level"/toclevel shown in the table of contents. However, I've no idea how to implement this in my simple:
$ asciidoctor my.txt -o my.html
command. Does anyone?
We use the DocBook XSLTs to convert CALS tables to HTML for Web output. Some of our CALS tables contain HTML markup, specifically lists. I'm not sure if this is normal, but our print (PDF) formatting engine - which gets the CALS tables as input -…
I'm going from docbook to fo to pdf and I need to have text that goes to different parts of the document when clicked. I'm using the following format
Link To Trace
Where…
I have to make some form of documentation of the projects I did , along with screenshots etc , and I'd like to make it less plain , so I tried adding CSS to my file , but it didn't work . After some browsing I found out that XSL or XSLT would be…
To set up the docbook toolchain with Saxon, in our classpath,
I understand we need a JAR file with some extensions.
Now I can't find it on the internet.
Here is the information from Bob Stayton's wonderful book on "Docbook: XSL"
The DocBook…
Instead of modifying the stock templates that come with many suites, I'd like to extend the stock templates so when the stock template gets upgraded/updated with a new version, I can keep my own XSLT extension/modification of the stock XSLT and use…
I'm using Docbook-XSL and Apache FOP to generate PDF documents containing tables. With the default settings, tables have fixed-width columns and lines wrap at word boundaries. But if a word is longer than the cell width, it overflows the cell. I'd…
I have a bunch of DocBook XML files that all get merged into a single DocBook file for conversion into HTML. Each individual document is a reference page (for a function or similar construct). I use chunked HTML generation, so that each reference…
I have a Docbook 4 document with several very tall graphics (not all but some of them are much taller than their width). I want them to scale to fit on the page automatically.
Is there a way to define this in stylesheet? There are over a 1000…
I am experimenting with DocBook → FO→ PDF conversion (new to DocBook). fop fails on (on the MWE below) with:
"fo:list-item-label" is missing child elements. Required content model: marker* (%block;)+
The commands I run are these two…
I went the docbook way for a book I am writing. Many nice things but, after a lot of work, I came to regret it. I am using XMLmind for the rendering part (and Bbedit for the editing).
The last drop was when I realized there is no easy way of…