There is a procedure (lazy-keyboard-force) which you need to run before you redefine the keybindingĪdding (lazy-keyboard-force) in my-init-texmacs.scm TeXmacs crashes: Throwing no active view But this solution prevents updates to this module, so it could generate bugs whenever new versions of TeXmacs change these functionalities in some way. in $TEXMACS_HOME_PATH/progs/progs/math/math-kbd.scmĪnd this will be found before the system one. I think also another possibility is to create a copy of math-kbd.scm in your $TEXMACS_HOME_PATH, i.e. There is a procedure (lazy-keyboard-force) which you need to run before you redefine the keybinding, in order to be sure that it is operative. In $TEXMACS_PATH/progs/kernel/gui/kbd-define.scm you see the definition of lazy-keyboard. (lazy-define (math math-edit) brackets-refresh) (lazy-initialize (math math-menu) (in-math?)) ![]() Math-correct-menu semantic-math-preferences-menuĬontext-preferences-menu insert-math-menu) (lazy-menu (math math-menu) math-format-menu math-format-icons (lazy-keyboard (math math-sem-edit) in-sem-math?) ![]() In particular in $TEXMACS_PATH/progs/init-texmacs.scm you can see the following lines: (display "Booting math mode\n") ![]() So it could happen that you redefine the bindings before they are actually defined, and then when the system bindings are loaded they will change yours. As written somewhere in the Help some of the scheme files are not loaded just right away at the boot but delayed to have faster response. This will not survive an update of TeXmacs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |