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
1
vote
1 answer

Validating Docbook 5.0, link/linkend

I am wondering why this Docbook 5.0 document is not valid:
This is a…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/docbook" class="post-tag grid--cell" title="show questions tagged 'docbook'" rel="tag">docbook</a> <a href="../../questions/tagged/docbook-5" class="post-tag grid--cell" title="show questions tagged 'docbook-5'" rel="tag">docbook-5</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 10 '17 at 04:16">asked Apr 10 '17 at 04:16</time> <a href="../../users/7131301/tomas-by" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/7131301.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Tomas By" /> </a> <div class="s-user-card--info"> <a href="../../users/7131301/tomas-by" class="s-user-card--link">Tomas By</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,396</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="11 silver badge">11</li> <li class="s-award-bling s-award-bling__bronze" title="23 bronze badge">23</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-33048970"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/33048970/docbook-how-to-create-an-article-with-parts" class="question-hyperlink">Docbook: How to create an article with parts</a></h3> <div class="excerpt">I need to create a "Terms of Use" document that consists of three parts... and I've tried to create an article like this: <!DOCTYPE article [ ... ]> <article xmlns="http://docbook.org/ns/docbook" version="5.0" …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/docbook" class="post-tag grid--cell" title="show questions tagged 'docbook'" rel="tag">docbook</a> <a href="../../questions/tagged/docbook-5" class="post-tag grid--cell" title="show questions tagged 'docbook-5'" rel="tag">docbook-5</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 10 '15 at 00:25">asked Oct 10 '15 at 00:25</time> <a href="../../users/278659/j3d" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/278659.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="j3d" /> </a> <div class="s-user-card--info"> <a href="../../users/278659/j3d" class="s-user-card--link">j3d</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">9,492</li> <li class="s-award-bling s-award-bling__gold" title="22 gold badges">22</li> <li class="s-award-bling s-award-bling__silver" title="88 silver badges">88</li> <li class="s-award-bling s-award-bling__bronze" title="172 bronze badges">172</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-27973728"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/27973728/how-to-change-both-foreground-and-background-color-for-an-inline-element" class="question-hyperlink">How to change both foreground and background color for an inline element?</a></h3> <div class="excerpt">I'm trying to change both the foreground and background color of an inline element. The docbook snippet is this: <command role=" f00 b01 ">Lorem Ipsum</command> The XSL part in my customization layer is this: [...] <xsl:template…</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/xsl-fo" class="post-tag grid--cell" title="show questions tagged 'xsl-fo'" rel="tag">xsl-fo</a> <a href="../../questions/tagged/docbook-5" class="post-tag grid--cell" title="show questions tagged 'docbook-5'" rel="tag">docbook-5</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 15 '15 at 21:56">asked Jan 15 '15 at 21:56</time> <a href="../../users/648658/jens" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/648658.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Jens" /> </a> <div class="s-user-card--info"> <a href="../../users/648658/jens" class="s-user-card--link">Jens</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">69,818</li> <li class="s-award-bling s-award-bling__gold" title="15 gold badges">15</li> <li class="s-award-bling s-award-bling__silver" title="125 silver badges">125</li> <li class="s-award-bling s-award-bling__bronze" title="179 bronze badges">179</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-26178742"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/26178742/include-child-elements-with-xpointer-element-scheme" class="question-hyperlink">Include child elements with xpointer element() scheme</a></h3> <div class="excerpt">I am trying to include all child elements (sections) of an element from a.xml into b.xml with xi:include. Both XML files are valid docbook 5 files. a.xml <chapter xml:id="TheChapter"> <section> <title>section 1
Paul
  • 2,474
  • 7
  • 33
  • 48
1
vote
1 answer

Internal references in docbook 5

I tried to write an internal reference to another section in the same document. But references are not working. There is a reference, which is located in one section in my docbook-article
VeLKerr
  • 2,995
  • 3
  • 24
  • 47
1
vote
1 answer

Removing #c2 #a0 from docbook xhtml5 section titles

There was a great question and answer about this subject I've found by searching. However, neither the question nor the answer have provided an acceptable way to fix this issue. To summarize, the issue is that my generated XHTML5 numbered section…
Dave Hayes
  • 56
  • 7
1
vote
2 answers

DocBook tag for @since?

Does the DocBook standard contain any elements that are equivalent to the JavaDoc @since tag? I'm specifically trying to do this in a "refentry" element, but nothing seems appropriate.
Michael Gantz
  • 200
  • 2
  • 7
1
vote
1 answer

Getting DocBook alt. text to work with apache fop

I'm currently in the process of writing a larger DocBook document, and while it looks decent enough, I've been asked to improve the accessibility of it. After reading the documentation I figured, "that looks simple enough, I'll just add an
xles
  • 133
  • 1
  • 8
1
vote
1 answer

Schematron sh script not behaving

I found a shell script for Schematron that your supposed to be able to feed a Schematron schema, and an XML document, so as to apply the Schematron rules to the XML document. I found the script…
egilchri
  • 761
  • 1
  • 5
  • 19
1
vote
1 answer

Using Schematron with Perl

I am trying to follow along with this article on Schematron and Perl. http://www.xml.com/pub/a/2002/01/23/perl-schematron.html?page=2 My goal is to use Schematron, along with RelaxNG, to validate Docbook 5 documents. However, I can't seem to get…
egilchri
  • 761
  • 1
  • 5
  • 19
1
vote
2 answers

Styling part of a docbook procedure using XSL

I'm trying to affect the properties of the fo:list-block within a docbook 5 procedure. What I want to do is take the following docbook XML code: Eating a banana Find banana
Scribblemacher
  • 1,518
  • 1
  • 16
  • 31
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

How to interpret the content model of DocBook elements in the documentation?

The official documentation's 1.1. Understanding Content Models is very terse, and I'm having trouble understanding the content models of more complex elements. It brings the epigraph element as an example: A validator uses the content models to…
toraritte
  • 6,300
  • 3
  • 46
  • 67
0
votes
1 answer

How to mark up an author with their pen name / pseudonym in Docbook 5?

Should I simply use another author element / tag with the role attribute set to "pseudonym"?
toraritte
  • 6,300
  • 3
  • 46
  • 67