]> git.lyx.org Git - lyx.git/blobdiff - src/converter.h
remove noload/don't typeset
[lyx.git] / src / converter.h
index ebc5b9abfefdf1a4e64582592c30fddee3d57319..77dc9723d031568d49a624a5c390119ebf5dd3a4 100644 (file)
@@ -1,9 +1,9 @@
 // -*- C++ -*-
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *        
+ *
  *           Copyright 1995 Matthias Ettrich
  *           Copyright 1995-2001 The LyX Team.
  *
@@ -77,15 +77,19 @@ private:
 inline
 bool operator<(Format const & a, Format const & b)
 {
-       return compare_no_case(a.prettyname(), b.prettyname()) < 0;
+       // use the compare_ascii_no_case instead of compare_no_case,
+       // because in turkish, 'i' is not the lowercase version of 'I',
+       // and thus turkish locale breaks parsing of tags.
+
+       return compare_ascii_no_case(a.prettyname(), b.prettyname()) < 0;
 }
 
 
 ///
 class Formats {
 public:
-        ///
-        typedef std::vector<Format> FormatList;
+       ///
+       typedef std::vector<Format> FormatList;
        ///
        typedef FormatList::const_iterator const_iterator;
        ///
@@ -99,7 +103,7 @@ public:
        ///
        void add(string const & name);
        ///
-       void add(string const & name, string const & extension, 
+       void add(string const & name, string const & extension,
                 string const & prettyname, string const & shortcut);
        ///
        void erase(string const & name);
@@ -176,7 +180,7 @@ public:
 ///
 class Converters {
 public:
-        typedef std::vector<Converter> ConverterList;
+       typedef std::vector<Converter> ConverterList;
        ///
        typedef ConverterList::const_iterator const_iterator;
        ///
@@ -241,7 +245,7 @@ public:
        }
 private:
        ///
-       bool scanLog(Buffer const * buffer, string const & command, 
+       bool scanLog(Buffer const * buffer, string const & command,
                     string const & filename);
        ///
        bool runLaTeX(Buffer const * buffer, string const & command);