PDF output does not show table frame.

Post here questions and problems related to editing and publishing DITA content.
Joseccy
Posts: 4
Joined: Tue May 22, 2018 5:31 am

PDF output does not show table frame.

Post by Joseccy »

Hi,

I am following the free course provided by http://www.learningdita.com and doing a practice.

The practice is to create a dita file for the task "Developing and implementing a content strategy" shown at the bottom half of the page. Here is the link of the task:

https://www.learningdita.com/topic/lc_stepsection/

My question is after I finish the dita file for this task and transform it into pdf, pdf output of the table in Step 7 Deliver Content in the example cannot have frame.

Where have I done wrong? Thanks a lot.

I am using Oxygen XML editor V17.1.

Here is the content of my dita file.
-------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="task_tlf_3h2_jt">
<title>Developing and implementing a content strategy</title>
<taskbody>
<steps>
<stepsection><b>Create a content strategy.</b></stepsection>
<step>
<cmd>Identify and interview stakeholders.</cmd>
</step>
<step>
<note>Develop a business case that you can use to define what will make your project
successful.</note>
<cmd>Establish implementation goals and metrics.</cmd>
</step>
<step>
<cmd>Define roles and responsibilities.</cmd>
<stepxmp>
<ul>
<li>Education</li>
<li>Development</li>
<li>Review</li>
<li>Approval</li>
</ul>
</stepxmp>
</step>
<step>
<cmd>Establish timeline and milestones.</cmd>
</step>
<stepsection><b>Implement your content strategy.</b></stepsection>
<step>
<cmd>Build the content creation system.</cmd>
</step>
<step>
<cmd>Convert legacy content.</cmd>
<choices>
<choice>Convert everything into the new system</choice>
<choice>Identify high-priority content and convert it</choice>
<choice>Just-in-time conversion</choice>
<choice>Assess for conversion</choice>
<choice>Convert nothing</choice>
</choices>
</step>
<step>
<cmd>Deliver content.</cmd>
<choicetable relcolwidth="1.0* 1.0*" frame="all">
<chhead>
<choptionhd><p>Deliver method</p></choptionhd>
<chdeschd><p>Benefits</p></chdeschd>
</chhead>
<chrow>
<choption><p>PDF</p></choption>
<chdesc><p>Visual design, option to print</p></chdesc>
</chrow>
<chrow>
<choption><p>HTML</p></choption>
<chdesc><p>Accessibility, interactivity, responsive design</p></chdesc>
</chrow>
<chrow>
<choption><p>EPUB</p></choption>
<chdesc><p>Electronic content when Internet access is unavailable</p></chdesc>
</chrow>
</choicetable>

</step>
<step>
<cmd>Capture project knowledge.</cmd>
<substeps>
<substep>
<cmd>Document your content model, specifications, and best practices.</cmd>
</substep>
<substep>
<cmd>Provide training to authors on writing in the new environment.</cmd>
</substep>
<substep>
<cmd>Provide training to staff on maintaining the new system.</cmd>
</substep>
</substeps>
</step>
<step>
<cmd>Ensure long-term success.</cmd>
</step>
</steps>
<result><p>You can tick off the items you listed at the beginning of the project as accomplishments now.</p></result>
</taskbody>
</task>
Radu
Posts: 9041
Joined: Fri Jul 09, 2004 5:18 pm

Re: PDF output does not show table frame.

Post by Radu »

Hi,

The publishing engine bundled with Oxygen has a known bug and it does not properly interpret the @frame attribute set on the choice table.
The problem was recently fixed in DITA OT 3.1:

https://github.com/dita-ot/dita-ot/pull/2978

If you would use Oxygen 20 or newer you could install DITA OT 3.1 as an add-on:

https://github.com/oxygenxml/dita-ot-3x-plugin

and try to use it to produce the PDF.

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