Commit Graph

7 Commits

Author SHA1 Message Date
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
382963abcd * layouts/beamer.layout:
* layouts/isprs.layout: remove obsolete comments regarding caption style


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16985 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 19:04:55 +00:00
Michael Schmitt
2f9bf6b92b * layouts/*.layout: update to format 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16983 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 18:58:41 +00:00
Bo Peng
93f1f8bdac Fix beamer.layout (remove .cls in DeclareLaTeXClass)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 17:00:56 +00:00
Uwe Stöhr
51255d6598 require needed packages for beamer class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16752 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 19:20:32 +00:00
Georg Baum
9f4cc3c9f0 Convert to new format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15652 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 08:41:31 +00:00
Georg Baum
6af710094e Add beamer layout file and examople, fresh from the beamer CVS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15647 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-31 20:56:42 +00:00