Lisa Girard wrote: > thanks. it now works great for Word doc. created on a Mac, but doesn't > work for those created on a PC. How do I fix this?
Well, I really don't know. Before sending you the following DocBook customization file, I'v tested it on a PC (Windows 2000/Word 2000) and it worked fine. Have you installed mydocbook.xxe properly on your PC? For example, in "C:\Documents and Settings\<lisa>\xxe2\config\", you must replace <lisa> by your login name. This is easy to check: please use "Help|About XMLmind XML Editor" and check that "C:\...\mydocbook.xxe" is listed among the other configuration files. >>>> We have a command which has been designed to cut and paste >>>> paragraphs from whatever application to XXE. >>>> >>>> * Please install the attached file as follows: >>>> >>>> [1] Copy attached file to <XXE_user_preferences_dir>/config/ which is: >>>> >>>> * C:\Documents and Settings\<lisa>\xxe2\config\ on Windows. >>>> * ~/.xxe2/config/ on other platforms. >>>> >>>> [2] Restart XXE. >>>> >>>> * In order to use it: >>>> >>>> [1] Copy one or several paragraphs from Word. >>>> >>>> [2] Switch to XXE. >>>> >>>> [3] Implicitly or explicitly select the element *after which* you >>>> want to paste the copied paragraphs. >>>> >>>> [4] Type "Esc w" (i.e First press "Esc", release the key then type >>>> lowercase "w"). >>>> >>>> Note that, if in step #3, you select the wrong element, "Esc w" will >>>> do nothing at all (that is, like with a normal "Paste After" command). >>>> >>>> >>>> >>>> >>>> <?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"> >>>> >>>> <include location="docbook/docbook.xxe" system="true" /> >>>> >>>> <!-- >>>> ======================================================================= >>>> Converts the content of the clipboard to a list of paragraphs, >>>> then inserts these paragraphs after selected element. >>>> >>>> Replace parameter="%0" by: >>>> >>>> * parameter="[blocks] %0", to convert multiple lines separated >>>> by open lines to a paragraph. Without this option, each >>>> non-empty >>>> line is converted to a paragraph. >>>> >>>> * parameter="[systemSelection] %0", to copy text from system >>>> selection rather than from clipboard (Unix/X11 only). >>>> >>>> ======================================================================== >>>> --> >>>> >>>> <command name="insertAfterAsParagraphs"> >>>> <macro> >>>> <sequence> >>>> <command name="makeParagraphs" parameter="%0" /> >>>> <command name="paste" parameter="after[implicitElement] %_" /> >>>> </sequence> >>>> </macro> >>>> </command> >>>> >>>> <binding> >>>> <keyPressed code="ESCAPE" /> >>>> <charTyped char="w" /> >>>> <command name="insertAfterAsParagraphs" parameter="para" /> >>>> </binding> >>>> >>>> </configuration>

