General XMetaL Discussion
NickHsu February 1, 2012 at 6:50 am
XMetaL 6.0 Customization questionsFebruary 1, 2012 at 6:50 amParticipants 0Replies 1Last Activity 10 years, 7 months ago
It's about *.ctm file. I have a customized task.ctm file for task topics, I want to add a new
automatically when I press ENTER within the in the , for example: , my cursor is between andand I want to adding a new element automatically when I press ENTER.
Tutorial said I can add a FollowedByListItem in the task.ctm, I've tried both of
and it does not work at all. Could anyone help?
Derek Read February 1, 2012 at 5:39 pm
Reply to: XMetaL 6.0 Customization questionsFebruary 1, 2012 at 5:39 pm
The problem here is likely that you are inserting the element via the Insert menu vs the Element List. The two behaviours may differ there because the Insert menu items are driven by script. It might also be the case the Element List has some script involved. The DITA customization is quite complex (and completely undocumented, which is why making changes like this are not officially supported).
- You must be logged in to reply to this topic.