Page 1 of 1

Chinese DITA map: various index entry warnings

Posted: Mon Aug 29, 2016 3:41 pm
by nanotec
Hi all,
recently, I got the chinese translation of my DITA texts and ran into the following warnings when transforming into a PDF with the default transformation scenario "DITA Map PDF':

Description: [PDFX001W]: There is no index entry found which closing range for ID="Table of Contents".
Description: [PDFX001W]: There is no index entry found which closing range for ID="Preface odd footer".
Description: [PDFX001W]: There is no index entry found which closing range for ID="Product Name".
Description: [PDFX001W]: There is no index entry found which closing range for ID="Preface odd header".
Description: [PDFX001W]: There is no index entry found which closing range for ID="Toc odd footer".
Description: [PDFX001W]: There is no index entry found which closing range for ID="Toc odd header".
Description: [PDFX001W]: There is no index entry found which closing range for ID="Body odd footer".
Description: [PDFX001W]: There is no index entry found which closing range for ID="Body odd header".
Description: [PDFX001W]: There is no index entry found which closing range for ID="Body first header".
Description: [PDFX001W]: There is no index entry found which closing range for ID="Body first footer".

Apart from the fact, that the table of content is entitled with "Contents" instead of "内容", I have absolutely no idea, what the error is telling me nor how to get rid of it. Am I missing some settings maybe?


I've set up a minimal example that is reproducing the warnings:

File: minimal.ditamap

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map xml:lang="zh-CN">
<title>&#25163;&#20876;</title>
<topicref href="el_properties.dita"/>
</map>

File:
el_properties.dita

Code: Select all


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="topic_jmg_ymt_cx" xml:lang="zh-CN">
<title>&#30005;&#27668;&#29305;&#24615;</title>
<body>
<p>.</p>
</body>
</topic>
Thanks for any help in advance, best regards,
Bernhard

Re: Chinese DITA map: various index entry warnings

Posted: Tue Aug 30, 2016 1:04 pm
by radu_pisoi
Hi,

I can reproduce this problem by using oXygen 18.0 and DITA-OT 2.2.3 that comes bundled with it.

These problems are related to the DITA-OT project that we are using for the PDF transformation. Fortunately, these problems are already resolved in the latest DITA-OT distributions, see https://github.com/dita-ot/dita-ot/issues/2294. I've tested with DITA-OT 2.3.2 distribution.

So, a solution is to download this DITA-OT version and instruct oXygen to use it. The procedure is described in our user manual:
https://www.oxygenxml.com/doc/versions/ ... ta-ot.html.

Re: Chinese DITA map: various index entry warnings

Posted: Tue Aug 30, 2016 3:43 pm
by nanotec
Hi Radu,
thanks for your quick reply, this works.

However, the default indention for tables has been changed (in version 2.3 I'll guess) they're now a bit indented at the left side and therefore a bit less wide. As a result it messes up all my "heavy filled" tables in the PDF output. :( And this has kept me back in updating DITA to version higher than 2.2.3 until now.

Anyway, the original problem is already solved, thanks a lot for your time and patience.

Best regards,
Bernhard