X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex-strings.C;h=59ba87f0ce0e1cffcacea7e32d56cc4b9870b283;hb=e5a46922e916a06ad1b958d5895cc3cfb4f13d2c;hp=5c217e75fd717ef09b6a4c0268cea4fea192c451;hpb=8283e978f8d621041c432b9b88a476bfd567385c;p=lyx.git diff --git a/src/tex-strings.C b/src/tex-strings.C index 5c217e75fd..59ba87f0ce 100644 --- a/src/tex-strings.C +++ b/src/tex-strings.C @@ -1,55 +1,52 @@ -/* This file is part of - * ====================================================== +/** + * \file tex-strings.C + * 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 Jean-Marc Lasgouttes * - * Copyright 1995 Matthias Ettrich - * Copyright 1995-2001 The LyX Team. - * - * ====================================================== */ + * Full author contact details are available in file CREDITS. + */ #include -#ifdef __GNUG__ -#pragma implementation -#endif - #include "tex-strings.h" +#include "gettext.h" + + +namespace lyx { + // this file should perhaps be split into even smaller parts -char const * string_paragraph_separation[3] = { +char const * const string_paragraph_separation[] = { "indent", "skip", "" }; -char const * string_quotes_language[7] = { +char const * const string_quotes_language[] = { "english", "swedish", "german", "polish", "french", "danish", "" }; -char const * string_papersize[12] = { - "Default", "Custom", "letterpaper", "executivepaper", "legalpaper", +char const * const string_papersize[] = { + "default", "custom", "letterpaper", "executivepaper", "legalpaper", "a3paper", "a4paper", "a5paper", "b3paper", "b4paper", "b5paper", "" }; -char const * string_paperpackages[4] = { - "a4", "a4wide", "widemarginsa4", "" -}; - - -char const * string_orientation[3] = { +char const * const string_orientation[] = { "portrait", "landscape", "" }; -char const * string_footnotekinds[8] = { +char const * const string_footnotekinds[] = { "footnote", "margin", "fig", "tab", "alg", "wide-fig", "wide-tab", "" }; -char const * string_align[5] = { +char const * const string_align[] = { "block", "left", "right", "center", "" }; @@ -58,9 +55,41 @@ char const * string_align[5] = { // used all over. As it happens, that meant that these strings were included // 27 times in the object file. (Asger) -char const * tex_graphics[] = {"default", "dvips", "dvitops", "emtex", - "ln", "oztex", "textures", "none", ""}; +char const * const tex_graphics[] = {"default", "dvips", "dvitops", "emtex", + "ln", "oztex", "textures", "none", "" +}; + + +char const * const tex_fonts_roman[] = {"default", "cmr", "lmodern", "ae", "times", "palatino", + "charter", "newcent", "bookman", "utopia", "beraserif", "ccfonts", "chancery", "" +}; + + +char const * tex_fonts_roman_gui[] = { N_("Default"), N_("Computer Modern Roman"), N_("Latin Modern Roman"), + N_("AE (Almost European)"), N_("Times Roman"), N_("Palatino"), N_("Bitstream Charter"), + N_("New Century Schoolbook"), N_("Bookman"), N_("Utopia"), N_("Bera Serif"), + N_("Concrete Roman"), N_("Zapf Chancery"), "" +}; + + +char const * const tex_fonts_sans[] = {"default", "cmss", "lmss", "helvet", "avant", "berasans", "cmbr", "" +}; + + +char const * tex_fonts_sans_gui[] = { N_("Default"), N_("Computer Modern Sans"), N_("Latin Modern Sans"), + N_("Helvetica"), N_("Avant Garde"), N_("Bera Sans"), N_("CM Bright"), "" +}; + + +char const * const tex_fonts_monospaced[] = {"default", "cmtt", "lmtt", "courier", "beramono", + "luximono", "cmtl", "" +}; + + +char const * tex_fonts_monospaced_gui[] = { N_("Default"), N_("Computer Modern Typewriter"), + N_("Latin Modern Typewriter"), N_("Courier"), N_("Bera Mono"), N_("LuxiMono"), + N_("CM Typewriter Light"), "" +}; -char const * tex_fonts[] = {"default", "ae", "pslatex", "times", "palatino", - "helvet", "avant", "newcent", "bookman", ""}; +} // namespace lyx