3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Lars Gullik Bjønnes
7 * \author Jean Marc Lasgouttes
9 * Full author contact details are available in file CREDITS.
18 #include "support/os.h"
20 #include <boost/filesystem/path.hpp>
27 namespace fs
= boost::filesystem
;
29 int main(int argc
, char * argv
[])
32 std::ios_base::sync_with_stdio(false);
34 fs::path::default_name_check(fs::no_check
);
36 // To avoid ordering of global object problems with some
37 // stdlibs we do the initialization here, but still as
39 lyx::lyxerr
.rdbuf(std::cerr
.rdbuf());
41 lyx::support::os::init(argc
, argv
);
43 // initialize for internationalized version *EK*
46 lyx::LyX the_lyx_instance
;
48 return the_lyx_instance
.exec(argc
, argv
);