X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex-strings.C;h=d1ca797890d7ea8a64c263f40ead35ec40a3438a;hb=d9e6e32961860821ecc047039ae6c1a9dcc6e35d;hp=ae2753757c97116a5cd880786a46c799f5028f40;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/src/tex-strings.C b/src/tex-strings.C index ae2753757c..d1ca797890 100644 --- a/src/tex-strings.C +++ b/src/tex-strings.C @@ -1,75 +1,59 @@ -#include -#include "tex-strings.h" +/** + * \file tex-strings.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * \author Jean-Marc Lasgouttes + * + * Full author contact details are available in file CREDITS. + */ -// this file should perhaps be split into even smaller parts - -char const* string_paragraph_separation[3] = { - "indent", "skip", "" -}; +#include +#include "tex-strings.h" -char const* string_quotes_language[7] = { - "english", "swedish", "german", "polish", "french", "danish", "" -}; +// this file should perhaps be split into even smaller parts -char const* string_oldpapersize[10] = { - "a4paper", "a4", "a4wide", "widemarginsa4", "usletter", - "a5paper", "b5paper", "executivepaper", "legalpaper","" +char const * const string_paragraph_separation[] = { + "indent", "skip", "" }; -char const* string_papersize[12] = { - "Default", "Custom", "letterpaper", "executivepaper", "legalpaper", - "a3paper","a4paper","a5paper","b3paper","b4paper","b5paper","" +char const * const string_quotes_language[] = { + "english", "swedish", "german", "polish", "french", "danish", "" }; -char const* string_paperpackages[4] = { - "a4", "a4wide", "widemarginsa4", "" +char const * const string_papersize[] = { + "default", "custom", "letterpaper", "executivepaper", "legalpaper", + "a3paper", "a4paper", "a5paper", "b3paper", "b4paper", "b5paper", "" }; -char const* string_orientation[3] = { +char const * const string_orientation[] = { "portrait", "landscape", "" }; -char const* string_footnotekinds[8] = { - "footnote", "margin", "fig", "tab", "alg", "wide-fig", "wide-tab", "" +char const * const string_footnotekinds[] = { + "footnote", "margin", "fig", "tab", "alg", "wide-fig", "wide-tab", "" }; -char const* string_align[5] = { - "block", "left", "right", "center", "" +char const * const string_align[] = { + "block", "left", "right", "center", "" }; // The following was moved from tex-defs.h to here, because tex-defs.h is -// used all over. As it happens, that meant that these strings were included +// used all over. As it happens, that meant that these strings were included // 27 times in the object file. (Asger) -/// -char const *tex_babel[] = {"default","afrikaans", "american", - "austrian", "bahasa", "brazil", "breton", - "catalan", "croatian", "czech", "danish", "dutch", - "english", "esperanto", "estonian", - "finnish", "francais", "french", "frenchb", - "galician", - "german", "greek", "hungarian", "irish", - "italian","lsorbian", "magyar", "norsk", - "polish", "portuges", "romanian", - "russian", "scottish", - "spanish", "slovak", "slovene", "swedish", - "turkish", "usorbian", "welsh", - ""}; - - -char const *tex_graphics[] = {"default", "dvips", "dvitops", "emtex", +char const * const tex_graphics[] = {"default", "dvips", "dvitops", "emtex", "ln", "oztex", "textures", "none", ""}; -char const *tex_fonts[] = {"default", "times", "palatino", "helvet", "avant", - "newcent", "bookman", ""}; - - +char const * const tex_fonts[] = {"default", "ae", "pslatex", "times", "palatino", + "helvet", "avant", "newcent", "bookman", ""};