Questions tagged [docbook-5]

Use this tag for a question related to DocBook version 5.

Use this specific tag for a question related to DocBook version 5 along with the generic tag (see that for more details).

66 questions
20
votes
7 answers

How to generate pdf from docbook 5.0

I've written a docbook 5.0 document with the header:
Szymon Lipiński
  • 27,098
  • 17
  • 75
  • 77
3
votes
1 answer

how to remove the word "chapter" in the title of a docbook chapter

I have a docbook document and when I create a PDF I want it to display the chapter title without the word "Chapter" in front of it. According to this the following should work: My custom stylesheet: (doc.xsl)
rve
  • 5,897
  • 3
  • 40
  • 64
2
votes
1 answer

How to customize DocBook for non-technical writing?

I know that the Text Encoding Initiative's guidelines define an XML vocabulary for non-technical text (such as poetry, fiction, etc.) but would like to stick to DocBook if possible, even though it has no XML elements for dialogues, poetry, etc.
toraritte
  • 6,300
  • 3
  • 46
  • 67
2
votes
1 answer

DocBook 5: How do I do variable substitution to replace ${version} by a value?

While writing a large manual in DocBook 5 (which uses an XSD, not DTD), I need to mention the version name in many places. For example, the name of distribution zip includes the version name. That version name changes constantly, so I 'd like to use…
Geoffrey De Smet
  • 26,223
  • 11
  • 73
  • 120
2
votes
1 answer

Including XML Entities from file

I'll get straight to the point: Is there a better way to include a set of commonly used character entities in a DocBook document? Because having to type out — rather than — all the time is really rather annoying. What I had:
xles
  • 133
  • 1
  • 8
2
votes
1 answer

Documentation for DocBook5 ISO 690 bibliography

I would like to use docbook5's support for ISO 690 formatted bibliographies but I can not find proper documentation. My search led me to the sites 1, 2 and 3 containing (broken) links to each other and the last one being inaccessible due to a 502…
hielsnoppe
  • 2,819
  • 3
  • 31
  • 56
2
votes
1 answer

Discrepancy between docbook.dtd and docbook.rng on the DocBook 5.0 Distribution

When I validate my document using RelaxNG and the docbook.rng schema provided on the DocBook 5.0 distribution, errors like this crop up, error: attribute "title" not allowed at this point; ignored and the offending XML element is informaltable. In…
egilchri
  • 761
  • 1
  • 5
  • 19
2
votes
1 answer

Unable to strip the namespace from DB5 document, cannot proceed Error at xsl:message on line 162 of docbook.xsl:

I am trying to use xsltproc on windows and xi:include in my docbook 5 document rather than entities. Unfortunately the windows version does not support this. Saxon 9.6 and msxsl both report the error: Unable to strip the namespace from DB5 document,…
2
votes
2 answers

Docbook - How to retrieve input xml files from xsl stylesheet

I'm writing some documentation using docbook maven plugin and I'm looking for making a navigation bar in the header of the HTML output automatically. I have some books organized like this : Guide1 Guide2 Tutorials tuto1 tuto2 The desired…
Mohammed
  • 115
  • 1
  • 13
2
votes
2 answers

making compound xpath statement for xslt: match

Here's a generic XSLT 1.0 question which I need to know to write an XSLT statement for processing docbook xml files. In my docbook XML, I'm trying to write a compound xpath statement in XSLT 1.0 that says, hardcode a new attribute "class =…
idiotprogrammer
  • 371
  • 1
  • 2
  • 9
2
votes
1 answer

Character styles in docbook 5

What are the character styles in docbook 5? I know there are paragraph styles which are sect1-title, sect2-title, etc. I want to know what character styles are there. Thank you.
harsh
  • 2,399
  • 9
  • 29
  • 47
1
vote
2 answers

How can both XML declaration and DTD be optional in the spec if they are both prerequisites to validity and well-formedness of an XML document?

Chewing my way through the latest XML 1.0 specification, and an XML document is defined as follows: [1] document ::= prolog element Misc* ... [22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)? [23] XMLDecl …
toraritte
  • 6,300
  • 3
  • 46
  • 67
1
vote
1 answer

Evaluation of elements under self constructed elements in Docbook

I'm currently working on some complex DocBook document and specifically on its xslt transformation to FO (and from there to PDF). In this context I'm struggling with some characteristic of the workflow and hope that somebody here can give me some…
Norbert
  • 735
  • 8
  • 19
1
vote
1 answer

Struggling with some margin in a table in XSL generated FO document

I hope you all had some Happy Holidays so far! I'm currently working on a XSLT Transformation from DocBook to apache fo (and then onward to PDF) but I'm struggling with one table. Here is the relevant part of my stylesheet.
Norbert
  • 735
  • 8
  • 19
1
vote
0 answers

How to label chemical structure (images) with continuing numbers in a docbook text?

In the chemical literature structure images are usually labelled with numbers according to the appearance in the text independently of figures. These numbers are then used to refer to the chemicals. Please point me to instructions how to do this…
1
2 3 4 5