lyx_mirror/lib/layouts/stdcounters.inc
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

79 lines
1.1 KiB
PHP

# Author : Lars Gullik Bjønnes <larsbj@lyx.org>
# This include file contains all the counters that are defined as standard
# in most LyX layouts.
Format 4
Counter
Name part
End
Counter
Name chapter
End
Counter
Name section
Within chapter
End
Counter
Name subsection
Within section
End
Counter
Name subsubsection
Within subsection
End
Counter
Name paragraph
Within subsubsection
End
Counter
Name subparagraph
Within paragraph
End
Counter
Name enumi
End
Counter
Name enumii
Within enumi
End
Counter
Name enumiii
Within enumii
End
Counter
Name enumiv
Within enumiii
End
Counter
Name bibitem
End
Counter
Name figure
End
Counter
Name table
End
Counter
Name algorithm
End
Counter
Name equation
End