Commit Graph

480 Commits

Author SHA1 Message Date
Richard Heck
062db8b679 Initial HTML information for layouts. Much of this is prelimiary,
some of it is really only for testing purposes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29953 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:51:03 +00:00
Richard Heck
f28c1a2cce Allow customization of enumerate counters.
This patch is from JMarc, except the docs, which are due to me.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29906 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-02 16:02:29 +00:00
Jean-Marc Lasgouttes
864773d7d9 Allow literate documents other than noweb to work out of the box. Currently
only sweave is supported (for building documentation, not programs).

Layout files allow a new OutputFormat tag 

Modules can be conditionned on a feature of the type from->to, indicating that
it should be possible to convert from format 'from' to format 'to'.

Layout format incremented to 15.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 08:59:25 +00:00
Uwe Stöhr
31d43ad6f9 manpage.layout: remove file as discussed on the list and after OK from José ( http://thread.gmane.org/gmane.editors.lyx.devel/112377/focus=112686 )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29867 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 22:06:40 +00:00
Jean-Marc Lasgouttes
6d08a75d62 New literate programming modules.
These modules allow to use Sweave or Noweb with any LyX textclass.
They will eventually allow to get rid of literate-* classes.

The sweave modules will benefit in trunk from a forthcoming patch which allows 
to select the output format for a literate OutputType. This will allow to
support Sweave out-of-the-box.

For branch, this pair of modules is IMO a candidate for LyX 1.6.4 (no need to
hurry).

Thanks to Gregor Gorjanc for his work on this subject. There is
undoubtlessly some additional work that has to be done here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29657 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 21:23:05 +00:00
Jürgen Spitzmüller
3bed1d0111 * memoir.layout:
- \chapter* has an optional argument
	  (patch from Bennett)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29488 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 07:56:13 +00:00
Jean-Marc Lasgouttes
1542ddef59 Put Address and Right_Address in category FrontMatter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29435 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-29 10:41:12 +00:00
Jürgen Spitzmüller
5a4e4dec15 Fix bug 5863:
* beamer.layout:
* powerdot.layout:
	- those provide geometry

* BufferParams.cpp:
* GuiDocument.cpp:
	- implement provides("geometry")

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28957 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 10:48:16 +00:00
Georg Baum
9aad4bc27f Better fix for bug 1476 (following an idea by Jean-Marc).
Don't go into an endless loop if layout2layout cannot produce the desired file format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28529 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-17 20:25:56 +00:00
Richard Heck
5ee35ace6f Introduce the InToc tag for InsetLayout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-06 17:54:33 +00:00
Georg Baum
cd27d171d5 Partial fix of bug 1476:
Implement infrastructure to add translations to layout files and translate one .inc file.
Some others are missing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28356 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 20:06:50 +00:00
Richard Heck
ac4e461898 Move a couple routines from InsetFlex to InsetCollapsable so the CustomPars
and ForcePlain tags will work not just with InsetFlex but all InsetCollapsables.
Thanks to Jurgen and JMarc for reminding me I'd meant to do this.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28340 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 21:12:59 +00:00
Jürgen Spitzmüller
b6f67e1d0b some InsetPhantom fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28336 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 10:38:13 +00:00
Uwe Stöhr
2179de28f3 stdinsets.inc: the paragraph dialog must be deactivated inside Phantom insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28313 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-01 21:24:30 +00:00
Uwe Stöhr
b742ff6406 support for the LaTeX commands \*phantom, fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28292 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 00:56:37 +00:00
Uwe Stöhr
36e088a717 stdletter.inc, letter.lyx: fix http://bugzilla.lyx.org/show_bug.cgi?id=5684
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28096 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 15:37:40 +00:00
Uwe Stöhr
7f73a289b9 revtex4.layout: fix http://bugzilla.lyx.org/show_bug.cgi?id=4625
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28093 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 14:48:14 +00:00
Jürgen Spitzmüller
92a95aab41 * siamltex.layout:
- do not load amsthm package (the class defines its own theorems)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27993 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 12:01:14 +00:00
Richard Heck
e687758e9d Question environments, from Russ Woodroofe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27985 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 19:08:13 +00:00
Richard Heck
e3903936e3 In virtue of the last commit, we can massively simplify minimalistic.module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27901 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:14:48 +00:00
Jürgen Spitzmüller
5784ce29fd Let InsetWrap find its InsetLayout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27895 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 15:34:32 +00:00
Richard Heck
fc60fd3fc3 Updates thanks to spitz....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27881 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 15:00:21 +00:00
Richard Heck
26fd757eab Fix the hanging module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27872 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-14 17:11:47 +00:00
Jürgen Spitzmüller
c0f88a7ea5 * beamer.layout:
- remove obsolete and wrong counter

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27856 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-12 13:31:35 +00:00
Jürgen Spitzmüller
159c884062 * elsarticle.layout:
- elsarticle.cls loads natbib internally

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27844 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-11 09:47:28 +00:00
Uwe Stöhr
9aad5aee89 ACM-siggraph: new layout and template file for article submissions for ACM SIGGRAPH meetings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27783 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-06 17:56:32 +00:00
Uwe Stöhr
8c9051c57f recipebook: a new layout to typeset recipes based on the koma-script book class, contributed by Szöke Sandor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27782 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-06 16:13:17 +00:00
Uwe Stöhr
394944c6f3 achemso: fix a typo, add a new inset for chemical symbols like H2SO4, fix wrong citation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27756 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-01 00:42:20 +00:00
Uwe Stöhr
c0b12c4cb9 achemso: new layout and example file for journals submitted to the American Chemical Society (ACS)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27737 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 00:41:48 +00:00
Richard Heck
2ae55e934c Fix bug reported on user list: AMS book does have an abstract.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27369 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-10 02:00:44 +00:00
Jean-Marc Lasgouttes
0e2ded8161 Fix bug 5407
http://bugzilla.lyx.org/show_bug.cgi?id=5407

This patch makes insetfloat search its styles using "Float:<floatname>" (or
"Float" if this fails). This allows to define a default behaviour for new
floats that makes sense.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27266 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 15:35:02 +00:00
Jean-Marc Lasgouttes
e4dea6c076 oops! r27229 was wrong
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27230 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:03:01 +00:00
Jean-Marc Lasgouttes
24ac7258c5 revert r27209
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27229 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 08:59:03 +00:00
Uwe Stöhr
a5973d539a aastex.layout: correct author note
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27182 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 22:30:53 +00:00
Uwe Stöhr
c635e329b5 - aa.layout: updatesd for aa.cls version 6.1
- aa.lyx, aa_sample.lyx: updates and fix the documentclass option

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27181 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 22:29:02 +00:00
Uwe Stöhr
189c535fca - elsarticle.layout: introduce insets for different commands
- elsarticle.lyx: use new insets instead of ERT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27132 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 02:50:57 +00:00
Uwe Stöhr
ec47a45d21 - beamer.layout: add inset for \inst
- beamer-conference-ornate-20min.lyx: use new inset instead of ERT
- aastex.layout, braille.module: fix silly mistake from me

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27130 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 02:20:09 +00:00
Uwe Stöhr
1ba47caf04 - aastex.layout: introduce new environments and insets to get rid of unnecessary ERT
- aas_sample.lyx: update file and remove unneeded ERT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27124 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 00:50:15 +00:00
Uwe Stöhr
f8778fc9e0 - braille.module: add Inset for \braillebox
- Braille.lyx: update description as \braillebox is also valid for 6 dot Braille

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27123 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 23:44:58 +00:00
Richard Heck
d2f4d1a419 Fix AMS layouts. My bad.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27081 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 12:28:44 +00:00
Uwe Stöhr
0167be4e7a sigplanconf.layout, elsarticle.layout: AlignPossible doesn't allow the tag None
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27066 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:49:43 +00:00
Richard Heck
a2f4949d38 Update format 10 layouts to format 11.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27042 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:28:36 +00:00
Richard Heck
9dfac74265 This patch introduces ProvidesModule and ExcludesModule layout tags.
See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145129.html.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27041 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:27:03 +00:00
Enrico Forestieri
d1cf983302 Small update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27017 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 08:56:22 +00:00
Richard Heck
0510c17c44 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27006 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 21:52:59 +00:00
Richard Heck
85cf71f69a By chapter and by section should exclude each other.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27001 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 21:09:11 +00:00
Pavel Sanda
41e03b290b Change gui names for a few modules.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145171.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26990 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 15:50:20 +00:00
Uwe Stöhr
3932a6793a - seminar.lyx: better descriptions, by Günter and me
- seminar.layout: fix section numbering within LyX

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26943 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 13:51:06 +00:00
Uwe Stöhr
2c88b65ad8 - slides.layout, seminar.layout: Both classes don't create presentations, but transparencies as clearly stated at CTAN and the package description. (There's a big difference between a transparency (used for overhead projectors) and a presentation (used for beamers).)
- seminar.layout: updated layout file from Günter Milde to fix a few long standing issues with the visualization within LyX

- seminar.lyx: new example file, also from Günter Milde

The updated layout and new example file can also go to LyX 1.5, Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26929 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-17 00:43:52 +00:00
Richard Heck
21ad65c437 Revert accidental commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26921 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 15:05:18 +00:00