Hi Please confirm the snippet you sent to mailing list
When I use without the <include
location="xxe-config:docbook/docbook.xxe"/>
As I get a error when I restart XML-Mind 2.6 c/w
<binding>
<keyPressed code="B" modifiers="ctrl shift" />
<command name="docb.convertWithAttribute"
parameter="emphasis role bold" />
</binding>
Errors found in configuration files
customize.xxe
command triggered by "Ctrl+Shift-B" is unknown
*******************************************************
When I use the snippet <include
location="xxe-config:docbook/docbook.xxe"/> I get the following error I
did amend the location ="xxe-std-26:docbook/docbook.xxe" and used the
abosolute path of /data/tmp/xxe-std-26 no joy .
Errors detected during start-up
"file:/data/tmp/xxe-std-26/config/customize.xxe" invalid configuration
file: in file "file:/data/tmp/xxe-std-26/config/customize.xxe" at line
14, column 2: "xxe-config:docbook/docbook.xxe" invalid value for
"location" attribute
PS the ctrl+shift-I works fine .
TIA
Chuck
On Sun, 2004-09-12 at 09:29, Nick Liebmann wrote:
> Hi,
>
> Thanks for this information. I guess I should have read the manual.
>
> Cheers
>
> Nick
>
> Hussein Shafie wrote:
> >> Nick Liebmann wrote:
> >>> I would like to be able to use Ctrl+B and Ctrl+I to set emphasis on
> >>> the selected text (as bold and italics)
> >>
> >> The basic idea in XXE is:
> >> [1] Give the user a basic set of accelerators.
> >> [2] Let the user add or redefine accelerators (almost) at will. See
> >> http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch06s01.html.
> >>
> >> If you copy the attached file in your
> >> <XXE_user_preferences_dir>/config/ (C:\Documents and
> >> Settings\<user>\xxe\config\ on Windows), you'll get
> >> what you want for *DocBook* documents (I supposed that you were
> >> talking
> >> about DocBook's emphasis element).
> >>
> >> The attached file contains these 2 bindings:
> >>
> >> ---
> >> <binding>
> >> <keyPressed code="B" modifiers="ctrl shift" />
> >> <command name="docb.convertWithAttribute"
> >> parameter="emphasis role bold" />
> >> </binding>
> >>
> >> <binding>
> >> <keyPressed code="I" modifiers="ctrl shift" />
> >> <command name="convert"
> >> parameter="[implicitElement] emphasis" />
> >> </binding>
> >> ---
> >>
> >> Note that you'll need to use Ctrl-Shift-B and Ctrl-Shift-I instead of
> >> Ctrl-B and Ctrl-I.
> >>
> >> It is possible to bind Ctrl-B to a command, but not Ctrl-I which is
> >> used
> >> by the Edit menu. For consistency, I have specified Ctrl-Shift- for
> >> both commands.
> >>
> >
> >
> >
> >> <?xml version='1.0' encoding='ISO-8859-1'?>
> >> <configuration name="DocBook"
> >> xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
> >> xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"
> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> >>
> >> <include location="xxe-config:docbook/docbook.xxe"/>
> >>
> >> <binding>
> >> <keyPressed code="B" modifiers="ctrl shift" />
> >> <command name="docb.convertWithAttribute" parameter="emphasis
> >> role bold" /> </binding>
> >>
> >> <binding>
> >> <keyPressed code="I" modifiers="ctrl shift" />
> >> <command name="convert" parameter="[implicitElement] emphasis" />
> >> </binding>
> >> </configuration>
>
>
>
> --
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support
--
Chuck Amadi, Systems Administrator, | http://www.smtl.co.uk/
Surgical Materials Testing Lab, | http://www.worldwidewounds.com/
Princess of Wales Hospital, S Wales | http://www.dressings.org/
Tel/Fax: +44 1656-752820 | chuck at smtl.co.uk