OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Caption on informalfigure not recognised by PDF stylesheet?


Hi Frank,
Yes, this is a bug. It also applies to caption as a child of example or informalexample, all of which are permitted by DocBook 5.0.

This is a pretty big omission, and I have another issue, so I'll probably roll the stylesheet from 1.79.1 to 1.79.2 to fix them.


Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

On 2/3/2016 11:59 AM, Frank Arensmeier wrote:
Hi there!

I came across an issue with the PDF stylesheets, but I am not sure if it
is a bug nor not. Assume I have the following XML:

<section xmlns="http://docbook.org/ns/docbook"; version="5.0">
<title>Section title</title>
<para>Some para</para>
<informalfigure>
<mediaobject>[…]</mediaobject>
<caption>
<para>Caption comes here</para>
</caption>
</informalfigure>
</section>

The snippet validates as valid Docbook XML but the resulting PDF however
shows the caption element in red (no matching template found). I am
using 1.78.1. Can someone confirm that this is a bug?

Thank you!

/Frank Arensmeier

Paligo - The truly user-friendly CMS for technical documentation
www.paligo.se <http://www.paligo.se>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]