Commit Graph

2554 Commits

Author SHA1 Message Date
Richard Heck
a8d2d891ee Wow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22489 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 08:03:48 +00:00
Uwe Stöhr
8b3acb7092 stdtoolbars.inc: partly revert r22445
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22483 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 20:57:15 +00:00
Jürgen Spitzmüller
f585b6ba11 * lib/ui/stdtoolbars.ui:
- disambiguate "Review".

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22476 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 08:54:23 +00:00
Richard Heck
098dc1f93b Remove comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22472 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:30:22 +00:00
Richard Heck
795c729776 Remove layout stuff made obsolete by modularization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22471 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:24:53 +00:00
Richard Heck
9f8bf4c9da Dummy format change for AMS modularization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22470 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:22:43 +00:00
Richard Heck
4aea2f6a73 More tweaks, and some fixes for missing files in the makefiles, while we're at it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22469 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:19:07 +00:00
Richard Heck
736418751a AMS module tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22468 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:13:01 +00:00
Richard Heck
b258ae2d26 Move stuff around.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22467 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 06:34:33 +00:00
Richard Heck
9229dd9371 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22465 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 06:07:34 +00:00
Richard Heck
b4341a8dae Minor tweaks, and a new module for unnumbered theorems only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22464 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 05:14:12 +00:00
Richard Heck
e66ced0383 File no longer needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22463 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 05:01:36 +00:00
Richard Heck
8d541e3675 Fix comments. Other credits are in other files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22462 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 05:00:11 +00:00
Richard Heck
f5a5be4d18 Modularization of the AMS classes, and the theorem environments generally.
This is Part I: The changes to the layout files and modules. Part II, still
to come, will involve lyx2lyx to help people who were using the older classes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22461 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 04:58:20 +00:00
Richard Heck
3112bed419 Fix layout2layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22459 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 03:59:39 +00:00
Richard Heck
7c28905b17 This commit adds some new functionality to the modules stuff. In particular, it introduces the concept of "required" and "excluded" modules: A given module may require one of some list of modules, or it may be incompatible with some other modules. (Complex Boolean combinations are not supported!!) These facts can be noted in the module file, and the UI responds appropriately: Required and excluded modules are noted in the description, and the "Add" button is enabled only if at least one of the required modules has already been selected and no excluded module is selected. Getting this to work involved a fair bit of cleanup of the existing code---including ways Angus, I think, had already pointed out were required---and also involved changing the syntax of the headers of the module files, but in ways that are probably best anyway.
None of the extant modules require any other modules, but the Theorem modules all exclude one another. (See the screenshot.) When I modularize the AMS classes---that is the next task---we'll have requires.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22456 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 18:51:02 +00:00
Uwe Stöhr
b99297b2c2 stdtoolbars.inc: rearrange integral icons to avoid the impression that \intop is the default. \int is the default and also usual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22445 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 18:40:39 +00:00
Bo Peng
06254d11df Embedding: display a pin at the top left corner of embedded figures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22439 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 16:22:05 +00:00
Pavel Sanda
922aa7b1e8 Add characters counting.
Introduce LFUN_STATISTICS.
see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg134033.html .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22433 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 15:18:00 +00:00
Richard Heck
40cb894ca6 Minor edit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22426 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 23:22:09 +00:00
Richard Heck
4b8edace67 It turns out we do need this optional argument, because configure.py needs to be able to tell what packages a given module requires.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 23:21:40 +00:00
Uwe Stöhr
e321f65d61 French Tutorial.lyx: updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22423 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 21:23:53 +00:00
Jürgen Spitzmüller
adea337417 Requires amsmath does not work. No idea why.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22421 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 18:31:05 +00:00
Jürgen Spitzmüller
59389fbf3a * lib/layouts/chess.layout:
- require chess (instead of manually loading in the preamble).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22420 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 18:15:49 +00:00
Jürgen Spitzmüller
a5d5a633d9 some more uses of Requires.
The package ifthen needs to be added to LaTeXConfig.lyx. I'll do this when that file can be opened again.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22419 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 17:32:47 +00:00
Jean-Marc Lasgouttes
ac5a40e5a3 rename menu entries for numbering formulas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22418 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 17:22:20 +00:00
Jürgen Spitzmüller
9e5eebc14c *** Requires tag for classes, layouts and custom insets ***
* src/TextClass{cpp,h}:
	- implement Requires tag for class and InsetLayout.
