Commit Graph

581 Commits

Author SHA1 Message Date
Richard Heck
aa2b14afce Forgot to update the layout format when transferring from branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29964 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:05:48 +00:00
Richard Heck
062db8b679 Initial HTML information for layouts. Much of this is prelimiary,
some of it is really only for testing purposes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29953 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:51:03 +00:00
Richard Heck
f28c1a2cce Allow customization of enumerate counters.
This patch is from JMarc, except the docs, which are due to me.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29906 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-02 16:02:29 +00:00
Jean-Marc Lasgouttes
864773d7d9 Allow literate documents other than noweb to work out of the box. Currently
only sweave is supported (for building documentation, not programs).

Layout files allow a new OutputFormat tag 

Modules can be conditionned on a feature of the type from->to, indicating that
it should be possible to convert from format 'from' to format 'to'.

Layout format incremented to 15.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 08:59:25 +00:00
Uwe Stöhr
31d43ad6f9 manpage.layout: remove file as discussed on the list and after OK from José ( http://thread.gmane.org/gmane.editors.lyx.devel/112377/focus=112686 )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29867 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 22:06:40 +00:00
Jean-Marc Lasgouttes
6d08a75d62 New literate programming modules.
These modules allow to use Sweave or Noweb with any LyX textclass.
They will eventually allow to get rid of literate-* classes.

The sweave modules will benefit in trunk from a forthcoming patch which allows 
to select the output format for a literate OutputType. This will allow to
support Sweave out-of-the-box.

For branch, this pair of modules is IMO a candidate for LyX 1.6.4 (no need to
hurry).

Thanks to Gregor Gorjanc for his work on this subject. There is
undoubtlessly some additional work that has to be done here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29657 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 21:23:05 +00:00
Jürgen Spitzmüller
3bed1d0111 * memoir.layout:
- \chapter* has an optional argument
	  (patch from Bennett)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29488 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 07:56:13 +00:00
Jean-Marc Lasgouttes
1542ddef59 Put Address and Right_Address in category FrontMatter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29435 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-29 10:41:12 +00:00
Jürgen Spitzmüller
5a4e4dec15 Fix bug 5863:
* beamer.layout:
* powerdot.layout:
	- those provide geometry

* BufferParams.cpp:
* GuiDocument.cpp:
	- implement provides("geometry")

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28957 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 10:48:16 +00:00
Georg Baum
9aad4bc27f Better fix for bug 1476 (following an idea by Jean-Marc).
Don't go into an endless loop if layout2layout cannot produce the desired file format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28529 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-17 20:25:56 +00:00
Richard Heck
5ee35ace6f Introduce the InToc tag for InsetLayout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-06 17:54:33 +00:00
Georg Baum
cd27d171d5 Partial fix of bug 1476:
Implement infrastructure to add translations to layout files and translate one .inc file.
Some others are missing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28356 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 20:06:50 +00:00
Richard Heck
ac4e461898 Move a couple routines from InsetFlex to InsetCollapsable so the CustomPars
and ForcePlain tags will work not just with InsetFlex but all InsetCollapsables.
Thanks to Jurgen and JMarc for reminding me I'd meant to do this.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28340 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 21:12:59 +00:00
Jürgen Spitzmüller
b6f67e1d0b some InsetPhantom fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28336 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 10:38:13 +00:00
Uwe Stöhr
2179de28f3 stdinsets.inc: the paragraph dialog must be deactivated inside Phantom insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28313 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-01 21:24:30 +00:00
Uwe Stöhr
b742ff6406 support for the LaTeX commands \*phantom, fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28292 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 00:56:37 +00:00
Uwe Stöhr
36e088a717 stdletter.inc, letter.lyx: fix http://bugzilla.lyx.org/show_bug.cgi?id=5684
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28096 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 15:37:40 +00:00
Uwe Stöhr
7f73a289b9 revtex4.layout: fix http://bugzilla.lyx.org/show_bug.cgi?id=4625
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28093 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 14:48:14 +00:00
Jürgen Spitzmüller
92a95aab41 * siamltex.layout:
- do not load amsthm package (the class defines its own theorems)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27993 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 12:01:14 +00:00
Richard Heck
e687758e9d Question environments, from Russ Woodroofe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27985 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 19:08:13 +00:00
Richard Heck
e3903936e3 In virtue of the last commit, we can massively simplify minimalistic.module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27901 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:14:48 +00:00
Jürgen Spitzmüller
5784ce29fd Let InsetWrap find its InsetLayout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27895 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 15:34:32 +00:00
Richard Heck
fc60fd3fc3 Updates thanks to spitz....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27881 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 15:00:21 +00:00
Richard Heck
26fd757eab Fix the hanging module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27872 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-14 17:11:47 +00:00
Jürgen Spitzmüller
c0f88a7ea5 * beamer.layout:
- remove obsolete and wrong counter

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27856 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-12 13:31:35 +00:00
Jürgen Spitzmüller
159c884062 * elsarticle.layout:
- elsarticle.cls loads natbib internally

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27844 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-11 09:47:28 +00:00
Uwe Stöhr
9aad5aee89 ACM-siggraph: new layout and template file for article submissions for ACM SIGGRAPH meetings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27783 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-06 17:56:32 +00:00
Uwe Stöhr
8c9051c57f recipebook: a new layout to typeset recipes based on the koma-script book class, contributed by Szöke Sandor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27782 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-06 16:13:17 +00:00
Uwe Stöhr
394944c6f3 achemso: fix a typo, add a new inset for chemical symbols like H2SO4, fix wrong citation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27756 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-01 00:42:20 +00:00
Uwe Stöhr
c0b12c4cb9 achemso: new layout and example file for journals submitted to the American Chemical Society (ACS)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27737 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 00:41:48 +00:00
Richard Heck
2ae55e934c Fix bug reported on user list: AMS book does have an abstract.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27369 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-10 02:00:44 +00:00
Jean-Marc Lasgouttes
0e2ded8161 Fix bug 5407
http://bugzilla.lyx.org/show_bug.cgi?id=5407

This patch makes insetfloat search its styles using "Float:<floatname>" (or
"Float" if this fails). This allows to define a default behaviour for new
floats that makes sense.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27266 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 15:35:02 +00:00
Jean-Marc Lasgouttes
e4dea6c076 oops! r27229 was wrong
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27230 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:03:01 +00:00
Jean-Marc Lasgouttes
24ac7258c5 revert r27209
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27229 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 08:59:03 +00:00
Uwe Stöhr
a5973d539a aastex.layout: correct author note
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27182 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 22:30:53 +00:00
Uwe Stöhr
c635e329b5 - aa.layout: updatesd for aa.cls version 6.1
- aa.lyx, aa_sample.lyx: updates and fix the documentclass option

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27181 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 22:29:02 +00:00
Uwe Stöhr
189c535fca - elsarticle.layout: introduce insets for different commands
- elsarticle.lyx: use new insets instead of ERT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27132 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 02:50:57 +00:00
Uwe Stöhr
ec47a45d21 - beamer.layout: add inset for \inst
- beamer-conference-ornate-20min.lyx: use new inset instead of ERT
- aastex.layout, braille.module: fix silly mistake from me

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27130 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 02:20:09 +00:00
Uwe Stöhr
1ba47caf04 - aastex.layout: introduce new environments and insets to get rid of unnecessary ERT
- aas_sample.lyx: update file and remove unneeded ERT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27124 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 00:50:15 +00:00
Uwe Stöhr
f8778fc9e0 - braille.module: add Inset for \braillebox
- Braille.lyx: update description as \braillebox is also valid for 6 dot Braille

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27123 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 23:44:58 +00:00
Richard Heck
d2f4d1a419 Fix AMS layouts. My bad.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27081 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 12:28:44 +00:00
Uwe Stöhr
0167be4e7a sigplanconf.layout, elsarticle.layout: AlignPossible doesn't allow the tag None
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27066 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:49:43 +00:00
Richard Heck
a2f4949d38 Update format 10 layouts to format 11.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27042 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:28:36 +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
Enrico Forestieri
d1cf983302 Small update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27017 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 08:56:22 +00:00
Richard Heck
0510c17c44 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27006 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 21:52:59 +00:00
Richard Heck
85cf71f69a By chapter and by section should exclude each other.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27001 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 21:09:11 +00:00
Pavel Sanda
41e03b290b Change gui names for a few modules.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145171.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26990 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 15:50:20 +00:00
Uwe Stöhr
3932a6793a - seminar.lyx: better descriptions, by Günter and me
- seminar.layout: fix section numbering within LyX

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26943 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 13:51:06 +00:00
Uwe Stöhr
2c88b65ad8 - slides.layout, seminar.layout: Both classes don't create presentations, but transparencies as clearly stated at CTAN and the package description. (There's a big difference between a transparency (used for overhead projectors) and a presentation (used for beamers).)
- seminar.layout: updated layout file from Günter Milde to fix a few long standing issues with the visualization within LyX

- seminar.lyx: new example file, also from Günter Milde

The updated layout and new example file can also go to LyX 1.5, Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26929 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-17 00:43:52 +00:00
Richard Heck
21ad65c437 Revert accidental commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26921 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 15:05:18 +00:00
Richard Heck
28047741c2 Fix a bug involving module conflicts. We need to check not only that we
do not exclude some used module, but also that no used module excludes us.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26920 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 15:04:48 +00:00
Jürgen Spitzmüller
756395914e * layouts/siamltex.layout:
- complete rewrite by Adrew Corrington.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26894 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 12:43:31 +00:00
Jürgen Spitzmüller
b953443621 * theorems-ams.inc:
- do not presuppose that Enumerate is known.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26893 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 12:38:43 +00:00
Richard Heck
2befb034cd Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26892 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 12:02:18 +00:00
Uwe Stöhr
54faadd049 stdinsets.inc: fix output of InsetInfo, part of http://bugzilla.lyx.org/show_bug.cgi?id=5339
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26840 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-11 11:33:11 +00:00
Uwe Stöhr
af44c2a8c5 dinbrief.layout: sorry, I didn't know that layouts may not have non-ASCII characters like the German sharp s "ß"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26821 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 00:37:25 +00:00
Uwe Stöhr
2cb757c4c8 dinbrief: fix typos, correct obsolete environments, add missing environments, patch by Günter Milde
(existing documents are fully compatible to the new one)

can also go to branch, Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26819 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-08 23:40:51 +00:00
Richard Heck
fe4d8a86d5 Fix comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26799 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-07 14:40:38 +00:00
Uwe Stöhr
a717cfa028 - elsarticle.lyx: forgot that elsarticle has a frontmatter environment and a \journal command
- ACM-sigplan.lyx: small cleanup
- elsarticle.layout, iopart.layout, sigplanconf.layout: categorize

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26794 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-07 00:44:22 +00:00
Uwe Stöhr
c5ec5460d7 elsarticle.lyx: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26791 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 22:45:35 +00:00
Uwe Stöhr
bab737e1a3 templates:
- please JMarc and Jürgen and remove the BibTeX example file from templates but use the one from the examples
- iopart, ACM-sigplan, elsarticle templates and layouts: various small bug fixes and added informations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26789 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 22:38:30 +00:00
Richard Heck
b32b4a545c Update counter containing files to new format.
Actually, not all of these do contain counters, but my grepping 
wasn't sophisticated enough to catch them. Not a big deal....

I don't think there are errors here, but if you see weird
behavior with counters in some file or other, it's possible I missed 
something.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26782 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 14:58:22 +00:00
Richard Heck
0b95498ef4 Update non-counter layouts to format 10.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26781 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 14:45:21 +00:00
Richard Heck
42666d2c92 Re-introduce bug 5316 for the paper class. The previous fix doesn't work
anyway, and this lets us test the new one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26776 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 12:03:08 +00:00
Jürgen Spitzmüller
5b37720625 * linguistics.module:
- some corrections.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26772 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 07:15:01 +00:00
Richard Heck
7eb60756fd Remove unused code related to InsetEnvironment experiment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26768 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 04:23:26 +00:00
Richard Heck
64baf4dedc Update the rest to format 9, as well. The counter stuff will
need a new format, if we do it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26767 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 03:20:16 +00:00
Richard Heck
be34425828 Update format number for layouts not using counters. The reason
is that the counter info will be updated later, without changing
the format number again.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26765 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 03:00:26 +00:00
Richard Heck
4eadce28f7 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26760 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:48:43 +00:00
Richard Heck
ee4db4a133 Adapt stdinsets.inc and linguistics.module to the new InsetLayout framework.
There may be some other changes to be made here still, but they should be
fairly painless. What will need checking are InsetFlex's. Those that set 
MultiPar to true will now default to ForcePlain false and CustomPars true;
those that set MultiPar to false (or don't set it, since that's the default)
will have CustomPars false and ForcePlain true. If that's wrong, the right
tag can be added, but it must be AFTER the MultiPar tag, since MultiPar will
reset CustomPars and ForcePlain, as described in stdinsets.inc.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26759 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:46:19 +00:00
Richard Heck
0f8e99e17c Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26732 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 17:35:00 +00:00
Richard Heck
90254ec5eb Fix the paper class, as well.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26731 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 16:27:46 +00:00
Richard Heck
363d662da7 The stdcounters.inc file must be loaded early.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26730 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 16:15:26 +00:00
Uwe Stöhr
087f580db9 elsart.layout: adapt naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26725 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 14:17:31 +00:00
Jürgen Spitzmüller
4d3aa2d69d * elsart.layout:
- less confusing categorization.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26723 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 13:35:10 +00:00
Uwe Stöhr
7b6bf2ec9b - iopart.layout: fix some bugs
- iop-article.lyx: fix 2 typos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26713 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 11:32:06 +00:00
Uwe Stöhr
674455d95a elsart.layout: declare it obsolete to distinguish it from the actual one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26712 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 11:23:39 +00:00
Uwe Stöhr
c4570a96da - new layour for the elsarticle class
- remove the template for elsart, as this class is obsolete since elsarticle was released (Elsevier does no longer accept publications with elsart.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26710 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 01:46:48 +00:00
Uwe Stöhr
9245fca907 sigplanconf.layout: some fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26709 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 00:51:11 +00:00
Uwe Stöhr
8051296872 elsart.layout: \thanks can have an optional argument, see http://www.mail-archive.com/lyx-users@lists.lyx.org/msg64095.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26704 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 20:25:54 +00:00
Uwe Stöhr
4a75fe0310 update the ACM SIGPLAN files to latest layout and fileformat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26703 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 20:08:29 +00:00
Uwe Stöhr
5a4059e74b new layout and template file for ACM SIGPLAN articles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26700 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 19:47:42 +00:00
Pavel Sanda
31b1ad0407 * Make braille.module consistent.
Uwe, please check this patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26658 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:39:24 +00:00
Jean-Marc Lasgouttes
ede2dbfade Cleanup and layoutification of the InsetInfo class.
* InsetInfo.cpp (InsetInfo): derive from InsetCollapsable instead of 
	InsetText, so that we can use InsetLayout. Should be reverted when the 
	layout stuff is migrated to InsetText or some lower level.
	(initTranslator, nameTranslator): moved outside of the class.
	(name, neverIndent): added.
	(draw, setMouseHover): removed.
	(updateInfo): cleanup and use layout
	(read, setInfo): make sure to reset layout.

	* lib/layouts/stdinsets.inc: add layouts for the various Info insets.
	These are used for both display and output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26646 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 14:11:40 +00:00
Pavel Sanda
2ad3979482 Add note.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26625 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 15:58:08 +00:00
Jürgen Spitzmüller
f27d764e33 * beamer.layout:
- add quote, quotation and verse environments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26607 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 07:29:06 +00:00
Pavel Sanda
f4178824f7 Add note.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26397 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-14 13:17:00 +00:00
Uwe Stöhr
19c8baa1e1 specify a background color for listings and allow the user to change it, patch by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26340 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 21:38:01 +00:00
Jürgen Spitzmüller
36967c8887 * linguistics.module:
- small correction.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26324 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-07 11:58:32 +00:00
Jürgen Spitzmüller
546b56edc5 * linguistics.module:
- add float for Optimality Theory tableaux.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26322 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-07 11:54:13 +00:00
Jürgen Spitzmüller
808dfb6c1f * src/LaTeXFeatures.cpp:
- handle case where natbib is loaded internally by a class, but still plain cite commands
	  have to be output (bug 5182)
* lib/revtex4.layout:
	- this is such a case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26298 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-04 14:39:08 +00:00
Jean-Marc Lasgouttes
9748c0a0e7 use svjour.inc instead of svjour3.inc (bug 5154)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26296 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-04 14:03:01 +00:00
Uwe Stöhr
8cc977d63c layout for the svjour3 class, it is adoption of the existing svjour layout by John Perry, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5154
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26194 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-16 22:37:49 +00:00
Richard Heck
23a824599a Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26075 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 21:35:40 +00:00
Uwe Stöhr
af3b18389d singlecol.layout: new layout file for articles for the numerous journals published by the company "Inderscience"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26073 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 20:46:18 +00:00
Richard Heck
2bb93b6c54 Update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25881 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-25 16:33:04 +00:00
Richard Heck
56a35c2c61 Add UseModule tag for layout files. This allows the AMS files, in particular, to "require" the
theorems-ams module, which is what most users will want. A later commit will allow users also
to "exclude" this module, in case they wanted to do that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25880 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-25 15:51:27 +00:00
Richard Heck
2aa40fe939 Don't define the proof environment if it's already defined.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25877 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-24 22:28:57 +00:00
Richard Heck
0e69b297d6 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25876 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-24 22:21:30 +00:00
Jürgen Spitzmüller
459c52059f * theorems-ams.inc:
* theorems.inc:
	- better definition of cases environment, as suggested by Russ Woodroofe and Paul Rubin.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25699 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-18 07:53:25 +00:00
Jürgen Spitzmüller
180121ed53 * stdinsets.inc:
- Force latex_language in listings inset (fixes bug 5051).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25676 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-16 20:40:05 +00:00
Jürgen Spitzmüller
50cef47fbb * lyxmacros.inc:
* beamer.layout:
	- let lyxcode start a new paragraph, since it changes the alignment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25627 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-15 08:49:41 +00:00
Uwe Stöhr
61330b8291 minimalistic.module: correct string as the translators misunderstood this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25574 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 11:53:42 +00:00
Pavel Sanda
6119906dc0 Add some comments to modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25502 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 22:59:40 +00:00
Jürgen Spitzmüller
d2969c7dc9 Some updates for the A&A layout (bug 4928).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25210 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 14:26:54 +00:00
Jürgen Spitzmüller
03e91b088d fix bug 4925.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25149 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 19:22:47 +00:00
Jürgen Spitzmüller
ef9d8927c7 * New layout and template files for the Journal of Statistical Software (JSS), contributed by Andreas Karlsson
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25045 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 08:58:25 +00:00
Richard Heck
1f8d6daee4 Revert previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25013 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 14:59:28 +00:00
Richard Heck
43c7e56ef2 Work around an incompatibility between paper.cls and how we handle environments. The paper class seems to expect a pair of newlines are the end of the abstract envirnoment, which we do not produce; this has the effect that the abstract runs into the first paragraph in certain cases.
Jurgen, this could also go into branch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24965 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 16:22:25 +00:00
Jürgen Spitzmüller
a90b442f69 * apa.layout: revert some unintended changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24695 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-09 09:03:36 +00:00
Jürgen Spitzmüller
7d5fd32778 * lib/layouts/apa.layout:
- Use styleguide-conforming headings in the APA layout (bug 4827).

* src/Buffer.cpp:
	- file format change to 333.

* lib/lyx2lyx/lyx_1_6.py:
	- convert obsoleted layouts.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24694 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-09 08:57:32 +00:00
Jürgen Spitzmüller
088f6f5f9e * lib/layouts/theorems-starred-equivalents.inc:
- Fix LaTeX errors triggered by switching from ams article to ams plain
  	  article (patch by Paul Rubin and me).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24692 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-09 08:01:37 +00:00
Jürgen Spitzmüller
ff0e3cd8b2 * fix translation of module descriptions that have a backslash (bug 4799).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24517 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 09:27:50 +00:00
Jean-Marc Lasgouttes
25b9bc9a38 fix on-screen counter for Section in article (AMS)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24484 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-24 07:32:51 +00:00
Richard Heck
a8f13b250d Endnote is multi paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24450 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 17:52:49 +00:00
Jürgen Spitzmüller
de04d11b9d * beamer.layout:
- custom insets for presentation/article mode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24440 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 09:13:07 +00:00
Jürgen Spitzmüller
87a1bb5f58 * beamer.layout: Categorization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24377 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 10:02:20 +00:00
Jürgen Spitzmüller
04a719f4a7 * lib/layouts/article-beamer.layout:
* lib/layouts/scrarticle-beamer.layout:
* lib/Makefile.am:
* development/scons/scons_manifest.py:
	- new layouts that support beamerarticle.cls

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24289 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 13:43:11 +00:00
Enrico Forestieri
c0d04eea68 Backslashes should be escaped, otherwise the translated string is ignored.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24003 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 11:06:36 +00:00
Richard Heck
d252730dff New AddToPreamble tag for layout files. This tag will ADD some information to the document premable rather than completely over-write it, as the Preamble tag does.
Increment layout format to 7.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23916 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 13:11:16 +00:00
Jürgen Spitzmüller
b7cf6951b6 * lib/layouts/theorems-ams.inc:
* lib/layouts/theorems-starred.inc:
* lib/layouts/theorems.inc:
	- some more amsthm fixes (and whitespace).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23577 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 10:13:59 +00:00
Richard Heck
999d69709f Whoops. Wrong place.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23569 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 16:47:47 +00:00
Richard Heck
ee56712fc8 Per J"urgen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23568 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 16:46:56 +00:00
Richard Heck
d76e4b2311 Be more careful.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23545 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 20:57:40 +00:00
Richard Heck
3ce4518e19 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23544 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 20:57:18 +00:00
Richard Heck
c19b310d25 Starred --> Unnumbered, per Edwin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23539 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 17:42:08 +00:00
Richard Heck
d2e5ef3d65 Some initial layout categories. More later, if this all works out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23502 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 05:02:23 +00:00
Uwe Stöhr
7108582cbf stdinsets.inc: use foreground color also for index insets. Using the latex color would imply that you have to enter there LaTeX code, but since Lyx 1.6this is no longer the case
ColorCode.h: correct a comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23467 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-05 00:06:34 +00:00
Uwe Stöhr
f35ff8f60d Color.cpp, ColorCode.h: define new colors for inset labels and insets text
stdinsets: use the new colors to allow the users to customize them

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23029 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-15 23:38:16 +00:00
Richard Heck
e7c8aa0977 Define algorithm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23026 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-15 17:03:07 +00:00
Uwe Stöhr
f647ae9e8a stdinsets.inc: use minimalistic style for listings as intended by Richard (I changed this unwanted in 22923)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23010 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-14 22:44:42 +00:00
Martin Vermeer
370afc3567 Minimalistic module
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23003 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-14 11:23:44 +00:00
Uwe Stöhr
d9669be4ec stdinsets.inc: use labels for certain inset types as we do currently in LyX 1.5 (fixes bug 4401).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22923 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-10 17:20:59 +00:00
Uwe Stöhr
11b34c23ff method to avoid to use the end letter environment (patch by Jürgen)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22811 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 19:56:00 +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
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
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
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
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
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
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
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
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