Commit Graph

19 Commits

Author SHA1 Message Date
Uwe Stöhr
228bd9b277 amsdefs.inc, amsmaths.inc: allow optional arguments for AMS environments, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4344
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21683 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 22:38:33 +00:00
Uwe Stöhr
507c651dd5 amsmaths.inc: revert r21228 since this has unwanted side effects, see
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg131183.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21275 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 22:50:44 +00:00
Uwe Stöhr
89a2658a21 amsmaths.inc: allow Theorems and the like to be empty, fixes bug 4304.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21228 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-27 17:49:02 +00:00
Jean-Marc Lasgouttes
af5c4977cd * layouts/ijmpd.layout:
* layouts/amsmaths.inc: do not use the notation @Section@ for 
	LabelString.

	* layouts/ijmpc.layout: use \thefoo instead of \arabic{foo}. The 
	classes ijmpc and ijmpd are now very similar, and one of them could
	be made to include the other.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21179 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 12:19:54 +00:00
Jean-Marc Lasgouttes
b14af6b43c * layouts/amsmaths-seq.inc:
* layouts/amsmaths.inc: make sure that the preamble of the Theorem
	layout is output when using other theorem like layouts that
	need its counter (bug 4282).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21174 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-24 09:40:15 +00:00
Jürgen Spitzmüller
f367964247 * lib/layouts/ams*.layout:
* lib/layouts/ams*.inc:
	- updates from Paul A. Rubin.

Maybe some tweaks for 1.6 are still needed (e.g. counters).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20496 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-25 16:38:56 +00:00
Uwe Stöhr
62a9ce0dd6 amsmaths.inc: fix copy and paste bug spotted by Georg, see http://www.lyx.org/trac/changeset/20257
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20264 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-13 18:33:06 +00:00
Martin Vermeer
8eb22fd082 Updated versions to 5; added stdinsets.inc where I felt confident
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19804 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-26 09:10:52 +00:00
Jean-Marc Lasgouttes
f86fc8d88c The counters labelstring patch. Part 3: adapt some layout files and documentation
* numarticle.inc:
	* numreport.inc: 
	* stdcounter.inc:
	* stdsections.inc:
	* stdstarsections.inc:
	* stdclass.inc:
	* scrbook.layout:
	* amsmath.inc: adapt: remove most of the LabelString in layouts,
	add the necessary stuff to counters.

	* lib/doc/Customization.lyx: document the new stuff.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19604 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-16 11:16:07 +00:00
Jean-Marc Lasgouttes
04efe3c40a New framework for declaring generic features in textclasses.
* src/LaTeXFeatures.C (mustProvide): new method; returns true when
	isRequired is true and the feature is not provided by the
	textclass. 
	(getPackages, getLyXSGMLEntities): use mustProvide when relevant.

	* src/bufferparams.C (getEngine):
	* src/buffer.C (validate): adapt to change below.

	* src/lyxtextclass.C (read): replace tags ProvidesNatbib,
	ProvidesMakeidx, ProvidesUrl and ProvidesAmsmath by a generic
	"Provides".
	(provides): take a string as argument.
	
	* lib/scripts/layout2layout.py (convert): convert "ProvidesXxx" tags
	to "Provides xxx".

	* lib/layouts/*: update to format 4.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17740 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 09:02:23 +00:00
Michael Schmitt
ff521787b2 * layouts/*.inc: update to format 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16984 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 19:02:52 +00:00
Georg Baum
3e885523c3 layout file converter for layout files in old format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10565 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-21 16:11:36 +00:00
Angus Leeming
a60b5c0b72 Whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:50:10 +00:00
André Pönitz
8ba548f1a0 counter cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7849 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-02 11:04:06 +00:00
André Pönitz
d64d9a38d1 fix #322
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7848 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-01 17:27:46 +00:00
André Pönitz
fb0be050d1 grrrrrr.... the rest of that pile of s...
All of it.

I don't get it. An hour wasted to chop things into pieces to get the
effect of a three-second 'cvs commit'...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7760 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 15:49:13 +00:00
André Pönitz
12d02d04b2 re-indent (tab for logical indentation, spaces for alignment)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6920 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 08:55:48 +00:00
Jean-Marc Lasgouttes
8a91f206c6 implement DependsOn tag for layout files; more uninteresting cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4729 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 20:47:54 +00:00
Lars Gullik Bjønnes
27de1486ca Initial revision
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@140 a592a061-630c-0410-9148-cb99ea01b6c8
1999-09-27 18:44:28 +00:00