Hi,
the newest LyX-1.4.4 incorporates the newest "european.kmap".
It does not, however, incorporate two patches which make it really usable.
Please find attached the "diff.out" with the two required patches
(the meaning of these patches has already been explained by me in some of
my previous mails to this group).
Hope it helps,
Best regards,
Jacek.
===================================================================
--- ./src/trans_mgr.C.000 2005-07-14 15:05:03.000000000 +0200
+++ ./src/trans_mgr.C 2007-02-15 14:24:12.000000000 +0100
@@ -13,6 +13,8 @@
#include "trans_mgr.h"
+#include "buffer.h"
+#include "language.h"
#include "BufferView.h"
#include "CutAndPaste.h"
#include "cursor.h"
@@ -22,6 +24,7 @@
#include "trans.h"
#include "insets/insetlatexaccent.h"
+#include "insets/insetert.h"
#include "support/lstrings.h"
@@ -289,6 +292,15 @@
lyx::cap::replaceSelection(cur);
cur.insert(new InsetLatexAccent(ins));
cur.posRight();
+ } else if ((str.size() > 1) && ((str[0] == '{') || (str[0] ==
'\\') || (str[0] == '$')) && (str[1] != ' ')) {
+ // str looks like a LaTeX code ... make an ERT out of
it ...
+ InsetERT * ert = new
InsetERT(text->bv()->buffer()->params(), InsetBase::Open);
+ LyXFont font(LyXFont::ALL_INHERIT, latex_language);
+ ert->setText(str, font);
+ LCursor & cur = text->bv()->cursor();
+ cur.insert(ert);
+ ert->setStatus(cur, InsetBase::Collapsed);
+ cur.posRight();
} else {
insertVerbatim(str, text);
}
===================================================================
--- ./src/text3.C.000 2007-01-29 15:49:26.000000000 +0100
+++ ./src/text3.C 2007-02-15 14:24:17.000000000 +0100
@@ -325,6 +325,18 @@
// Remember the old paragraph metric (_outer_ paragraph!)
Dimension olddim = cur.bottom().paragraph().dim();
+ // if <enter> or \" pressed after an <accent> ... kill the <accent> ...
+ switch (cmd.action) {
+ case LFUN_BREAKLINE:
+ case LFUN_BREAKPARAGRAPH:
+ case LFUN_BREAKPARAGRAPHKEEPLAYOUT:
+ case LFUN_BREAKPARAGRAPH_SKIP:
+ case LFUN_END_OF_SENTENCE:
+ case LFUN_QUOTE:
+ // combined_state_ -> deadkey_state_ -> init_state_
+ while (!(bv->owner()->getIntl().getTransManager().backspace()))
;
+ }
+
switch (cmd.action) {
case LFUN_APPENDIX: {