2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2000 The LyX Team.
10 * ====================================================== */
19 #include "commandtags.h"
21 /* the names used by TeX and XWindows for deadkeys/accents are not the same
22 so here follows a table to clearify the differences. Please correct this
25 |------------------|------------------|------------------|--------------|
26 | TeX | XWindows | \bind/LFUN | used by intl |
27 |------------------|------------------|------------------|--------------|
28 | grave | grave |LFUN_GRAVE | grave
29 | acute | acute |LFUN_ACUTE | acute
30 | circumflex | circumflex |LFUN_CIRCUMFLEX | circumflex
31 | umlaut/dieresis | diaeresis |LFUN_UMLAUT | umlaut
32 | tilde | tilde |LFUN_TILDE | tilde
33 | macron | maron |LFUN_MACRON | macron
34 | dot | abovedot |LFUN_DOT | dot
35 | cedilla | cedilla |LFUN_CEDILLA | cedilla
36 | underdot | |LFUN_UNDERDOT | underdot
37 | underbar | |LFUN_UNDERBAR | underbar
38 | hácek | caron |LFUN_CARON | caron
39 | breve | breve |LFUN_BREVE | breve
40 | tie | |LFUN_TIE | tie
41 | Hungarian umlaut | doubleacute |LFUN_HUNG_UMLAUT | hungarian umlaut
42 | circle | abovering |LFUN_CIRCLE | circle
46 | | semivoiced_sound | |
47 | | |LFUN_SPECIAL_CARON| special caron
49 // I am not sure how some of the XWindows names coresponds to the TeX ones.
89 TEX_MAX_ACCENT= TEX_OGONEK
93 /** the native is so we know what characters TeX can write in a decent way
94 it should be up to the user if _all_ characters should be allowed to
96 struct tex_accent_struct {
110 extern tex_accent_struct lyx_accent_table[];