You can download the DocBook customization file from: --- http://www.pixware.fr/_download/lisa/mydocbook.xxe 1302bytes, Thu May 27 06:05:47 PM CEST 2004 ---
Lisa Girard wrote: > Thanks. Unfortunately, when I opened the email using Eudora, it did not > come through with attachments (possibly opened them)? can I paste the > text below somwwhere, or can you suggest a way I can get the attachment? > > > >> Lisa Girard wrote: >> >>> When I cut-and-paste text from a Word document into a DocBook >>> template the paragraphs are collapsed. I know DocBook isn't good with >>> physical structure, but is there any way to keep the >>> paragraphs/spaces in? I'm not sure if this problem has been addressed >>> earlier in your configuration questions "setting whitespace". >> >> >> What is explained in this FAQ is not related to your problem. >> >> This FAQ is intended to be read consultants or ``local gurus'' writing >> their own DTD or their own CSS style sheet. >> >> >> >>> If so, is there another way you could explain it? I wasn't able to >>> make the modifications suggested. >> >> >> 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> > > > > > -- > XMLmind XML Editor Support List > xmleditor-support at xmlmind.com > http://www.xmlmind.com/mailman/listinfo/xmleditor-support > > -- Hussein SHAFIE, hussein at pixware.fr, Pixware, Immeuble Capricorne, 23 rue Colbert, 78180 Montigny Le Bretonneux, France, Phone: +33 (0)1 30 60 07 00, Fax: +33 (0)1 30 96 05 23

