Commit Graph

59 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
Jürgen Spitzmüller
28fa2c0efa fix bug 2623:
* lib/layouts/memoir.layout:
	add ProvidesMakeindex

* src/LaTeX.C (run):
	rerun latex im idx file is empty (needed by memoir)
	fix typo in comment
* src/LaTeXFeatures.C (getPackages):
	whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13950 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 14:49:08 +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
Martin Vermeer
e16d163582 Fix bug 1971
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10394 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-10 12:24: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
Jürgen Spitzmüller
64df828719 use the new 2-opt-arg code in the memoir class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9273 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-19 17:09:28 +00:00
Jürgen Spitzmüller
1e10701b64 memoir: small changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7834 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-27 12:18:11 +00:00
André Pönitz
dc650d3ad5 Juergen S.'s support for memoir.cls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7804 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-22 08:47:10 +00:00