Commit Graph

398 Commits

Author SHA1 Message Date
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