DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › Insert TopicRef using XMetaL8
-
jim.cain September 26, 2014 at 3:17 pm
Insert TopicRef using XMetaL8
September 26, 2014 at 3:17 pmParticipants 2Replies 3Last Activity 8 years, 4 months agoGreetings,
We are currently testing an upgrade from XMetaL6 to XMetaL8. In the process of testing, we have encountered a difference that we would like clarification on. Namely, in XMetaL6, we can insert a ditamap reference into a
Derek Read September 26, 2014 at 9:40 pm
Reply to: Insert TopicRef using XMetaL8
September 26, 2014 at 9:40 pmThe
element was introduced with DITA 1.2 and when authoring to the DITA 1.2 DTDs the Insert > Map Reference option will insert it. The DITA 1.2 specs define it as a “convenience element that is equivalent to a element with the format attribute set to “ditamap”. I don't believe they say that it must be used in place of but we did alter the dialogs and logic to insert it when selecting Insert > Map Reference. XMetaL Author Enterprise version 6 did not support the DITA 1.2 DTDs and did not have any special logic to deal with the insertion of elements for that version of the DITA DTDs.
If you enable authoring to the DITA 1.1 DTDs in version 7, 8 or 9 you should see the same old behaviour as version 6 (the same old logic should be used together with the 1.1 DTDs). In versions 7, 8 and 9 the version of DITA you are authoring to is configurable in Tools > DITA Options on the “General” tab and defaults to using the DITA 1.2 DTDs, together with updated dialogs and logic to deal with those DTDs.
If you do need to author to DITA 1.2 then you will need to leave that setting at “1.2”, and in that case you will see the UI that corresponds with authoring to DITA 1.2 and associated functionality, including the insertion of
elements. jim.cain September 29, 2014 at 1:40 pm
Reply to: Insert TopicRef using XMetaL8
September 29, 2014 at 1:40 pmThanks for the configuration info Derek! That helps a lot!
Is this configuration option something that we can build into our set of existing customizations that we have a separate installer for so that we do not have to manually set this for each user?
Thanks again,
Jim
Derek Read September 29, 2014 at 9:25 pm
Reply to: Insert TopicRef using XMetaL8
September 29, 2014 at 9:25 pmFor versions 7, 8 and 9 this setting is remembered here:
%appdata%SoftQuadXMetaLdita_options.xml And the value is recorded as:
1.1 Currently the only supported values are 1.1 and 1.2.
-
AuthorPosts
- You must be logged in to reply to this topic.