Table rows not wrapped in PDF Output

LenaS
Posts: 1
Joined: Wed Jul 10, 2019 3:09 pm

Table rows not wrapped in PDF Output

Post by LenaS » Wed Jul 10, 2019 3:37 pm

Hello,

we are using dita-ot-2.5.3 and Apache to generate PDF output. Currently, we have the problem that a table row in a simple table is not wrapped and thus cannot be read.

This is an extract of the code:

<strow>
<stentry>text</stentry>
<stentry>.ab .bc .cd .de .ef .fg .gh .hi .ij . jk .kl . lm .mn. no
.op. pq .qr .></stentry>
</strow>

This line is not wrapped in the PDF output. However, the line is wrapped if I delete the points. We do not want to use this workaround and we do not want to insert hard line breaks.
Is there a possibility to adjust the XSLT files or to add an attribute so that the line is wrapped?

Thanks in advance.

Kind regards,
Lena

Radu
Posts: 6328
Joined: Fri Jul 09, 2004 5:18 pm

Re: Table rows not wrapped in ODF Output

Post by Radu » Thu Jul 11, 2019 8:16 am

Hi Lena,

Your DITA sample seems to contain spaces between the dots but probably your original content has no space between the dots and the characters).
There have been discussions about this on the DITA Users list in the past:

https://groups.yahoo.com/neo/groups/dit ... pics/36802

Usually the solution is to insert zero-width-space characters (you can insert them in the XML using the entity &#x200b;).
The characters are usually inserted either directly in the DITA content or you create an XSLT customization which matches the content inside the table cells and tries to insert there characters (for example after each ".").

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

Post Reply