Code Templates for Author Mode

I set up a code template to create a DITA draft comment. This works in text mode but not in Author mode. Is there the equivalent for author mode? I didn't see anything that suggested a way to do it for author mode. Cheers, Eliot -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com

Hi Eliot, Indeed code templates work for now only in the text page. We will study removing this limitation in a future version. For the Author page you can create your custom actions to insert various XML fragments. See this: http://www.oxygenxml.com/doc/ug-oxygen/dg_author_settings.html#dg_configurin... In the "Document Type Association" preferences page you can edit the "DITA" document type and add a custom action for that. You can check out the other actions (like Bold, Italic) to see how this is done. Regards, Radu -- Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Eliot Kimber wrote:
I set up a code template to create a DITA draft comment. This works in text mode but not in Author mode. Is there the equivalent for author mode? I didn't see anything that suggested a way to do it for author mode.
Cheers,
Eliot

On 6/3/08 1:46 AM, "Radu Coravu" <radu_coravu@sync.ro> wrote:
Hi Eliot,
Indeed code templates work for now only in the text page. We will study removing this limitation in a future version.
For the Author page you can create your custom actions to insert various XML fragments. See this: http://www.oxygenxml.com/doc/ug-oxygen/dg_author_settings.html#dg_configurin... actions_menus_toolbar In the "Document Type Association" preferences page you can edit the "DITA" document type and add a custom action for that. You can check out the other actions (like Bold, Italic) to see how this is done.
Cool--was able to create an action and bind it to a shortcut key to insert a draft comment. Cheers, Eliot -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com
participants (2)
-
Eliot Kimber
-
Radu Coravu