Commit Graph

20 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
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
Michael Schmitt
d55d5d1fb0 remove spaces from label strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10272 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 10:48:55 +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
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
b1e1c598c4 remove extra spaces; fix error message with xforms menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5893 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-26 14:14:29 +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
b74d4e8b93 save preamble in defaults.lyx template; tweak hollywood.layout; tentative fix to lyxserver (please test!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4257 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-28 23:04:57 +00:00
Lars Gullik Bjønnes
b9288969ec remove lowercase, better layout handling and some variable renameing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3648 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 20:25:07 +00:00
Jean-Marc Lasgouttes
6e9b453ced hollywood update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2824 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 10:14:52 +00:00
Jean-Marc Lasgouttes
4a926f9785 update hollywood
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2739 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 12:22:56 +00:00
Jean-Marc Lasgouttes
f807fe1d6c Broadwood fixes from Garst; toc/ref menus fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@763 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-22 13:20:51 +00:00
Jean-Marc Lasgouttes
a4163d8238 Hollyway updates; hopefully fix bugs with insetbib searching of bib file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@735 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-17 13:40:40 +00:00
Jean-Marc Lasgouttes
5c7e829eff Dekel patch to add EndLabelString tag to layout files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@731 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-12 13:11:20 +00:00
Jean-Marc Lasgouttes
db0716f666 Backup file patch from Dekel; Update to scr layout files from Hartmut Goebel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@621 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-20 14:49: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