Commit Graph

90 Commits

Author SHA1 Message Date
Richard Heck
0a5de3380f Fixes to Customization manual, thanks to Ignacio.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28009 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-06 13:52:52 +00:00
Uwe Stöhr
5b678eefc2 Customization.lyx: - new Spanish translation by Ignacio
- many typos fixed
                   - corrected some folder names

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28005 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-06 03:17:16 +00:00
Uwe Stöhr
591818efc8 - UserGuide.lyx: the final commit, the User's Guide should now be completely up to date for LyX 1.6.x
- Customization.lyx: fix two menu names

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27752 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-30 18:13:23 +00:00
José Matox
25aef8a801 Update lyx document files to the latest file format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27330 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 19:25:18 +00:00
Uwe Stöhr
696e875695 documentation, example, and template files: correct the typography of e.g. and i.e. as discussed on the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27184 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 23:39:29 +00:00
Richard Heck
3eb406daf4 Add a reference to maintainer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27149 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 12:35:57 +00:00
Richard Heck
20392f74f7 Update re bug 5403.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 12:11:02 +00:00
Uwe Stöhr
6076a9cc34 Docs: typographic corrections, thanks to Günter for the hint
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27116 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 21:52:23 +00:00
Uwe Stöhr
2c8fc8a07f Customization.lyx: clarification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27094 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 01:51:13 +00:00
Richard Heck
f99d998cb7 Updates to InsetLayout docs, mostly due to Martin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27082 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 14:57:43 +00:00
Richard Heck
9dfac74265 This patch introduces ProvidesModule and ExcludesModule layout tags.
See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145129.html.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27041 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:27:03 +00:00
Uwe Stöhr
f3117747ff remove last traces of linuxdoc whose support has been removed long ago; requested in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145127.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26982 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 20:49:04 +00:00
Uwe Stöhr
0ad53de085 English documentation files: update to recent file format as service for our translators
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26977 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 13:43:30 +00:00
Richard Heck
bd89780248 Minor doc update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26803 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-07 16:43:48 +00:00
Richard Heck
d233a03e73 Move the LyX server documentation to Extended Features.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26788 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 21:05:22 +00:00
Richard Heck
2284351357 Stuff on the LyX server should be in the Extended Features manual, not the
Customization manual.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 20:57:11 +00:00
Richard Heck
59a001aa8d Update the Customization manual a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26785 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 20:21:43 +00:00
Richard Heck
838bccbb97 Update counter documentation after last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26780 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 14:42:57 +00:00
Richard Heck
93597a387e Correct out of date hyperlink.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26770 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 04:32:36 +00:00
Richard Heck
0f08a019a2 Update layout documentation.
Uwe, I've used change tracking with this, as we discussed. Please review the changes, accept or whatever, and recommit. You can let the translators know about this, too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26769 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 04:24:41 +00:00
Uwe Stöhr
6d6ec205ec Customization.lyx: update section about package installation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26597 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 00:42:55 +00:00
Uwe Stöhr
1b201008f5 documentation files: remove unused labels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26532 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 01:26:54 +00:00
Uwe Stöhr
828112f4df Customization.lyx: remove things that are already described in the UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26530 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 23:13:58 +00:00
Uwe Stöhr
64b6f7f3cf UserGuide.lyx: one of the last updates for LyX 1.6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26500 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 23:12:13 +00:00
Richard Heck
b1475b461a Update layout specification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26410 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 13:25:42 +00:00
Pavel Sanda
a89ab325ef Add note about ui-toggle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26405 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 00:58:00 +00:00
Enrico Forestieri
e5e65c031c Update LYX_DIR_XXx and LYX_USERDIR_XXx environment variable names
in docs and manpages at install time.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26119 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 09:05:30 +00:00
Richard Heck
77dc6fd729 Update InsetLayout docs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26076 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 21:57:22 +00:00
Richard Heck
5d95df6e39 Add CopyStyle tag for InsetLayout, per request of Steve Litt.
Update documentation for new tag.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25933 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 15:14:37 +00:00
Uwe Stöhr
68190dd5fb UserGuide.lyx: clarify the description of image settings grouping
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25901 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-26 17:10:53 +00:00
Pavel Sanda
c4ff55c340 LYX_USERDIR_15x -> 16
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25897 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-26 10:44:02 +00:00
Uwe Stöhr
f7a4ede2bd Customization.lyx: actualize how to start a new .po file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25576 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 16:45:49 +00:00
Uwe Stöhr
8dd1a1759a - documentation: some preamble fixes, part 3/3
- French, Spanish Extended.lyx: remove section that is already included in the FAQ and the UserGuide

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25349 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 14:21:40 +00:00
Uwe Stöhr
d6f5d4f225 documentation: some preamble fixes, part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25346 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 01:51:53 +00:00
Uwe Stöhr
6dab61d845 docs: update to latest file format
part 1/4

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25122 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 22:13:56 +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
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
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
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
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
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
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
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
Uwe Stöhr
4f70d72a24 Customization.lyx: - add PDF-bookmarks
- small updates in German version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20592 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 16:13:14 +00:00