Uwe Stöhr
327d1bc6d3
serial_letter: fix again a typo and set hyperlink
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22803 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 23:21:22 +00:00
Richard Heck
8fec5f512d
Partially fix bug 4532: http://bugzilla.lyx.org/show_bug.cgi?id=4532 .
...
See in particular comment 6.
We forcibly load stdinsets.inc unless the TextClass declares:
Provides stdinsets 1
There isn't really any such package, of course. We're just using this
(per a suggestion by JMarc) to say we've loaded relevant info about the
standard insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22802 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 22:57:33 +00:00
Uwe Stöhr
78080c1dc2
serial_letter: fix a typo and make it possible to catch opening for female and male persons at once
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22801 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 22:56:16 +00:00
Uwe Stöhr
ad9a92d9f5
layouts: add to all layouts "Input stdinsets.inc" if they not already have this
...
This fixes the obvious part of bug http://bugzilla.lyx.org/show_bug.cgi?id=4532
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22800 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 20:55:32 +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
Richard Heck
271d8d86b4
Include stdinsets.inc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22777 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-04 19:34:18 +00:00
Richard Heck
cf8d9d29b1
Partially fix bug 4532.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22776 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-04 19:15:39 +00:00
Jürgen Spitzmüller
efaa509f8b
* src/LaTeXFeatures.cpp:
...
- add tipx to simplefeatures. Tipx is a subpackage of tipa.
* lib/unicodesymbols:
- correct some glyphs, which are included in tipx, not tipa.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22771 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 17:26:46 +00:00
Pavel Sanda
1ff8feab60
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22770 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 14:30:50 +00:00
Uwe Stöhr
2dc68dad6d
make koma-letter2.lyx compilable (fix a preamble bug)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22765 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 12:03:20 +00:00
Uwe Stöhr
886db92f82
enable the scrlttr 2 class for serial letters:
...
- file format change
- new example files and an example address database
- remove ugly hack from scrlttr2.layout and fix bug 4529
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22764 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 11:56:44 +00:00
Stefan Schimanski
cf333f5ab4
* Support for graphics pasting (with most code in the frontend's GuiClipboard)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22762 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 10:43:03 +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
Jürgen Spitzmüller
ee35e8522b
* lib/unicodesymbols:
...
- support some more glyphs from tipa.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22738 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-01 17:01:12 +00:00
Pavel Sanda
c62ae14283
Keyboard shortcuts for TOC window buttons.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22727 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-31 19:48:48 +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
Stefan Schimanski
135fbe2c1b
* add "auto" flag for toolbars
...
* make macro toolbar automatic
This reverts commit 7d48e270549aa04c34fae9ce9682162c78f57eda.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22655 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-22 22:56:10 +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
Pavel Sanda
06f5a93248
Fix typo (dist_jaexamples).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22649 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-22 21:07:15 +00:00
Jürgen Spitzmüller
385ae43b39
* lib/layouts/beamer.layout:
...
* lib/layouts/moderncv.layout:
* lib/layouts/powerdot.layout:
- These classes (at least) provide hyperref.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22642 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-21 13:40:34 +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
82fba225a5
the missing things of r22635
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22638 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-20 21:44:49 +00:00
Pavel Sanda
3d543473ea
Add Japanese splash.lyx (from Koji)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22635 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-20 00:46:59 +00:00
Uwe Stöhr
d60de46e04
unicodesymbols: support for missing space modifier letters (patch by Jürgen)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22623 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-18 19:07:57 +00:00
Abdelrazak Younes
1fe3f59886
Fix Ctrl-Tab binding for 'buffer-next'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22620 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-18 08:15:51 +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
f16abb9447
stdtoolbars.inc: adapt to r22585
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22588 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 21:49:14 +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
098c808174
forgot to add this in r22566
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22575 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:40:23 +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
Jean-Marc Lasgouttes
3d8828fa14
* src/Spacing.cpp (writeBeginEnv, writeEndEnv): add a bool parameter
...
directing to use memoir's capitalized latex macros.
* src/LaTeXFeatures.cpp (getPackages): act on feature "SetSpace".
* src/output_latex.cpp (TeXOnePar): ditto
* lib/layouts/memoir.layout: provide feature SetSpace, indicating that
memoir provides the setspace functionality, but with a different syntax.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22551 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 14:53:29 +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
b7e0ac3e7b
unicodesymbols: add ligatures, patch by Anders Ekberg
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22538 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-13 13:25:00 +00:00
Pavel Sanda
2a6eadb903
Change credits
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22530 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 18:00:48 +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
Pavel Sanda
d39b2076c8
Add to permissions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22517 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 12:14:57 +00:00
Jürgen Spitzmüller
76c98826a2
* lib/lyx2lyx/lyx_1_4.py:
...
* lib/lyx2lyx/lyx_1_6.py:
- improve reversion method for floats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22508 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 09:59:37 +00:00
Richard Heck
df4634968a
Fix bugs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22506 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 06:43:44 +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
e3bc7b9aed
Tweaks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22503 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 06:05:27 +00:00
Richard Heck
46611ba1cc
Fixes to the theorem modules.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22502 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 05:17:52 +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
Uwe Stöhr
33c95fc07b
rename LFUNs math-nonumber and math-number to what they really do,
...
fixes bug 2608
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22496 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 22:45:19 +00:00
Jürgen Spitzmüller
4b799833e7
*** Support for generic sideways floats ***
...
* src/Buffer.cpp:
- format is up to 312.
* src/LaTeXFeatures.cpp:
- add rotfloat.
* src/Insets/InsetFloat.cpp:
- handle starred and generic sideways floats.
* src/frontends/qt4/FloatPlacement.{cpp,h}:
- adjust GUI to the new features.
* lib/chkconfig.ltx:
- add rotfloat
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- add reversion methods for new floats
* lib/lyx2lyx/lyx_1_4.py:
- add proper reversion method for sideways floats (this was missing).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 18:56:53 +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
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