How to have pictures and bullets list inserted in task-type dita file?

Questions about XML that are not covered by the other forums should go here.
Leodong
Posts: 7
Joined: Wed Apr 11, 2012 8:54 pm

How to have pictures and bullets list inserted in task-type dita file?

Post by Leodong »

Hi,

I met a problem when using task-type file creating a manual. I have 9 steps in total, but need to have some bullets sub-step in one of my 9 steps. Meanwhile when I insert the image after a paragraph, the image is followed by the last word in the paragraph. I want the image independently located under the paragraph without any wording.

Seems it is hard for me to do this in the steps of a task file. Anybody encounter such problem?


Leodong
Leodong
Posts: 7
Joined: Wed Apr 11, 2012 8:54 pm

Re: How to have pictures and bullets list inserted in task-type dita file?

Post by Leodong »

one thing I realize is, in task-type file, "p"(stands for paragraph) is not available. Without "p" is the main reason I cannot insert a well-located image and cannot insert bullet list.

Any suggestions?
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to have pictures and bullets list inserted in task-type dita file?

Post by Radu »

Hi,

I do not quite understand the situation, maybe pasting some sample DITA content would help.
From what I understand the DITA Task is too restrictive for your needs. Maybe then you should just create a DITA topic which contains inside an ordered list.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Leodong
Posts: 7
Joined: Wed Apr 11, 2012 8:54 pm

Re: How to have pictures and bullets list inserted in task-type dita file?

Post by Leodong »

Hi Radu,

What I mean is to insert image inside step. It looks bad when image and word stick together appearing in PDF generated file.

I just figured a solution of inserting image inside "stepresult" or "info" after "step". Now it look neat in the PDF file.
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to have pictures and bullets list inserted in task-type dita file?

Post by Radu »

Hi,

If you want the image not to be inlined with the text you can also add a placement="break" attribute to it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply