Commit Graph

179 Commits

Author SHA1 Message Date
Richard Heck
2bb93b6c54 Update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25881 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-25 16:33:04 +00:00
Jürgen Spitzmüller
50cef47fbb * lyxmacros.inc:
* beamer.layout:
	- let lyxcode start a new paragraph, since it changes the alignment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25627 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-15 08:49:41 +00:00
Jürgen Spitzmüller
03e91b088d fix bug 4925.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25149 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 19:22:47 +00:00
Jürgen Spitzmüller
de04d11b9d * beamer.layout:
- custom insets for presentation/article mode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24440 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-22 09:13:07 +00:00
Jürgen Spitzmüller
87a1bb5f58 * beamer.layout: Categorization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24377 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 10:02:20 +00:00
Richard Heck
d252730dff New AddToPreamble tag for layout files. This tag will ADD some information to the document premable rather than completely over-write it, as the Preamble tag does.
Increment layout format to 7.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23916 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 13:11:16 +00:00
Jürgen Spitzmüller
385ae43b39 * lib/layouts/beamer.layout:
* lib/layouts/moderncv.layout:
* lib/layouts/powerdot.layout:
	- These classes (at least) provide hyperref.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22642 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-21 13:40:34 +00:00
Jürgen Spitzmüller
9e5eebc14c *** Requires tag for classes, layouts and custom insets ***
* src/TextClass{cpp,h}:
	- implement Requires tag for class and InsetLayout.
* src/Layout.{cpp,h}:
	- implement Requires tag for layouts.
	- increase layouts format to 6.
* src/Paragraph.cpp:
	- request required features for paragraph layouts.
* src/LaTeXFeatures.cpp:
	- add some packages needed by modules.
	- remove Preamble method for InsetLayout. This is now done
	  in InsetFlex::validate.
* src/BufferParams.cpp (validate):
	- request required features for the class.
* src/insets/InsetLayout.h:
	- new member "requires".
* src/insets/InsetFlex.{cpp,h}:
	- implement validate method and request required features and preamble snippets.

* lib/layouts/*.{layout,module,inc}:
	- increase layouts format to 6.
	- use Requires tags in some modules (more can be done later).

* lib/doc/Customization.lyx:
	- document Requires tag.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 16:59:10 +00:00
Jürgen Spitzmüller
83c0ffa01d * lib/layouts/beamer.layout:
* lib/layouts/foils.layout:
* lib/layouts/powerdot.layout:
* lib/layouts/slides.layout:
	- put slides/foils in the TOC/outliner. This fixes bug 78 [sic!].

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21055 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-19 11:23:51 +00:00
Richard Heck
0e4e230f01 Remove redundant AlignPossible lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20437 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 18:00:36 +00:00
Jürgen Spitzmüller
a418607505 * lib/layouts/beamer.layout:
- add plain title layout (bug 3133)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20436 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 16:36:18 +00:00
Martin Vermeer
18299149f5 some more inclusions of stdinsets.inc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19850 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 14:32:06 +00:00
Martin Vermeer
005c3ea9c0 charstyle update for beamer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 19:44:47 +00:00
Michael Schmitt
fe300cf3f7 * lib/layouts/ijmpc.layout:
* lib/layouts/beamer.layout: remove trailing spaces


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18663 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:26:06 +00:00
Michael Schmitt
f4f593495c * lib/layouts/beamer.layout: harmonize LabelSeps as suggested by
Jürgen; "xx" looks best


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18660 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:00:03 +00:00
Michael Schmitt
de3b6cc172 * lib/layouts/beamer.layout: cleanup labels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18659 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 17:48:31 +00:00
Jürgen Spitzmüller
4950edc72d * lib/layouts/beamer.layout:
- add optional arguments to farmes, lists, pause and part.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18440 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-21 11:29:46 +00:00
Martin Vermeer
df73111092 polishing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18365 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 09:52:09 +00:00
Martin Vermeer
1184b0be29 Reorder and clean up the beamer layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18343 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 14:52:12 +00:00
Jürgen Spitzmüller
e5640f93ac * unify class naming scheme: class (type)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18342 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 13:32:07 +00:00
Martin Vermeer
fd70aabcc8 Add charstyles Alert and Structure to beamer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18322 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 19:56:05 +00:00
Michael Schmitt
930c959a82 * layouts/*.layout: put all LabelStrings in quotes; in the past, we
faced some problems with trailing spaces. The quotes turned out to be
	a good means to avoid these problems


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17807 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 11:19:24 +00:00
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
382963abcd * layouts/beamer.layout:
* layouts/isprs.layout: remove obsolete comments regarding caption style


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16985 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 19:04:55 +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
Bo Peng
93f1f8bdac Fix beamer.layout (remove .cls in DeclareLaTeXClass)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-25 17:00:56 +00:00
Uwe Stöhr
51255d6598 require needed packages for beamer class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16752 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 19:20:32 +00:00
Georg Baum
9f4cc3c9f0 Convert to new format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15652 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 08:41:31 +00:00
Georg Baum
6af710094e Add beamer layout file and examople, fresh from the beamer CVS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15647 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-31 20:56:42 +00:00