Bug 707106 - Turning Mediaobjects into Figures
Summary: Turning Mediaobjects into Figures
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: Messaging_Programming_Reference
Version: 2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: 2.2
: ---
Assignee: Joshua Wulf
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-24 05:16 UTC by Alison Young
Modified: 2014-10-19 22:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-27 02:54:33 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Alison Young 2011-05-24 05:16:50 UTC
Description of problem: 
diagrams with unclear differentiation between captions and the paragraph that follows.
  
Actual results:
the current XML looks something like this....

<mediaobject>
	<imageobject>
		<imagedata fileref="images/producer-consumer.png" format="PNG" scalefit="1" width="444" />
	</imageobject>
	<textobject>
		<phrase>The AMQP 0-10 Model</phrase>
	</textobject>
	<caption> <para>
		The AMQP 0-10 Model: Message producers write messages to 	exchanges, message consumers read messages from queues
	</para>
	</caption>
</mediaobject>

Expected results:
XML should look more like this.

<figure id="AMQP_0-10_Model">
	<title>The AMQP 0-10 Model</title>
	<mediaobject>
		<imageobject>
			<imagedata fileref="images/producer-consumer.png" format="PNG" scalefit="1" width="444" />
		</imageobject>
	<textobject>
		<phrase>The AMQP 0-10 Model: Message producers write messages to exchanges, message consumers read messages from queues</phrase>
	</textobject>
	</mediaobject>
</figure>

Additional info:

Existing <textobject> to become new <title> and existing <caption> to become <textobject>. Textobject contents aren't shown in docs when the image is so check that the content in them won't be missed/is covered in paragraphs around image.

Comment 1 Joshua Wulf 2012-08-13 10:03:46 UTC
All images in the new books use <figure>

Comment 3 Joshua Wulf 2012-08-27 02:54:33 UTC
Fixed in new books in 2.2, not fixing for 2.


Note You need to log in before you can comment on or make changes to this bug.