Commit Graph

6 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
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
José Matox
d4d6267991 Fix counters for docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9133 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-27 18:42:14 +00:00
José Matox
d20f999c04 no more need to specific docbook counters. remove temporarily elsart.layout to fix its permission settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8893 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 09:38:04 +00:00
José Matox
d42dd19a77 add counters for docbook.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7969 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:30:40 +00:00