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
0
votes
1 answer

m4 macro and shell redirection

Can m4 macro do redirection output to the variable with shell $(...)? Variable $MANPAGE_DOCBOOK_XSL is empty :(. if test "x${XMLCATALOG}" != "x" -a "x$have_xmlcatalog_file" = "xyes"; then …
pevik
  • 4,523
  • 3
  • 33
  • 44
0
votes
0 answers

xalan docbook stylesheets to generate XSL-FO: XSLT Error (java.lang.NoClassDefFoundError): org/apache/xml/serializer/SerializerTrace

Trying to run xalan to do docbook stylesheets, get the following: (Location of error unknown)XSLT Error (java.lang.NoClassDefFoundError): org/apache/xml/serializer/SerializerTrace Here is the shell script, Lx.sh !/bin/sh export…
Laurence Leff
  • 76
  • 1
  • 8
0
votes
1 answer

docbook saxon toolchain does not recognize customization hard-page-break

I cannot get docbook tool chain to do the hard page break as described at the end of http://www.sagehill.net/docbookxsl/PageBreaking.html (I used to have this working for me but seem to have lost the mojo.) Here is the script to invoke docbook and…
Laurence Leff
  • 76
  • 1
  • 8
0
votes
1 answer

Generate page citations with chapter numbers using DocBook/XLST-FO

I'm able to generate a page number given an ID passed: . However, I'm unable to find a reliable way to fetch the chapter number. Ideally, I would like to have all calls to fo:page-number-citation to be of the…
mrkotfw
  • 59
  • 7
0
votes
0 answers

How to convert a docbook from version 4 to 5

Is there an automated way (or with minimal manual corrections) of converting docbook 4.3 books to the latest DocBook 5?
user5630634
0
votes
0 answers

in xsl how do I get table of contents to have different formatting for different types of entries

I have to format the table of contents of a docbook using xsl so that the entries for "top level" sections are bold and have a certain font and font size, but the entries for sect2 and sect3 aren't bold and have different fonts and font sizes. How…
R Zol
  • 55
  • 5
0
votes
1 answer

docbook style sheets param.xsl

Thank you for the qyuick assistance in finding the Java extension file for Saxon to convert docbook XML into xml.fo. (Question 41362248/docbook-saxon-toolchain-extension-jar-file-cannot-find-same) Now, I discovered that I unfortunately cannot find…
Laurence Leff
  • 76
  • 1
  • 8
0
votes
0 answers

How to open a pdf from a link inside a docbook generated pdf into new pdf viewer window

In my docbook user guide project I have a link to a small 2 page quickstart in pdf format. After I generate and open the user guide pdf and then click on link to quickstart pdf, the quickstart replaces user guide in acrobat reader. Is it possible…
Jeff Cunningham
  • 145
  • 1
  • 11
0
votes
2 answers

Chunking in DocBook 5 limits TOC depth and makes it skip numbers?

I have a DocBook V5.0 document that used to be one .docbook file containing the entire book. At that point, the generated TOC looked fine. Now, I have chunked the input into 4 different .docbook files and also want chunked output. After this…
Kev
  • 15,899
  • 15
  • 79
  • 112
0
votes
1 answer

using font awesome in Docbook generated HTML

What steps should I take in creating a placeholder in docbook xml files that will use font awesome fonts in the generated HTML output. Looking for xslt examples that use font awesome fonts in HTML output generated from DocBook.
Jeff Cunningham
  • 145
  • 1
  • 11
0
votes
0 answers

DocBook Generation for HTML help page: How to?

I've been reading DocBook Documentation but I don't really get to understand how to do it. If you see this website, they contain just what I want, a treeview and a search index, it's using the same documentation for that tool, webdocs for…
Onza
  • 1,710
  • 4
  • 18
  • 31
0
votes
1 answer

"Entity 'larr' not defined" in DocBook 5

xsltproc complains "Entity 'larr' not defined'" when I try to use a plain left arrow (←, i.e. ←) which I don't see in any of the DocBook 5 entity lists. What do I need to include to get it to work? My current XSL is:
Kev
  • 15,899
  • 15
  • 79
  • 112
0
votes
0 answers

Markup-less way to title and link abbrevations/acronyms to glossary entries

Background: I'm writing a DocBook 5 document (and including in it some already-written text) with the intention of generating HTML from it. I would like to get the semantic markup correct from the beginning so I don't need to re-do it later, but…
Kev
  • 15,899
  • 15
  • 79
  • 112
0
votes
1 answer

ValidationException during PDF generation from XML using libxslt

I am using Docbook 1.78 and xsltproc (libxslt 1.1.26 with libxml 2.7.8) in command line to generate a fo-file from an XML file. My aim is to generate a PDF using Apache formatted output processor (fop; version 1.1). My XML-Input file:
M F
  • 323
  • 1
  • 3
  • 15
-1
votes
1 answer

How to get section specific headers as output in DocBook

I am trying to set section and chapter specific headers for my DocBook using the following syntax: My Guide to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/xslt-1.0" class="post-tag grid--cell" title="show questions tagged 'xslt-1.0'" rel="tag">xslt-1.0</a> <a href="../../questions/tagged/docbook" class="post-tag grid--cell" title="show questions tagged 'docbook'" rel="tag">docbook</a> <a href="../../questions/tagged/docbook-xsl" class="post-tag grid--cell" title="show questions tagged 'docbook-xsl'" rel="tag">docbook-xsl</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 17 '17 at 08:19">asked Dec 17 '17 at 08:19</time> <a href="../../users/1150075/nischayn22" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1150075.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="nischayn22" /> </a> <div class="s-user-card--info"> <a href="../../users/1150075/nischayn22" class="s-user-card--link">nischayn22</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">447</li> <li class="s-award-bling s-award-bling__silver" title="3 silver badges">3</li> <li class="s-award-bling s-award-bling__bronze" title="14 bronze badges">14</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/docbook-xsl_page=1" rel="prev" title="Go to page 1">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/docbook-xsl_page=1" rel="" title="Go to page 1">1</a> <div class="s-pagination--item is-selected">2</div> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>