General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › #include-like mechanism for .ctm files?
-
schwamkrug March 23, 2012 at 7:54 pm
#include-like mechanism for .ctm files?
March 23, 2012 at 7:54 pmParticipants 0Replies 1Last Activity 10 years, 10 months agoI'm about to use the words “DITA” and “Specialization,” but I think this is probably a general XMetaL question…
I've created a couple of domain specialization and would like to configure pretty print/indentation behavior, as well as the mini-templates. Is there any sort of #include-like behavior for .ctm files, or do I need to copy the configuration to each of my topic/task/reference/etc .ctm files?
mag3737 March 23, 2012 at 11:20 pm
Reply to: #include-like mechanism for .ctm files?
March 23, 2012 at 11:20 pmThere's no include-like mechanism for CTM files at this time. You'll need to maintain full copies of the CTM. Seems like a good idea, though, and I will bring it to the attention of project management.
In DITA, if you use the Select Specialized DITA DTD command in XMetaL to add your specialization, XMetaL will at least do the “cloning” work for you, creating a copy of the entire CTM for the base topic type in the directory “DITA/XACs/
“. (In XMetaL 7 this will be “DITA/XACs/ / “.) At the moment, FWIW, most (if not all) of the DITA topic CTMs in XMetaL are identical. -
AuthorPosts
- You must be logged in to reply to this topic.