← Prev in month ← Prev in thread

imageobject in task leads to strange result in pdf

From
Lars Vogel <>
Date
2011-10-08T23:44:50+00:00
ID
CAOeJ3wsMaJFKQuk5w=yPW38bz0VV9vFao9CH7=
Thread
imageobject in task leads to strange result in pdf
Hello,

I'm trying to utilize the <task> element. But if I add imageobjects the pdf result looks broken. 

The example document I use is listed below and the rendering result is attached.

Any advice what I'm doing wrong? The input document validates in Eclipse. 

Best regards, Lars

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "../docbook-xml-4.5/docbookx.dtd">

<article>

	<section label="1.0">

		<title>An introduction to DocBook</title>

		<task>

			<title>Test</title>

			<taskprerequisites>

				<title> Prerequisites</title>

				<para> You have installed and started the Eclipse RCP development

					environment.

				</para>

			</taskprerequisites>

			<procedure>

				<title> Test</title>

				<step>

					<para>Press "Next" and make the following settings. As we are

						going

						to

						develop an RCP application, select "Yes" at the question

						"Would

						you

						like to create a rich client application".

					</para>

					<para>

						<mediaobject>

							<imageobject>

								<imagedata scale="60" fileref="images/training_firstrcp20.png"/>

							</imageobject>

							<textobject>

								<phrase>Second page of the Eclipse Plug-in Wizard specifying the

									plug-in ID, version, Name, Activator and the RCP type.

								</phrase>

							</textobject>

						</mediaobject>

					</para>

					<para>

						Press next and select the template

						"Hello RCP".

					</para>

					<para>

						<mediaobject>

							<imageobject>

								<imagedata scale="60" fileref="images/training_firstrcp30.png"/>

							</imageobject>

							<textobject>

								<phrase>Third page of the Eclipse Plug-in Wizard selecting the

									template "Hello RCP".

								</phrase>

							</textobject>

						</mediaobject>

					</para>

					<para> Press next and select "Add branding" and press Finish.

					</para>

					<para>

						<mediaobject>

							<imageobject>

								<imagedata scale="60" fileref="images/training_firstrcp40.png"/>

							</imageobject>

							<textobject>

								<phrase>Forth page of the Eclipse Plug-in Wizard specifying the

									branding.

								</phrase>

							</textobject>

						</mediaobject>

					</para>

				</step>

			</procedure>

		</task>

	</section>

</article>

-- 
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter

Attachment:
article2.pdf

Description: Adobe PDF document
← Prev in month ← Prev in thread