default new DITA topics to a text editor page

<oXygen/> general issues.
chiefmechanic
Posts: 5
Joined: Wed Oct 26, 2005 5:02 am

default new DITA topics to a text editor page

Post by chiefmechanic » Wed Jun 08, 2011 6:33 am

hi - i prefer to start new DITA topics in text mode, however, i'm not sure how to do this currently.

there doesn't appear to be any way to add DITA to the choice of editors in the "Editor/Pages" preference panel... is there some other way to create this default behavior?

thanks

adrian
Posts: 2736
Joined: Tue May 17, 2005 4:01 pm

Re: default new DITA topics to a text editor page

Post by adrian » Wed Jun 08, 2011 9:16 am

Hello,

The document type of your XML document(DITA) is recognized by Oxygen and its initial page is used.

If you want to change the default mode only for the DITA document type you can do this in Options -> Preferences -> Document Type Association. Select the 'DITA' document type and press Edit.
At the bottom of the Document type dialog you will find the option Initial page which by default is set to Author. You can change it to Text and from that point on all DITA documents(topic, concept, etc) will be opened by default in Text mode. Note that this does not cover DITA maps, their document type is 'DITA Map'.

If you want to completely override the initial page for all XML documents you can do so in Options -> Preferences -> Editor -> Pages. Clear the checkbox Allow Document Type specific page setting.... Now the initial page will only be editor dependent and in the table below you can choose the default page for each editor. For XML Editor the default is already Text.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

chiefmechanic
Posts: 5
Joined: Wed Oct 26, 2005 5:02 am

Re: default new DITA topics to a text editor page

Post by chiefmechanic » Wed Jun 08, 2011 7:25 pm

thanks!

Post Reply