Questions tagged [docbook]

DocBook provides a system for writing structured documents using SGML or XML (semantic markup). It is particularly well-suited to books and papers for technical documentation. Earlier versions of DocBook were formally defined as document type definitions (DTDs). From version 5.0 onwards, SGML support is discontinued and the official definition is a RELAX NG schema.

DocBook provides a system for writing structured documents using SGML or XML (semantic markup). It is particularly well-suited to books and papers for technical documentation. Earlier versions of DocBook were formally defined as document type definitions (DTDs). From version 5.0 onwards, SGML support is discontinued and the official definition is a RELAX NG schema.

http://docbook.org/

352 questions
6
votes
6 answers

Is there a nice XSL stylesheet for client-side DocBook rendering?

I want the DocBook documents in my SVN repository to look nice if someone looks at them in a web browser. I've started to write a CSS stylesheet, but I think that it will have significant limitations -- particularly ones regarding hyperlinks. There…
Steven Huwig
  • 20,015
  • 9
  • 55
  • 79
5
votes
1 answer

Generate PDF from docbook XML when building Java project using Gradle

I need to generate a PDF version of the docbook.xml documentation (5.0) when building the java project using gradle (build.gradle file). If someone could show an example of a script that will work on any platform (Mac OS X, Windows, Linux) that…
Roger
  • 911
  • 2
  • 9
  • 15
5
votes
1 answer

Remove verso and list of tables from DocBook document

I have problem with customization layer of DocBook XSL. I use Apache FOP to transform document from DocBook XML to PDF. But the book contains second page (so called verso) and page List of Tables. I just have erased the content of verso, but second…
Theodor Keinstein
  • 1,653
  • 2
  • 26
  • 47
5
votes
4 answers

How do I visualize a DocBook file?

DocBook looks like a really great format for any kind of documentation. Until you try to read it Do you know any working online-reader or standalone software (smaller than 500MB, please) to read/preview a DocBook XML file without having to…
Kamafeather
  • 8,663
  • 14
  • 69
  • 99
5
votes
1 answer

Manual linebreak and formatting docbook

I am trying to make a simple help with Docbook. I need to format the text rather than letting text to be compact and non readable. It is better if the text can be set as it is being typed (i.e: preserve white spaces and line breaks) So far I tried …
Dinal24
  • 3,162
  • 2
  • 18
  • 32
5
votes
2 answers

Is there a XSL-FO renderer which supports ?

I'm using Pandoc to convert Markdown to Docbook, doing stuff to it then rendering the Docbook to XSL-FO using Apache FOP. Unfortunately, Pandoc makes tables with table-layout="auto" and FOP only supports table-layout="fixed". Is there a XSL-FO…
Andrew Aylett
  • 39,182
  • 5
  • 68
  • 95
5
votes
2 answers

docbook maxwidth on images? (xml:fo)

is there a way to specify the maximum width of images in a docbook xsl-transform? we have a problem with screen shots being to big to fit on a page, and thus would like to set a max width on images in the output. specifying the width of the image in…
pvgoddijn
  • 12,638
  • 15
  • 47
  • 56
4
votes
1 answer

XSL import: how to overcome differences in location of (docbook or other) style files

Coming from a Linux distribution and having copy/pasted from a number of examples across the net, I am doing the following to include DocBook style in my XSL files (processed with xsltproc):
BaCh
  • 625
  • 2
  • 5
  • 17
4
votes
1 answer

How do I create JAXB bindings for docbook

When I run xjc against docbook.xsd, I get a lot of errors: parsing a schema... [ERROR] Property "Revision" is already defined. Use <jaxb:property> to resolve this conflict. line 5965 of file:/C:/log/11/04/20/docbook-4.5/dbpoolx.xsd [ERROR] The…
Wayne
  • 914
  • 2
  • 13
  • 25
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"/>
4
votes
2 answers

DocBook-XML and webhelp

Following the steps mentioned here: http://docbook.sourceforge.net/release/xsl/current/webhelp/docs/ch02s01.html ant webhelp -Doutput-dir=test-ouput (ouput is a typo in the documentation I think, but I tested it with test-ouput and test-output with…
vbd
  • 3,437
  • 4
  • 32
  • 45
4
votes
1 answer

Align Title or Caption with Image?

I'm working with DockBook 4.5 and Apache FOP 1.1 on Ubuntu 13.04. The Docbook translation are provided by Ubuntu and FOP was downloaded directly from Apache. First question: would someone please tell me how to ensure the title or caption of a image…
jww
  • 97,681
  • 90
  • 411
  • 885
4
votes
2 answers

Block Image Right and Flow Text Around It?

I'm working with DockBook 4.5 and Apache FOP 1.1 on Ubuntu 13.04. The Docbook translation are provided by Ubuntu and FOP was downloaded directly from Apache. Would someone please tell me how to insert an image on the right of a paragraph, where the…
jww
  • 97,681
  • 90
  • 411
  • 885
4
votes
1 answer

DocBook XSL - ok to edit the original stylesheets?

I would like to make certain lines of a DocBook table of contents bold based on whether the particular
has a certain attribute defined. This is easy by adding an statement to the DocBook XSL (fo/autotoc.xsl lines…
carillonator
  • 4,715
  • 3
  • 29
  • 39
4
votes
1 answer

Combining Docbook and Doxygen documentation types.

I'm working on new documentation for our software library and I'm wondering how I can combine a general documentation which I think should be written in DocBook together with a Doxygen based API reference. The Doxygen part already exists so I prefer…
Ilya
  • 3,104
  • 3
  • 23
  • 30
1
2
3
23 24