Mark Fletcher wrote:
>  
> In case anyone finds this useful, I've created a key binding for my DITA
> addon that might be helpful to people wanting to use XXE's official DITA
> addon in v3.2.  There is a public help doc for DITA on the OASIS
> website. This command just maps the current XXE element name to one of
> those help topics. I have it mapped to Ctrl+F1, but that's totally up to
> you.
>  
> 
> <binding>
> 
> <keyPressed code="F1" modifiers="ctrl"/>
> 
> <command name="callDITAHelp"/>
> 
> </binding>
> 
>  
> 
> <command name="callDITAHelp">
> 
> <macro>
> 
> <sequence>
> 
> <get context="$implicitElement" expression="name(.)"/>
> 
> <command name="viewHTML"
> parameter='http://docs.oasis-open.org/dita/v1.0/langspec/%_.html'/>
> 
> </sequence>
> 
> </macro>
> 
> </command>

Good idea. If you agree on that, I'll add it to the DITA add-on.

Reply via email to