]> git.lyx.org Git - lyx.git/blobdiff - src/tex-strings.C
fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section...
[lyx.git] / src / tex-strings.C
index a5d56669c152b37aa8bd0fe4d7b15e6e728a1afc..d1ca797890d7ea8a64c263f40ead35ec40a3438a 100644 (file)
@@ -1,51 +1,48 @@
-/* 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 <config.h>
 
 #include "tex-strings.h"
 
+
 // 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", ""
 };
 
@@ -54,9 +51,9 @@ 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",
+char const * const tex_graphics[] = {"default", "dvips", "dvitops", "emtex",
                      "ln", "oztex", "textures", "none", ""};
 
 
-char const * tex_fonts[] = {"default", "ae", "pslatex", "times", "palatino",
+char const * const tex_fonts[] = {"default", "ae", "pslatex", "times", "palatino",
                            "helvet", "avant", "newcent", "bookman", ""};