Home Forums General XMetaL Discussion #include-like mechanism for .ctm files? Reply To: #include-like mechanism for .ctm files?


Reply to: #include-like mechanism for .ctm files?

There'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.