Commit Graph

621 Commits

Author SHA1 Message Date
Uwe Stöhr
5beb2607f0 German Extended.lyx: updates by Hartmut for LyX 1.6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24186 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-09 00:03:47 +00:00
Uwe Stöhr
49ca9a37a0 French Math.lyx: updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24185 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 23:30:42 +00:00
Uwe Stöhr
671f132db0 - French UserGuide.lyx: updates for LyX 1.6 by Siegfried
- UserGuide.lyx: fix appearance of a wrap float

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24184 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 23:28:33 +00:00
Uwe Stöhr
885af1e23e UserGuide.lyx: fix output of the wrap floats section
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24168 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 09:34:00 +00:00
Uwe Stöhr
8af4a80c49 Math.lyx: get rid of an ERT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24163 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 09:19:59 +00:00
Uwe Stöhr
20ee5c565b UserGuide.lyx: fix a typo spotted by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24151 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 15:46:12 +00:00
Uwe Stöhr
a678fb0f6c German UserGuide.lyx: some updates and compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24147 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-07 12:32:57 +00:00
Enrico Forestieri
2ad48f204b Fix bug 4668
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24080 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 02:29:41 +00:00
Uwe Stöhr
3d80bf4525 German UserGuide.lyx: update for Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24077 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-31 19:41:23 +00:00
Uwe Stöhr
3ef089fa0a German UserGuide.lyx: updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24050 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 22:26:29 +00:00
Uwe Stöhr
29b29588f4 - UserGuide.lyx: describe the new \pagebreak and \linebreak insets
- Math.lyx: convert ERT to the new \pagebreak and \linebreak insets

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24046 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 16:54:32 +00:00
Uwe Stöhr
ed2df64f10 EmbeddedObjects.lyx: - remove the \href stuff as this is now explained in the UserGuide
UserGuide.lyx: explain the new URL and Hyperlink handling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24045 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 16:31:16 +00:00
Uwe Stöhr
f35bd40636 Math.lyx:
- remove the \href stuff as this is now explained in the UserGuide
 - bug 518 is partially fixed in trunk

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24044 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 16:24:56 +00:00
Uwe Stöhr
377e6498b2 - de.po: updates by Hartmut
- German UserGuide.lyx: update for LyX 1.6.0 from Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24030 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 04:31:57 +00:00
Uwe Stöhr
8ccb43b67c - Math.lyx: some more updates for LyX 1.6.0
- UserGuide.lyx: only updated to latest fileformat

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24029 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 04:25:35 +00:00
Uwe Stöhr
0e267a0727 Math.lyx: fix index entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24025 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 02:06:09 +00:00
Uwe Stöhr
be79379841 Math.lyx: first step to update it for LyX 1.6.0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24010 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 01:54:17 +00:00
Uwe Stöhr
15c8d2b97c German UserGuide.lyx: tiny improvement by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23961 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 01:06:48 +00:00
Richard Heck
340b193e3d Update the Customization manual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23933 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 21:08:49 +00:00
Richard Heck
761f004cdc Update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23915 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 13:02:18 +00:00
Richard Heck
fa73407a68 Use character styles in the Customization manual. Also contains a few minor updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23914 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 12:54:26 +00:00
Uwe Stöhr
be3d526dbd - German EmbeddedObjects.lyx: tiny beautification by Hartmut
- German Extended.lyx: remove stuff that is already in the EmbeddedObjects manual

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23817 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 21:37:06 +00:00
Uwe Stöhr
dc079d53a0 UserGuide.lyx: \hspace*{\fill} is now also supported
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23814 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 21:14:42 +00:00
Uwe Stöhr
7b49fea525 first step of currently countless other to update the UserGuide.lyx
Changelog: 
(I'll announce a list of changes on the lyx-docs list for the translators when the update is ready)

- index generation: sec. 6.6, 6.6.3, 6.6.5
- wrap floats: sec. 4.6.1.4
- new horizontal space dialog: complete sec. 3.5, sec. 3.5.6 is now sec. 3.5.2
- new hyperlink dialog: Bibliography

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23802 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 02:18:44 +00:00
Uwe Stöhr
aabe612234 German Extended.lyx: additions by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23800 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 22:02:11 +00:00
Uwe Stöhr
0db2667b1b - Spanish Math.lyx: many small cleanups by Ignacio
- Math.lyx: small correction according to the final solution for bug 2556

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23782 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 01:25:21 +00:00
Enrico Forestieri
0b21465259 Update the description of the bm package in LaTeXConfig.lyx.
Also make sure that bm is loaded after amsmath.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23706 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 01:44:49 +00:00
Uwe Stöhr
cd5e5efe51 Math.lyx: bug 2556 is now fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23705 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 01:16:41 +00:00
Uwe Stöhr
7ca2e6fd7c French UserGuide: missing translations from Siegfried
German Extended.lyx: revert unwanted changes from previous commit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23700 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 00:45:05 +00:00
Uwe Stöhr
2bc13ccb8f German Extended.lyx: updated by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23697 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 00:20:12 +00:00
Stefan Schimanski
d5e63e10f4 * added xargs package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23632 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 14:20:10 +00:00
Bernhard Roider
5a7724d89c config for bm.sty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 13:06:09 +00:00
Uwe Stöhr
f25e7d20d8 UserGuide: - update from floatflt to wrapfig
- mention the math manual

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23498 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 01:53:46 +00:00
Uwe Stöhr
a67f6f1480 French version of Formula-numbering.lyx by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23461 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-04 20:48:48 +00:00
Uwe Stöhr
462d0d0fa0 German Extended.lyx: small update by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23397 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 17:22:39 +00:00
Jürgen Spitzmüller
ac1977018b ** subfig support **
* src/Buffer.cpp:
* development/FORMAT:
	- bump format to 316.

* src/insets/InsetFloat.{cpp, h}:
	- let nested floats be subfloats
	  NOTE: docbook support is missing.
* src/insets/InsetCaption.{cpp, h}:
	- handle subfigure captions
* src/insets/InsetGraphics.cpp:
* src/insets/InsetGraphicsParams.{cpp, h}:
	- remove old subfigure support

* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
	- check for subfig instead of subfigure.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion/reversion routines for subfig -> subfloats
	  NOTE: the reversion routine still has bugs.

* src/Counters.{cpp, h}: 
	- add identifiers for subfloats

* src/LaTeXFeatures.{cpp, h}:
	- support for subfig

* src/TextClass.cpp:
	- set up subfloat counter for all custom floats.

* src/frontends/qt4/GuiGraphics.cpp:
* src/frontends/qt4/ui/GrahicsUi.ui:
	- remove subfigure UI.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 11:30:50 +00:00
Uwe Stöhr
0ab7a8dce3 - new Spanish translation of the math manual
- Math.lyx: bug 2461 is now fixed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23369 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-01 14:50:42 +00:00
Uwe Stöhr
7cfb26c367 Math.lyx: two more bugfixes spotted by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23335 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 21:05:50 +00:00
Uwe Stöhr
e3ffc06f1e EmbeddedObjects.lyx: check for the sidecap package, since it is e.g. no longer by default installed on MiKTeX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23270 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 00:39:38 +00:00
Uwe Stöhr
1b5d8d5738 LaTeXConfig.lyx: tiny formatting fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23266 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 00:00:33 +00:00
Uwe Stöhr
412433783a Math.lyx: several fixes for bugs spotted by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23264 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 23:32:51 +00:00
Uwe Stöhr
56f691519f German UserGuide.lyx: updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23256 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 18:14:29 +00:00
Uwe Stöhr
1fb4a4a1be chkconfig.ltx: check for nicefrac and units
nicefrac and units are supported by LyX since LyX 1.5.0.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23253 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 17:50:40 +00:00
Uwe Stöhr
21a3cd14d2 Extended.lyx: update by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23165 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-23 18:13:19 +00:00
Uwe Stöhr
a235bd7115 French Math.lyx: avoid some ERT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22970 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-12 22:55:15 +00:00
Uwe Stöhr
c3cad57542 French translation of the math manual by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22968 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-12 22:22:36 +00:00
Jean-Marc Lasgouttes
3838853990 not sure why this gets updated differently
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22958 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-12 09:52:33 +00:00
Uwe Stöhr
57d548e2eb Spanish EmbeddedObjects.lyx: updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22921 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-10 17:04:10 +00:00
Uwe Stöhr
a3edd27739 EmbeddedObjects.lyx: add index entry for endnotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22919 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-10 16:52:23 +00:00
Uwe Stöhr
77081492f1 LaTeXConfig.lyx: add entry for endnotes (last part of bug 4460)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22918 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-10 16:48:44 +00:00
Uwe Stöhr
f7ae0a3420 German Extended.lyx: Hartmut added a hint to the serial letter example files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22906 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 18:41:47 +00:00
Uwe Stöhr
767fd1d6ae EmbeddedObjects.lyx: correct unwanted change in last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22880 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 22:00:32 +00:00
Uwe Stöhr
f448b1e192 EmbeddedObjects: French translation updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22879 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 21:48:18 +00:00
Uwe Stöhr
36a00f0e62 EmbeddedObjects:
- Spanish updates by Ignacio
 - fix image paths in German version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22876 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 21:23:00 +00:00
Jürgen Spitzmüller
d61648656a * lib/doc/LaTeXConfig.lyx:
- document ifthen and rotfloat, update tipa documentation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22835 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 14:00:34 +00:00
Uwe Stöhr
e9ff2bf5d7 EmbeddedObjects: - bibliography cleanup
- fix bibliography link in German version
                 - switch from floatflt to wrapfig
                 - fix included documents in French version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22818 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 23:13:21 +00:00
Uwe Stöhr
daca09142b manuals: now correct: add a link where to find the latest PDF version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22799 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 20:24:14 +00:00
Uwe Stöhr
f98c0c5e43 manuals: add a link where to find the latest PDF version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22797 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 20:16:17 +00:00
Uwe Stöhr
e283f5a14a Math.lyx: remove obsolete footnote
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22795 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 20:03:30 +00:00
Uwe Stöhr
790411d174 Math.lyx: some fixes for issues spotted by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22780 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 01:10:02 +00:00
Uwe Stöhr
087dbc1a2d LaTeXConfig.lyx: add description for Braille
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22778 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 00:27:59 +00:00
Uwe Stöhr
9702f66938 EmbeddedObjects.lyx: new section about Floats set side by side
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22747 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-02 02:14:10 +00:00
Uwe Stöhr
7dfa520bfd Math.lyx: fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22723 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-30 22:56:36 +00:00
Uwe Stöhr
5aae32c60a Customization: tiny update by Hartmut
Math: workaround for the package braket, that is not in teTeX 3 but in TeXLive and MiKTeX

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22721 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-30 22:43:26 +00:00
Pavel Sanda
59110e5e24 * doc/Customization.lyx: few translation hints.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22704 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-29 02:46:55 +00:00
Uwe Stöhr
9b0c6a43c5 German Math.lyx: correct document title
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22698 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-28 11:54:32 +00:00
Uwe Stöhr
1ac3d1b132 Documentation updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22694 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-27 21:29:07 +00:00
Uwe Stöhr
cfdad9946d I wrote a new manual "LyX's detailed math manual". See the announcement on the list.
The file examples/mathed.lyx is no longer needed as its content is part of the new manual.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22691 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-27 20:58:45 +00:00
Uwe Stöhr
387b6de668 German UserGuide.lyx: tiny correction by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22659 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-23 23:50:19 +00:00
Uwe Stöhr
d60aff6c00 all docs: fix font loading in the preamble
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22651 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-22 21:53:25 +00:00
Uwe Stöhr
a4a0e4d3f7 German UserGuide.lyx updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22640 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-20 21:48:41 +00:00
Uwe Stöhr
0387ea1a3d UserGuide.lyx: get rid of an ERT box
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22617 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-17 22:42:25 +00:00
Uwe Stöhr
b62f7986dd two new documentation file translations from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22593 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 22:56:22 +00:00
Uwe Stöhr
3a400c4e68 - German UserGuide.lyx: don't use caption
- UserGuide.lyx: list the new toolbar button

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22589 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 21:50:39 +00:00
Uwe Stöhr
3774bc71b0 German UserGuide.lyx: updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22580 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:55:49 +00:00
Uwe Stöhr
62543f6fb8 toolbar button for boxes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22566 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:25:03 +00:00
Uwe Stöhr
0572822ec9 EmbeddedObjects.lyx: benefit from the fixed bug 2492
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22542 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 16:55:31 +00:00
Uwe Stöhr
de20d9ae9a UserGuide.lyx: fix bibliographies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22528 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 16:52:08 +00:00
Richard Heck
4f76947d03 Documentation updates related to modules and the AMS classes. Note that, with the modularization of the theorem environments, we can now actually use them in Extended->AMSLaTeX to show the user what they look like.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22504 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 06:09:27 +00:00
Richard Heck
d5d665482e This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.

By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.

So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i)  GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.

The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework. 

I've also updated the module documenation to accord with this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
Uwe Stöhr
54bcdec272 UserGuide.lyx: add a paragraph how to dissolve insets, fixes bug 3687
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22497 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 23:39:18 +00:00
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