Commit Graph

490 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
97c4feea71 typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22494 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 18:34:21 +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
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
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
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
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
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
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
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
Uwe Stöhr
edfa8bd4e7 - LaTeXConfig.lyx: Japanese class updates by Koji
- Tutorial: fix a typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22209 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-18 21:35:23 +00:00
Uwe Stöhr
81cceb250c French Intro.lyx: updates by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22203 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 23:44:46 +00:00
Uwe Stöhr
7a75f54050 check for hyperref since it is now required
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22200 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 22:46:58 +00:00
Abdelrazak Younes
f4ceae1f25 revert faultily committed UserGuide.lyx in rev 22165.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22166 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 11:39:40 +00:00
Abdelrazak Younes
efbd1d30cb Sanitize the way we use abort() and exit(). With this commit, we should never crash in release mode, even when assertions are enabled. In debug mode, we crash with abort in order to get a useful backtrace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22165 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 11:34:29 +00:00
Uwe Stöhr
f702ec6eda Tutorial.lyx: revise the last missing chapter 4
Intro.lyx: rewrite some sentences suggested on the docs list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22144 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-14 01:25:29 +00:00
Uwe Stöhr
6b8cd3a7cd French Intro.lyx: updates by Jean-Pierre Chretien
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22115 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 01:39:33 +00:00
Jürgen Spitzmüller
15eae2fe68 * lib/doc/Makefile.am:
- compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22096 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 09:39:08 +00:00
Uwe Stöhr
b3b243a6ca French docs translation updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-11 21:49:58 +00:00
Uwe Stöhr
02d6a9c140 UserGuide.lyx: clearify two infos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22089 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-11 20:59:22 +00:00
Uwe Stöhr
8005ece7c0 - Some small Tutorial corrections spotted by Siegfried
- French EmbeddedObjects translation update also by Siegfried

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21919 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 13:45:40 +00:00
Uwe Stöhr
eca6ca3798 Tutorial.lyx: fix image path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21729 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 00:35:28 +00:00
Uwe Stöhr
09229b098b French Tutorial.lyx: updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21726 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 00:06:27 +00:00
Uwe Stöhr
757b3e40e3 EmbeddedObjects.lyx: add info about dissolving notes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21724 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 23:53:02 +00:00
Uwe Stöhr
a58decdba1 Tutorial.lyx: complete revision except of chapter 4
German Tutorial.lyx: some cleanups

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21722 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 23:50:50 +00:00
Uwe Stöhr
9f7798c6ce Tutorial.lyx: fix some issues reported by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21709 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 00:13:05 +00:00
Uwe Stöhr
a145538ba1 big French manual update:
- UserGuide updates
- new translation of the EmbeddedObjects manual
done by Siegfried MEUNIER-GUTTIN-CLUZEL

- remove the file examples/fr/ExemplesTableaux.lyx since we have this now in the EmbeddedObjects.lyx manual (as I did for the other lanuages some weeks ago)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21560 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:34:10 +00:00
Uwe Stöhr
246baa610e UserGuide.lyx: adopt Martins Changes in r21531 to the doc style and the other maintained docs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21538 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 00:48:04 +00:00
Uwe Stöhr
0f9f633968 French Intro.lyx: Updates from Siegfried Meunier-Guttin-Cluzel
(Siegfred has also translated the EmbeddedObjects manual and updated the UserGuide. These versions follows this weekend.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21535 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-09 23:40:44 +00:00
Uwe Stöhr
b319cc487f German Tutorial.lyx: remove wrong description
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21527 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 23:20:56 +00:00
Uwe Stöhr
62ddcfe1c4 UserGuide.lyx: describe the pixmap cache
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21453 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 21:29:32 +00:00
Uwe Stöhr
2c9293e5af LaTeXConfig.lyx: additions for the Japanese layout files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21415 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-04 00:38:12 +00:00
Uwe Stöhr
6ca7856ab5 German UserGuide.lyx: updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21414 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-04 00:15:56 +00:00
Uwe Stöhr
9b871941e2 German Customization.lyx: updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21354 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 18:05:27 +00:00
Bo Peng
3c66085625 remove the manifest section from two doc files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21342 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 16:50:51 +00:00
Uwe Stöhr
63862bce76 EmbeddedObjects.lyx: fix some linebreaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21338 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 16:39:37 +00:00
Uwe Stöhr
3efede7d6e Spanish UserGuide.lyx: updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21300 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 21:46:07 +00:00
Uwe Stöhr
a1355ecc8f Extended.lyx: remove some Linux-only path descriptions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21298 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 21:26:01 +00:00
Uwe Stöhr
4c3950f90a German Extended.lyx: updates from Hartmut again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21245 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 21:36:08 +00:00
Uwe Stöhr
a8551ebde2 German Extended.lyx: updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21236 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 15:36:30 +00:00
Uwe Stöhr
3b7e12c27c German UserGuide.lyx: fix image name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21229 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-27 17:55:22 +00:00
Uwe Stöhr
a268c867b9 German UserGuide.lyx updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21226 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-27 16:56:46 +00:00
Uwe Stöhr
385b1ae939 German UserGuide.lyx updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21132 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 23:20:09 +00:00
Uwe Stöhr
ab79da2707 Documentation updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21115 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 02:05:04 +00:00
Uwe Stöhr
b3b97dc23e UserGuides: update an image path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21112 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 01:24:11 +00:00
Uwe Stöhr
35f459d70f Extended.lyx: remove section about Index preparation as this is since LyX 1.5.2 described in the UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21110 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 00:43:59 +00:00
Richard Heck
7deaa64d7e Update the documentation on copiers a little bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21039 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 16:57:59 +00:00