4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
8 * \author Matthias Ettrich
10 * Full author contact details are available in file CREDITS.
17 #include "support/docstring.h"
22 /* the names used by TeX and XWindows for deadkeys/accents are not the same
23 so here follows a table to clearify the differences. Please correct this
26 |------------------|------------------|------------------|--------------|
27 | TeX | XWindows | \bind/LFUN | used by intl |
28 |------------------|------------------|------------------|--------------|
29 | grave | grave |LFUN_ACCENT_GRAVE | grave
30 | acute | acute |LFUN_ACCENT_ACUTE | acute
31 | circumflex | circumflex |LFUN_ACCENT_CIRCUMFLEX | circumflex
32 | umlaut/dieresis | diaeresis |LFUN_ACCENT_UMLAUT | umlaut
33 | tilde | tilde |LFUN_ACCENT_TILDE | tilde
34 | macron | maron |LFUN_ACCENT_MACRON | macron
35 | dot | abovedot |LFUN_ACCENT_DOT | dot
36 | cedilla | cedilla |LFUN_ACCENT_CEDILLA | cedilla
37 | underdot | |LFUN_ACCENT_UNDERDOT | underdot
38 | underbar | |LFUN_ACCENT_UNDERBAR | underbar
39 | hácek | caron |LFUN_ACCENT_CARON | caron
40 | breve | breve |LFUN_ACCENT_BREVE | breve
41 | tie | |LFUN_ACCENT_TIE | tie
42 | Hungarian umlaut | doubleacute |LFUN_ACCENT_HUNGARIAN_UMLAUT | hungarian umlaut
43 | circle | abovering |LFUN_ACCENT_CIRCLE | circle
47 | | semivoiced_sound | |
48 | | |LFUN_ACCENT_SPECIAL_CARON| special caron
50 // I am not sure how some of the XWindows names coresponds to the TeX ones.
90 TEX_MAX_ACCENT= TEX_OGONEK
94 /** the native is so we know what characters TeX can write in a decent way
95 it should be up to the user if _all_ characters should be allowed to
97 struct tex_accent_struct {
113 extern tex_accent_struct lyx_accent_table[];
116 extern docstring const DoAccent(docstring const &, tex_accent);
118 extern docstring const DoAccent(char_type, tex_accent);