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