General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion XMetaL 6.0 Customization questions

  • NickHsu

    XMetaL 6.0 Customization questions

    Participants 0
    Replies 1
    Last 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 and and 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
      1.
       
          uicontrol
          uicontrol
       

      2.
         
            uicontrol
            menucascade        uicontrol
         

        and it does not work at all. Could anyone help?
     

    Reply

    Derek Read

    Reply to: XMetaL 6.0 Customization questions

    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).

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support