* src/Layout.{cpp,h}:
	- implement Requires tag for layouts.
	- increase layouts format to 6.
* src/Paragraph.cpp:
	- request required features for paragraph layouts.
* src/LaTeXFeatures.cpp:
	- add some packages needed by modules.
	- remove Preamble method for InsetLayout. This is now done
	  in InsetFlex::validate.
* src/BufferParams.cpp (validate):
	- request required features for the class.
* src/insets/InsetLayout.h:
	- new member "requires".
* src/insets/InsetFlex.{cpp,h}:
	- implement validate method and request required features and preamble snippets.

* lib/layouts/*.{layout,module,inc}:
	- increase layouts format to 6.
	- use Requires tags in some modules (more can be done later).

* lib/doc/Customization.lyx:
	- document Requires tag.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 16:59:10 +00:00
Uwe Stöhr
36926cc9e5 chkconfig.ltx: "LaTeXConfig.lyx.in" has been renamed to "LaTeXConfig.lyx"
(the other outdated comments will be fixed when bug 4460
http://bugzilla.lyx.org/show_bug.cgi?id=4460 is fixed)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22403 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 17:35:28 +00:00
Richard Heck
a43667b5be Remove references to obsolete URL module and make some other minor changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22401 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 17:00:59 +00:00
Richard Heck
ffbdd0e79a Remove obsolete URL module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22399 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 16:54:17 +00:00
Uwe Stöhr
81f48ded87 add a module for typesetting Braille
(entry for the LaTeXConfig.lyx file follows when bug 4460
http://bugzilla.lyx.org/show_bug.cgi?id=4460
is fixed)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22393 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 13:39:58 +00:00
Uwe Stöhr
38ed641598 add linguistics module
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22391 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 19:58:47 +00:00
Uwe Stöhr
d915adb996 add linguistics.lyx example file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22390 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 19:47:24 +00:00
Richard Heck
11bd4679c3 Check for endnotes package needed by some modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22384 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 16:47:47 +00:00
Richard Heck
dafeaaa9cf amsmath.sty should always be available.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22383 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 16:47:17 +00:00
Uwe Stöhr
4ebf254f5f add shortcut for creating numbered formulas (we already have a menu entry for this)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 13:08:15 +00:00
Uwe Stöhr
b5c74f84ae German UserGuide.lyx additions by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22378 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 11:59:07 +00:00
Uwe Stöhr
bd23e7228b - add Andrey V. Panov to the CREDITS part 2
- update Pavel's entry

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22371 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 02:25:29 +00:00
Uwe Stöhr
f65f949d1f German Tutorial.lyx: small update by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22353 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-03 21:58:06 +00:00
Uwe Stöhr
15d7a52d6d - revised Spanish Tutorial
- updated Spanish Intro
(all work by Ignacio)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22352 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-03 21:42:23 +00:00
Jürgen Spitzmüller
a229a78dff Support for \nocite* from Berhard Reiter. Increments file format to 210.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-28 16:56:57 +00:00
Abdelrazak Younes
5587709f0e Introduce LFUN_SCROLL.
Santa-clauss.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22324 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-27 11:37:07 +00:00
Richard Heck
2f22c881ee Routine for adding modules to the list of modules. Preparatory for AMS modularization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22318 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 20:15:31 +00:00
Stefan Schimanski
624315fe44 * clearer icon for math macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22287 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 20:22:10 +00:00
Stefan Schimanski
7fa64792f5 * disable "auto" again until that point is discussed on the mailing list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22269 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 00:50:21 +00:00
Stefan Schimanski
4267ad00cd * math macro toolbar can be made automatic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22265 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 00:47:37 +00:00
Uwe Stöhr
2d2a9924e2 - EmbeddedObjects.lyx: typo
- German Tutorial update by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22262 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-22 18:49:09 +00:00
Uwe Stöhr
95146d3cf9 Intro.lyx: change some sentences as proposed on the docs list by Jeff Barnes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22239 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 20:41:59 +00:00
Jürgen Spitzmüller
ccd6d709cb Add Linguistics module.
* lib/layouts/linguistics.module:
	- a new module with some linguistics support.
* lib/doc/examples/linguistics.lyx:
	- some documentation.
* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
	- add packages covington, csquotes and enumitem.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22230 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 12:12:19 +00:00
Richard Heck
e285d2a7d8 Support for nocite, provided by Bernhard Reiter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-20 15:46:14 +00:00