Commit Graph

16 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
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
Jean-Marc Lasgouttes
49de27a95f Fix bibliography layout for CV textclass
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10711 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-06 10:23:34 +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
Jean-Marc Lasgouttes
4894a7be98 put labelstrings in quotes (from Michael)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10055 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-13 09:36:58 +00:00
Jean-Marc Lasgouttes
076c15b63c fix translation of layout names with spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9885 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-28 13:08:05 +00:00
Jean-Marc Lasgouttes
7771334a11 fix format of textclass.lst when latex configuration detection is disabled
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8082 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 16:08:10 +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
4c0fafb715 rest
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7758 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 15:20:19 +00:00
André Pönitz
28f4beaefa cleanup stuff separated by Lars from the counter patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7754 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 14:29:22 +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
dcdbeb3b34 various bits from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5978 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-22 17:36:35 +00:00
Lars Gullik Bjønnes
3776958094 add stdfloats.inc and stdcounters.inc to a lot of layout files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5500 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 14:09:08 +00:00
Jean-Marc Lasgouttes
e297ba53fb do not display obsolete layouts in combox + small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2699 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-06 12:42:47 +00:00
Jean-Marc Lasgouttes
80f82c5c20 layout files changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2690 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-05 15:13:29 +00:00
Jean-Marc Lasgouttes
b4cc4030bc add cv class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2138 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-18 16:05:21 +00:00