Commit Graph

21 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
73f9c7a43e add allowed non alphanumeric chars in ids. (leftover from last commit).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9171 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-04 22:39:29 +00:00
José Matox
942ca65a5d Add more character styles to docbook.
Fix partially bug 1726.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9149 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-30 19:26:52 +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
f3d4201138 add Email character style (docbook).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9105 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-22 13:52:16 +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
33243f7003 clean code to export between different flavours, output different code for sgml to deal with incomplete implementation, clean code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8755 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-14 15:47:35 +00:00
José Matox
5a87b2a21c Some cosmetic changes for docbook article, cleaner style with Char Styles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8750 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-12 07:57:51 +00:00
Martin Vermeer
ee31454d59 Conglomerate-style CharStyles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8210 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-06 09:31:30 +00:00
Martin Vermeer
9ef3f928a5 parametrize SGML document header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8142 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-27 16:52:07 +00:00
Martin Vermeer
af37f0d23e Introducing a number of tags parametrizing various
XML formats that we may want to support


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8137 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 17:23:36 +00:00
Martin Vermeer
59fefa0759 The Character Style and XML short element inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8078 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-12 14:38:26 +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
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
José Matox
130aa2f6ba linuxdoc and docbook counters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6028 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-04 15:44:11 +00:00
José Matox
d228f08abd For linuxdoc and docbook:
* add empty methods to insetnote (as latex)
   * fix use of uninitialized varible in insetquote
   * fix standard style in layout files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3664 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 13:38:40 +00:00
José Matox
8e47dbd26c The support for docbooc layouts is now modular.
New support for CDATA sections.
Two more layouts for document inclusion.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1414 a592a061-630c-0410-9148-cb99ea01b6c8
2001-01-28 21:54:15 +00:00