Hello dear Developers!
After finishing one book (two editions - Croatian & English) with LyX
and taking advantage to mention LyX & LaTeX as tools for producing
layouts, I had a small pause.
Soon, I have to start with some new writing and today I downloaded new
1.1.3 version.
I just changed the strings in tex-accent.C to have capability to enter
diacritic marks which are disabled by default in LyX (like r underdot),
compiled the program and tried to see what's happening.
I have defined dead keys in Xmodmap and I use latin-2 encoding in my
documents (attached file croatian.kmap) plus sanskrit.bind (also
attached) to add feature for entering sanskrit diacritic marks.
Now I cannot see all of them on the screen although they appear in dvi
output. Problem is with "i macron".
More serious problem is crashing when trying to enter "C caron" (if I'm
correct) - standard character in latin-2 encoding.
The trace file is included.
Sincerely,
Sasa
P.S. Keep up the beautiful work on LyX. It is really fantastic.
Croatian specific characters
#--------------------------------------------------------------------
#
# Local Dead Keys. The particular keysyms for dead keys were defined
# using xkeycaps.
#
#--------------------------------------------------------------------
# Bound to Mode_switch+`
\bind "~S-~C-~M-dead_acute" "accent-acute"
# Bound to Mode_switch+~
\bind "~S-~C-~M-dead_tilde" "accent-tilde"
# Bound to Mode_switch+Shift+-
\bind "~S-~C-~M-dead_macron" "accent-macron"
# Bound to Mode_switch+Shift++'
\bind "~S-~C-~M-dead_belowdot" "accent-underdot"
# Bound to Mode_switch+*
\bind "~S-~C-~M-abovedot" "accent-dot"
Program received signal SIGSEGV, Segmentation fault.
lyxstring::lyxstring (this=0xbffff3f0, x=@0x0, pos=0, n=4294967295)
at lyxstring.C:434
434 Assert(pos <= x.rep->sz); // STD!
(gdb) bt
#0 lyxstring::lyxstring (this=0xbffff3f0, x=@0x0, pos=0, n=4294967295)
at lyxstring.C:434
#1 0x80e8a4c in Trans::process (this=0x81894c0, c=-56, k=@0x81bc910)
at trans_decl.h:34
#2 0x80e98eb in TransManager::TranslateAndInsert (this=0x81bc910, c=-56,
text=0x82111f0) at trans_mgr.C:281
#3 0x80ae717 in LyXFunc::Dispatch (this=0x81bc790, ac=-1,
do_not_use_this_arg=0x820ca90 "È") at lyxfunc.C:2474
#4 0x80a8191 in LyXFunc::processKeyEvent (this=0x81bc790, ev=0x4008f2ec)
at lyxfunc.C:303
#5 0x8060885 in LyXView::KeyPressMask_raw_callback (fl=0x81b26f0,
xev=0x4008f2ec) at LyXView.C:351
#6 0x80608a0 in C_LyXView_KeyPressMask_raw_callback (fl=0x81b26f0,
xev=0x4008f2ec) at LyXView.C:358
#7 0x400483bf in pre_emptive_consumed () from /usr/X11R6/lib/libforms.so.0.88
#8 0x40047758 in do_interaction_step () from /usr/X11R6/lib/libforms.so.0.88
#9 0x40047ee2 in fl_treat_interaction_events ()
from /usr/X11R6/lib/libforms.so.0.88
#10 0x40047f1c in fl_check_forms () from /usr/X11R6/lib/libforms.so.0.88
#11 0x809b57d in LyXGUI::runTime (this=0x8198650) at lyx_gui.C:634
#12 0x809c6e4 in LyX::LyX (this=0xbffff84c, argc=0xbffff8f0, argv=0xbffff934)
at ../src/lyx_main.C:119
#13 0x80b8353 in main (argc=1, argv=0xbffff934) at ../src/main.C:43
(gdb)