Questions tagged [docbook-xsl]

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.

30 questions
4
votes
1 answer

Removing citation from 'list of figures' in DocBook

I am writing some document in DocBook and I have there some pics in the document, like this:
Logitná transformácia <xref linkend="id8"/>
2
votes
1 answer

How can I embed DocBook XSLT transformation in a Java web app?

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…
Paul A. Hoadley
  • 1,518
  • 1
  • 13
  • 17
2
votes
1 answer

ASCIIDOC to PDF fop issue link issue

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…
2
votes
1 answer

How to set Asciidoc toc.section.depth value from simple 'asciidoctor file.txt -o file.html' command?

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?
Johnny Utahh
  • 2,389
  • 3
  • 25
  • 41
1
vote
1 answer

DocBook XSL: How to preserve HTML within CALS table during conversion to HTML table

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 -…
wst
  • 11,681
  • 1
  • 24
  • 39
1
vote
1 answer

Why won't my docbook links work when linking to something earlier in the document?

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…
R Zol
  • 55
  • 5
1
vote
1 answer

How to customize Docbook with stylesheet ? Where do I find good resources?

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…
gameerik
  • 55
  • 1
  • 8
1
vote
1 answer

docbook saxon toolchain extension jar file -- cannot find same

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…
Laurence Leff
  • 76
  • 1
  • 8
1
vote
2 answers

Extend an XSLT template to not effect stock templates during processing?

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…
EhevuTov
  • 20,205
  • 16
  • 66
  • 71
1
vote
1 answer

XSL-FO: wrapping long words in table cell

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…
laurt
  • 1,811
  • 3
  • 15
  • 18
1
vote
2 answers

How do you get DocBook XSL's chunking to generate a full TOC for each page?

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…
Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
1
vote
1 answer

Scaling tall graphic to fit in page

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…
J.W.
  • 81
  • 10
0
votes
0 answers

DocBook 5.x: bibliography citation with extra text, or completely custom text?

I have a book with bibliography like A This is the book title and can cite individual works with A, which…
eudoxos
  • 18,545
  • 10
  • 61
  • 110
0
votes
0 answers

Error on DocBook's linegroup (fo:list-item-label is missing child elemens)

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…
eudoxos
  • 18,545
  • 10
  • 61
  • 110
0
votes
0 answers

No page break in docbook

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…
diciotto
  • 69
  • 3
1
2