Commit Graph

8 Commits

Author SHA1 Message Date
Georg Baum
78a7743166 Import theorems correctly (bugs #5702, #5776)
Actually tex2lyx can handle modules since some time (#5702), but not
theorems (#5776). Now the following issues are fixed:
- Modules that depend on other modules can be loaded, since the dependencies
  are loaded first
- Default moduls of the text class are loaded correctly
- \newtheorem is recognized as a command that defines new environments and
  treated similar to \newenvironment
2012-10-26 22:23:16 +02:00
Jean-Marc Lasgouttes
a756403301 "Performance" fixes suggested by cppcheck
While cppcheck did not turn out any suspicious error messages, using
the "performance" flag highlighted several nitpicks in three categories
 * do not use it++ for iterators, ++it is better
 * do not use size() to test for emptyness, empty() is here
 * do not use "const T" as a function parameter, "const & T" is better

I doubt that any of these is a real performance problem, but the code is cleaner anyway.
2012-05-28 22:42:44 +02:00
Pavel Sanda
ffb189f0a9 Typo from Sven
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34425 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-17 20:56:12 +00:00
Richard Heck
ea0501025e s/moduleList/theModuleList/ for style purposes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31036 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 15:37:34 +00:00
Richard Heck
90c64a5f5e A couple things noticed by Andre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28578 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 21:49:56 +00:00
Uwe Stöhr
bf730bda7c LayoutModuleList.cpp: correct include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28577 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 21:19:12 +00:00
Uwe Stöhr
2bab705f62 LayoutModuleList: - make LyX compile
- fix SCons after r28575
                  - set EOL to native

@ Richard: For new files please always set the EOL flag to native. If possible it would be nice if you can also update SCons manifest file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28576 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 21:04:27 +00:00
Richard Heck
c67c0da43d Whoops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28575 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 19:38:10 +00:00