]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.h
typo
[lyx.git] / src / LaTeX.h
index aa895cf640b7047200bb3a0a7c6d66eace76f839..ba088bb5cceed9afa352e26049a677a4558e3215 100644 (file)
@@ -60,14 +60,26 @@ public:
        ///
        Errors::const_iterator end() const { return errors.end(); }
        ///
+       Errors::const_iterator begin_ref() const { return undef_ref.begin(); }
+       ///
+       Errors::const_iterator end_ref() const { return undef_ref.end(); }
+       ///
        void insertError(int line, docstring const & error_desc,
                         docstring const & error_text,
                         std::string const & child_name = empty_string());
        ///
        void clearErrors() { errors.clear(); }
+       ///
+       void insertRef(int line, docstring const & error_desc,
+                        docstring const & error_text,
+                        std::string const & child_name = empty_string());
+       ///
+       void clearRefs() { undef_ref.clear(); }
 private:
        ///
        Errors errors;
+       /// For missing Citation and references
+       Errors undef_ref;
 };
 
 
@@ -188,12 +200,12 @@ private:
        ///
        void deplog(DepTable & head);
 
-       ///
-       bool runMakeIndex(std::string const &, OutputParams const &,
+       /// returns exit code
+       int runMakeIndex(std::string const &, OutputParams const &,
                          std::string const & = std::string());
 
-       ///
-       bool runMakeIndexNomencl(support::FileName const &,
+       /// returns exit code
+       int runMakeIndexNomencl(support::FileName const &, 
                                 std::string const &, std::string const &);
 
        ///
@@ -215,7 +227,7 @@ private:
 
        ///
        bool runBibTeX(std::vector<AuxInfo> const &,
-                      OutputParams const &);
+                      OutputParams const &, int & exit_code);
 
        ///
        void removeAuxiliaryFiles() const;