Commit Graph

501 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
23e01eb866 avoid a doubled \footnote command in latex output (fixes #6130)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30965 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-10 09:32:59 +00:00
Richard Heck
7f100a1e6d Move the LaTeX proof declaration to a separate file, for inclusion elsewhere.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30912 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 19:20:13 +00:00
Richard Heck
286f6b302d Normalize whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30911 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 19:15:38 +00:00
Richard Heck
185b2ff053 Fixes for theorem modules from Paul Rubin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30910 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 19:06:12 +00:00
Jean-Marc Lasgouttes
ace4f7d3b8 move the the latex and validate methods from InsetCollapsable to InsetText; small cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30582 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 18:27:54 +00:00
Jean-Marc Lasgouttes
f1edcc0fe2 fix label for enumii
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30519 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 19:55:22 +00:00
Jean-Marc Lasgouttes
4a2a25c5b7 simplify the sweave module description
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30496 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 10:19:51 +00:00
Jean-Marc Lasgouttes
c6ae2eac9c I forgot than in my earlier commit to these files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30217 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 09:42:46 +00:00
Richard Heck
3d022e92b4 Forgot these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30180 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 13:10:36 +00:00
Richard Heck
9fcd1a6c6a XHTML for InsetWrap.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30080 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 17:26:48 +00:00
Richard Heck
082ec01eef CSS for InsetInfo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30077 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 15:27:29 +00:00
Richard Heck
1ad1c51c22 CSS for marginal notes, which makes them work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30076 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 15:16:08 +00:00
Richard Heck
0a06e2a131 Fix footnote CSS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30055 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 22:31:41 +00:00
Richard Heck
5e8d08cb9e Get InsetBibitem working, and the output for LATEX_BIB_ENVIRONMENT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30045 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 20:08:39 +00:00
Jürgen Spitzmüller
6316d8128b * amsart.layout:
* amsbook.layout:
	- fix on-screen representation of headings
	  Patch by Russ Woodroofe and me.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29992 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 07:57:28 +00:00
Richard Heck
9577dae301 Now we can restore the old (and better) behavior of descriptions.
The CSS for lists isn't quite right, but I'm not sure what to do.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29984 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 04:09:14 +00:00
Richard Heck
ccf91c3bf0 Add a couple more HTML* tags to InsetLayout, in a way that improves the
footnote output and allows a lot more flexibility. (In some ways, this now
seems to be more like what docbook does.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29981 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 03:02:43 +00:00
Richard Heck
9fd3c8e9a4 At least for now, this has to be done differently.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29979 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 01:36:04 +00:00
Richard Heck
eda7b787b9 XHTML for InsetNote.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29970 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:58:23 +00:00
Richard Heck
6bbe691b92 InsetFootnote XHTML output. Of course the CSS can be modified, but
this is pretty cool, I think.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29965 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:25:49 +00:00
Richard Heck
aa2b14afce Forgot to update the layout format when transferring from branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29964 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:05:48 +00:00
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