Commit Graph

254 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
f86fc8d88c The counters labelstring patch. Part 3: adapt some layout files and documentation
* numarticle.inc:
	* numreport.inc: 
	* stdcounter.inc:
	* stdsections.inc:
	* stdstarsections.inc:
	* stdclass.inc:
	* scrbook.layout:
	* amsmath.inc: adapt: remove most of the LabelString in layouts,
	add the necessary stuff to counters.

	* lib/doc/Customization.lyx: document the new stuff.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19604 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-16 11:16:07 +00:00
Jean-Marc Lasgouttes
1c1a1eca82 fix file format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19592 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-15 19:25:59 +00:00
Jean-Marc Lasgouttes
b0d1a6b717 Fix bug 409 (Add support for numbered footnotes)
* src/insets/InsetFoot.cpp (updateLabels): number the footnote if
	(1) the footnote counter exists and (2) it is not in a title
	layout

	* lib/layouts/stdcounters.inc: add a footnote counter.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19524 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 20:29:33 +00:00
Martin Vermeer
2bd998c29e Prepare for inset configurability
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19498 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 12:13:17 +00:00
José Matox
29d106fbf7 Convert layout files to utf8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19189 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-24 17:16:35 +00:00
Uwe Stöhr
ab507ec444 elsart.layout: fix Acknowlegments enviroment
(bug 3931: http://bugzilla.lyx.org/show_bug.cgi?id=3931)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18937 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 22:37:15 +00:00
Uwe Stöhr
6b7436766c moderncv: update layout and example to version 0.6 of moderncv.layout
This means:
 - added subsection style in moderncv.layout
 (I had to promise to JMarc when I added the moderncv support to add this as soon as the new noderncv version is out.)
 - actualize preamble of modernCV.lyx to make it compile with the new version
 - better explanation of customization possibilities in the preamble of modernCV.lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18808 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 00:21:35 +00:00
Enrico Forestieri
8561f4f2ca Better fix for bug 3510 (by me, Juergen, and Jean-Marc)
* lib/layouts/IEEEtran.layout: Add a proper definition to the
	preamble when using the MarkBoth environment (fix bug 3510).
	Allow inserting an optional argument for theorem like environments.
	Remove white space from begin of line in preamble stuff.

	* lib/templates/IEEEtran.lyx: Reintroduce the MarkBoth environment
	in the document body thanks to the fix above. Use optional argument
	instead of ERT in Theorem environment. Use the new --Separator--
	environment for splitting biography environments.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18767 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-13 22:50:17 +00:00
Bo Peng
dad101c2e3 Add --Separator-- environment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18764 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-13 15:09:28 +00:00
Uwe Stöhr
fddca82d95 add layout and template for iopart
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18745 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-12 01:09:49 +00:00
Jürgen Spitzmüller
b5eb31d698 * lib/layouts/amsdefs.inc:
- fix whatever went wrong on r18712.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-08 07:26:37 +00:00
Jürgen Spitzmüller
13f6e7b912 * lib/layouts/amsdefs.inc:
- allow optional argument in title (from Paul A. Rubin).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18712 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-08 07:19:47 +00:00
Michael Schmitt
3fa2f90800 * lib/layouts/*.layout: harmonize text class names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18694 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-07 06:32:46 +00:00
Uwe Stöhr
221b6a8452 clean up the CV document class layouts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18686 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 22:07:15 +00:00
Michael Schmitt
00925e923b * lib/layout/ijmpd.layout: remove yet another trailing space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18664 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:28:39 +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
Uwe Stöhr
738e0dd8be Add powerdot layout and example
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-22 21:35:22 +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
Jürgen Spitzmüller
20fd0f9cf3 * lib/layouts/extarticle.layout:
* lib/layouts/extbook.layout:
* lib/layouts/extletter.layout:
* lib/layouts/exrteport.layout:
	- add missing font sizes (10,11,12)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18345 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 15:03:05 +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
Bo Peng
72e0b87a90 Separate caption and label from InsetListingsParams and handle them separately in listings and Include dialog, from Jurgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18324 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 20:42:14 +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
Jean-Marc Lasgouttes
f5a33ae2a1 remove class cv, now that it has been superceded by simplecv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18169 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 10:41:05 +00:00
Jean-Marc Lasgouttes
d0d04210e5 remove useless SubSection declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 10:31:55 +00:00
Uwe Stöhr
227f80157c file format change: support for Armenian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18155 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 17:48:04 +00:00
Jean-Marc Lasgouttes
766000a7d8 new textclass simplecv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 07:54:07 +00:00
Michael Schmitt
9e74a7480a * layouts/g-brief2.layout: return to static margins
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 16:06:49 +00:00
Uwe Stöhr
11c3615d0a fix typo in g-brief2 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17812 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 17:28:23 +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
Richard Heck
bb44b23486 Moved std* includes before customizations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17750 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 17:48:54 +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
Uwe Stöhr
238c087a71 - layouts/stdstruct.inc: fix tipo
- templates/modernCV.lyx: small cleanup


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17725 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 01:02:31 +00:00
Uwe Stöhr
dc294b6136 europecv: - fix bibliography and wrong address layout
- change layout file because europecv doesn't support bibitems

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17724 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 01:01:03 +00:00
Uwe Stöhr
9ad5bde3c6 support for europecv: Layout file and template
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17714 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 01:35:15 +00:00
Uwe Stöhr
566d5270f5 moderncv: - reworked layout and template file
- reduce ERT to minimum

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 01:30:54 +00:00
Uwe Stöhr
c36c0b6cf2 g-brief2.layout: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17712 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 01:21:38 +00:00
Uwe Stöhr
c94c3a0f1c add bibitem support for moderncv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17710 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 20:51:27 +00:00
Uwe Stöhr
228c92e6b4 support for moderncv: Layout file and template as we currently have no CV template but as discusses some times ago on the users list we need one for the beginners.
(The next days I'll also prepare support for europecv, the second nicht CV class that is also required to use in some fields.)

I hope I'm not too rash here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17700 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 01:52:34 +00:00
Uwe Stöhr
828343c3e8 - g-brief2 cleanups: Make Standard style the default as Letter style as default causes LaTeX errors when you accidentally have two of them
(since years now used by me successfully)
- new template for g-brief2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17699 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-03 01:37:39 +00:00
Jean-Marc Lasgouttes
48a77862c4 remove useless provide tags
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17608 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 12:41:11 +00:00
Martin Vermeer
88542bc2ee Get ProvidesNatbib working correctly, esp. for egs.layout.
* insetcite: call getEngine()
* bufferparams: move getEngine() here, and let it sense the 
provides(natbib)
flag
* ControlBibtex, ControlCitation: correct getEngine() call
* biblio: remove old getEngine()



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17505 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 07:22:16 +00:00
Georg Baum
bd02196f4d convert to utf8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17330 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 19:42:28 +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
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
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