Hi,
Here a sample DITA map containing PIs :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>PI <?oxy_insert_start author="myuser"
timestamp="20240112T164055+0100"?>using
oXygen<?oxy_insert_end?><?oxy_delete author="myuser"
timestamp="20240112T164051+0100" content="test"?></title>
<?oxy_insert_start author="myuser"
timestamp="20240112T163535+0100"?>
<topicref href="topic1.dita">
<topicref href="topic2.dita"/>
</topicref>
<?oxy_insert_end?>
<?oxy_delete author="myuser" timestamp="20240112T163832+0100"
content="<topicref href="topic3.dita"/>"?>
<?oxy_attributes href="<change type="modified"
oldValue="topic5.dita" author="vdeygas"
timestamp="20240329T092812+0100" />"?>
<topicref href="topic4.dita"/>
</map>
<?oxy_options track_changes="on"?>
All PIs are added using oXygen with track changes feature enabled.
We want to show and handle this track changes in an html view. This html
view show html dita map content processed by ditac.
Regards,
Vincent
On 21/03/2024 15:56, Hussein Shafie wrote:
On 3/20/24 11:21, Vincent DEYGAS wrote:
ditac doesn't seem to handle PIs very well.
A PI in a topic is output by the preprocessor (ditac.out)
But a PI in a map is simply lost (ditac.list).
Could you please work on a fix to this issue ?
A DITA topic is "translated" by ditac to a ".ditac" file, which is
very close to the corresponding ".dita" file. Therefore there is no
problem copying PIs to the generated ".ditac" file.
A DITA map is not "translated" to a preprocessed file. Instead, some
information found in the map, but also in its topics, is compiled into
a single "ditac_lists.ditac_list" file.
More information:
https://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp3/howItWorks.html
We currently don't see where in this "ditac_lists.ditac_list" file we
could copy the PIs found in the map.
Sending us a sample DITA containing your PIs and explaining us why you
have added these specific PIs to your map would help us understand
this issue.
If the problem you have is a generic one (you are the first ditac user
to report this issue) and if there is a simple way to solve it, we'll
gladly do it.
Otherwise, I'm afraid you'll have to modify ditac yourself to adapt to
your needs. (Ditac is open source software:
https://www.xmlmind.com/ditac/MPL-2.0.html)
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support