X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex-accent.h;h=7f7ec3d533608542eed9082d1069309fea9cbc18;hb=52eb91c94fb70d58dceef430659c8781de2eccda;hp=968f5f3edeb4cc6b4f4b2bde463d464513bcafb5;hpb=99d1627a471b92f403598d03dfc861ddc3c11be0;p=lyx.git diff --git a/src/tex-accent.h b/src/tex-accent.h index 968f5f3ede..7f7ec3d533 100644 --- a/src/tex-accent.h +++ b/src/tex-accent.h @@ -1,18 +1,22 @@ // -*- C++ -*- -/* This file is part of - * ====================================================== +/** + * \file tex-accent.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * LyX, The Document Processor + * \author Lars Gullik Bjønnes + * \author Matthias Ettrich * - * Copyright 1995 Matthias Ettrich - * Copyright 1995-2001 The LyX Team. - * - * ====================================================== */ + * Full author contact details are available in file CREDITS. + */ #ifndef TEX_ACCENT #define TEX_ACCENT -#include "commandtags.h" +#include "lfuns.h" + + +namespace lyx { /* the names used by TeX and XWindows for deadkeys/accents are not the same so here follows a table to clearify the differences. Please correct this @@ -21,26 +25,26 @@ |------------------|------------------|------------------|--------------| | TeX | XWindows | \bind/LFUN | used by intl | |------------------|------------------|------------------|--------------| - | grave | grave |LFUN_GRAVE | grave - | acute | acute |LFUN_ACUTE | acute - | circumflex | circumflex |LFUN_CIRCUMFLEX | circumflex - | umlaut/dieresis | diaeresis |LFUN_UMLAUT | umlaut - | tilde | tilde |LFUN_TILDE | tilde - | macron | maron |LFUN_MACRON | macron - | dot | abovedot |LFUN_DOT | dot - | cedilla | cedilla |LFUN_CEDILLA | cedilla - | underdot | |LFUN_UNDERDOT | underdot - | underbar | |LFUN_UNDERBAR | underbar - | hácek | caron |LFUN_CARON | caron - | breve | breve |LFUN_BREVE | breve - | tie | |LFUN_TIE | tie - | Hungarian umlaut | doubleacute |LFUN_HUNG_UMLAUT | hungarian umlaut - | circle | abovering |LFUN_CIRCLE | circle + | grave | grave |LFUN_ACCENT_GRAVE | grave + | acute | acute |LFUN_ACCENT_ACUTE | acute + | circumflex | circumflex |LFUN_ACCENT_CIRCUMFLEX | circumflex + | umlaut/dieresis | diaeresis |LFUN_ACCENT_UMLAUT | umlaut + | tilde | tilde |LFUN_ACCENT_TILDE | tilde + | macron | maron |LFUN_ACCENT_MACRON | macron + | dot | abovedot |LFUN_ACCENT_DOT | dot + | cedilla | cedilla |LFUN_ACCENT_CEDILLA | cedilla + | underdot | |LFUN_ACCENT_UNDERDOT | underdot + | underbar | |LFUN_ACCENT_UNDERBAR | underbar + | hácek | caron |LFUN_ACCENT_CARON | caron + | breve | breve |LFUN_ACCENT_BREVE | breve + | tie | |LFUN_ACCENT_TIE | tie + | Hungarian umlaut | doubleacute |LFUN_ACCENT_HUNGARIAN_UMLAUT | hungarian umlaut + | circle | abovering |LFUN_ACCENT_CIRCLE | circle | | ogonek | | | | iota | | | | voiced_sound | | | | semivoiced_sound | | - | | |LFUN_SPECIAL_CARON| special caron + | | |LFUN_ACCENT_SPECIAL_CARON| special caron */ // I am not sure how some of the XWindows names coresponds to the TeX ones. @@ -107,4 +111,7 @@ struct tex_accent_struct { /// extern tex_accent_struct lyx_accent_table[]; + +} // namespace lyx + #endif