Commit Graph

690 Commits

Author SHA1 Message Date
Richard Heck
e392cff392 Update layouts to format 26.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33922 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:51:41 +00:00
Richard Heck
0c135d1c4e Make the default format translatable, and load the cite formats in
paper.layout.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33921 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:50:31 +00:00
Richard Heck
f1912e1c33 Read the citation formats from a file, rather than hardcoding them. This
allows for layout- or module-level customization of the display in the
citation dialog and of the XHTML bibliography output.

There is more of this to come, by the way. The next step is to allow
macros. That will make it easier to deal with translation issues, which
ought to be the final step.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33920 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:37:25 +00:00
Vincent van Ravesteijn
5de10a0123 Fix bug #3930: Wrong Margin Types in Elsart.layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33917 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:20:03 +00:00
Vincent van Ravesteijn
bb69584112 Introduce InsetPreview.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 13:47:50 +00:00
Richard Heck
0ac2542679 Whoops. We weren't quite ready for that yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33837 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 12:00:33 +00:00
Richard Heck
b30f7c3e9e Move the RefPrefix definitions to their own file, for easy inclusion in
other layouts. Also fix up some of those layotus.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33836 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 11:59:22 +00:00
Richard Heck
2dfaebd243 Update layouts to format 25.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33796 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 22:21:56 +00:00
Richard Heck
4cd5bcefe9 Introduce a RefPrefix tag for Style, InsetLayout, and Float, that
indicates what prefix to use when constructing formatted references.
Documentation to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33784 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-17 12:23:24 +00:00
Richard Heck
99bbf5b42a Update layouts to format 24.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33634 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 23:02:24 +00:00
Vincent van Ravesteijn
8b91e20a16 Fix bug #6527: Default numbering and toc depth wrong for memoir.layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33456 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 23:19:04 +00:00
Richard Heck
4c9fd44da5 Change CSS for gray notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33140 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:16:11 +00:00
Richard Heck
aff3907ec6 Fix output of formatted counters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33122 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 22:28:42 +00:00
Richard Heck
66bc240240 Delete extra whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33120 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 21:11:14 +00:00
Richard Heck
9f535f5a45 Missed one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33119 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 21:01:53 +00:00
Richard Heck
b7d665da7f Update all layouts to format 22.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33118 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 21:01:07 +00:00
Richard Heck
8a444512fb Fix counter formats. We have to use quotes here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33116 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:50:35 +00:00
Richard Heck
d853aca254 Pretty formats for standard counters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33114 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:40:16 +00:00
Richard Heck
1832a388c5 Collect the title for XHTML output, and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33097 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 19:43:15 +00:00
Richard Heck
ce9d07f5eb These need to be divs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33040 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 21:41:02 +00:00
Richard Heck
082bdf47c9 Update all layout files to format 21.
Note: Anyone on *nix can do this by running development/tools/updatelayouts.sh.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33028 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 14:03:59 +00:00
Richard Heck
473f25bbec Paragraph ndentation doesn't work well after quotations and the like.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32889 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:13:37 +00:00
Richard Heck
dea730ff24 Don't need this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32805 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:16:38 +00:00
Richard Heck
67c03d202f With ContentAsLabel, we do not need this special code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32576 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 01:22:24 +00:00
Richard Heck
08b63ad3c6 Enhance LyX by fixing bug 5587. We add a new ContentAsLabel tag to
InsetLayout, per Jurgen's suggestion, so that insets can be told to
display an abbreviated form of their content when closed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32575 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 00:29:22 +00:00
Richard Heck
b25dc19b95 That didn't really work. So revert to old CSS for gray notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32536 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 17:20:52 +00:00
Richard Heck
3f5eac5013 Forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32535 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 17:16:55 +00:00
Richard Heck
23ebd26719 Polish CSS a bit for floats and captions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32534 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 17:16:16 +00:00
Richard Heck
a527de4f8f Prettify the grey notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32465 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 20:19:52 +00:00
Richard Heck
e5afe8db66 This really gets the TOC working now. We auto-generate labels for the
paragraphs the TOC targets, and link to them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 20:03:35 +00:00
Richard Heck
46e70895a9 CSS for the TOC, and a couple small fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 19:28:00 +00:00
Jürgen Spitzmüller
123a589bf8 * Fix bug #2144: Merge the two identical classes g-brief-de and g-brief-en into one class g-brief.
The German layouts are replaced by the English ones.
German localization is now done as it is supposed to be: via gettext.

A file format change was needed to do this.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32406 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 11:53:25 +00:00
Jürgen Spitzmüller
410b731196 * dinbrief.layout: adjust margin so that German translation fits again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32390 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 09:12:13 +00:00
Jürgen Spitzmüller
1da4189f55 * g-brief-de.layout: do not use localized strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32385 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 07:13:37 +00:00
Jürgen Spitzmüller
bfcc4f9f55 * dinbrief.layout: do not use localized strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32373 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 12:10:54 +00:00
Richard Heck
c48c33cf3a Update all layout files to format 19.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32369 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 22:55:38 +00:00
Richard Heck
dd2a57fdd8 Some CSS for koma-script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32308 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 22:34:48 +00:00
Richard Heck
a2d69912a9 Some CSS fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32307 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 22:30:29 +00:00
Richard Heck
99f296e360 CSS for InsetBibitem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32298 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 20:13:17 +00:00
Richard Heck
ad314e87b3 Paragraphs are just no good here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32259 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 22:45:52 +00:00
Richard Heck
ef1f575e25 The CSS here will need a bit of work, but this will do for now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32248 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 17:29:14 +00:00
Jürgen Spitzmüller
9da28202de * powerdot.layout: include stdcounters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32233 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 09:52:01 +00:00
Richard Heck
4b2fb6a5c0 Get InsetWrap working again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32133 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 22:57:40 +00:00
Vincent van Ravesteijn
5b7a7cca73 Fix bug #6113: Customized font color in footnote is not rendered in LyX.
It seems we realized the font in the wrong order. If the layout font specifies "Font Size Small", we should be able to make it large if we want to.

see:
http://thread.gmane.org/gmane.editors.lyx.devel/122682

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32129 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 15:33:41 +00:00
Jürgen Spitzmüller
31df777716 * linguistics.module:
- use Dynamic margins in Example layouts for better translatability, per request of Jean-Pierre.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32127 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 15:30:39 +00:00
Jürgen Spitzmüller
ccd3293c51 * linguistics.module:
- Force latex_language in glosses.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32122 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-21 14:44:07 +00:00
Richard Heck
e4e49f8978 More CSS fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32115 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 23:40:20 +00:00
Richard Heck
a2e24e6385 CSS fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32114 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 23:38:52 +00:00
Richard Heck
ed22deac3a The default HTML tag for an InsetLayout should depend upon MultiPar.
This allows us to simplify stdinsets.inc again.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32106 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:49:30 +00:00
Richard Heck
d62c5cf02e Sorry, I didn't mean to commit all that. Let's try again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32105 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:47:22 +00:00
Richard Heck
b8743dd2ed The default tag for an InsetLayout should depend upon MultiPar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32104 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:41:31 +00:00
Richard Heck
fa2f219d92 In non-MultiPar insets, we do not want to output paragraphs at all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32103 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:31:52 +00:00
Richard Heck
181fee91e3 Some CSS fixes for footnotes and standard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32096 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 21:17:44 +00:00
Richard Heck
194254082e Tags for lots of things are going to have to be div, because we can't do
things like <p><div>...</div></p>. Why not, I have no idea. Seems pretty
sensible to me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32095 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 21:13:19 +00:00
Uwe Stöhr
96948b808d singlecol.layout (small correction of the fix for #6239):
- this file is not old but obsolete (we use this term for other outdated layouts like for example the elsart.layout)
- remove "SC" from the name to clarify that it was once a normal Inderscience layout so people can see that we have a new one for it

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32032 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 21:36:38 +00:00
Uwe Stöhr
c12e13f3ec - tufte-book.layout: tufte book doesn't number things like in other book classes, therefore don't load the numreport.inc via book.layout
- tufte-book.lyx: tufte book doesn't define an abstract environment
- tufte-handout.layout: overwrite side and headings settings from tufte-book.layout

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32030 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 20:04:49 +00:00
Uwe Stöhr
0b7ce1e08c - theorems-chap.module: fix a typo
- MathsUi.ui: fix again another typo in tooltip
- po-files: remerge
- de.po: new translations


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32017 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 16:18:02 +00:00
Uwe Stöhr
4d0678b4a0 tufte layout files:
- correct appearance of section environments in LyX: also non-starred sections don't have a number in tufte
- use the new nohyper document class option, this way the user has full access to the PDF appearance via our PDF properties settings (thanks to the tufte developer for implementing this)

This can first go to branch when the new tufte version will be released - this release will definitively happen before LyX 1.7 therefore I think it's safe to commit to trunk.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31942 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 03:09:54 +00:00
Jürgen Spitzmüller
637d7399a7 * Add new modules for more fine-grained control over theorem numbering.
Modules provided by Paul Rubin (#5880).
* Fix some minor module description issues.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31885 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 10:44:08 +00:00
Jürgen Spitzmüller
db93173557 * layouts and templates for svmono and svmult, contributed by Koji Yokota (#6253).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31865 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 12:17:24 +00:00
Uwe Stöhr
1323e9a4cf - tufte-book.lyx, tufte-handout.lyx: remove unneeded note about hyperref
- tufte-book.layout: fix warnings about the counter definition
- tufte-handout.lyx: replace ERT by LyX code
- German tufte-handout.lyx: set EOL style (please don't forget this when adding new textfiles to SVN)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31856 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 21:12:59 +00:00
Jürgen Spitzmüller
ecfe98e1d1 * tufte-handout.layout: load article.layout after tufte-book.layout, since the latter disables the Abstract, which is valid in the handout class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31837 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 11:52:35 +00:00
Jürgen Spitzmüller
eb55ea93fb * tufte-book.layout: tufte provides hyperref.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31836 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 11:26:45 +00:00
Uwe Stöhr
28cb2a46b9 tufte-handout.layout: remove code that is already inherited from tufte-book.layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31816 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-01 02:49:05 +00:00
Uwe Stöhr
9e7fda9130 tufte-handout.layout: the layout inherits everything from tufte-book, therefore remove unused code and load the tufte-book.layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31787 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 02:59:06 +00:00
Richard Heck
df0fdb0d53 We should have a default tag for InsetLayout, too, I think. So here it is.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31777 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 19:46:47 +00:00
Richard Heck
001b0d529d Put the InsetLayout default CSS stuff to use.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31776 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 19:17:52 +00:00
Richard Heck
d0d86081ba Shouldn't have removed this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31775 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 19:17:44 +00:00
Richard Heck
858dae36e9 Fix up some of the HTML tags now that we have default CSS.
There's more to be done here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31767 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 13:39:39 +00:00
Uwe Stöhr
7a9e5d2284 tufte-book.layout: correct date of last change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31761 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 03:14:27 +00:00
Uwe Stöhr
1762b5cb9d - tufte-handout: new layout
- tufte-book.layout; synchronize with the tufte-handout.layout
- tufte-book.lyx: add important note and improve the documentation according the example file for the similar tufte-handout class
- biblioExample.bib: new entry used by the tufte example files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31760 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 03:12:18 +00:00
Uwe Stöhr
9874b2e279 new layout: tufte-book
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31759 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 01:46:16 +00:00
Richard Heck
5faa75408b Try to deal with one of the big problems here, namely, that we
can't just output Standard as <p>, or anything else, because we
have structures like:
  this is text <branch>and more text</branch> and more
which would then come out as:
  <p>this is text <p>and more text</p> and more</p>
So we use the OutputParam html_in_par to try to signal when we
are already in a paragraph. It is expected that we will need to
do some bug fixing here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31753 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-26 20:53:46 +00:00
Richard Heck
dfe5bd2e40 Allow the suppression of LyX's own labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31746 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-26 02:51:51 +00:00
Richard Heck
c1367ef818 Revert previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31743 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-26 02:19:07 +00:00
Richard Heck
52246bacb8 Some initial HTML for theorem environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31739 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-26 01:04:31 +00:00
Jean-Marc Lasgouttes
266cb16168 add support for \specialsection in amsart; fix some fonts for better screen rendering
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31613 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 09:51:26 +00:00
Jürgen Spitzmüller
e5533c552e * New layout files for Inderscience journals, contributed by Koji Yokota.
The old layout file is marked deprecated.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31506 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 12:54:59 +00:00
Jürgen Spitzmüller
5695850a49 * add modules to do equation/figure/table numbering sectionwise.
Use these modules in the AMS classes (instead of preamble hardcoding).

This is bug 6123.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31475 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-28 11:06:53 +00:00
Uwe Stöhr
fd801c9c90 - elsarticle.layout: add the stdlayouts, fixes #6189
- elsarticle.lyx: add two theorems as example

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31448 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-22 23:13:46 +00:00
Uwe Stöhr
2b5e6a9d39 svglobal3.layout:
- major overhaul for version 3.2 that has to be used since 2007
 - remove wrong document class option, fixes first part of #6198
svjour.inc:
 - remove style "subparagraph" that doesn't exist, fixes second part of #6198
 - simplifications
svjour3.lyx: new template file for articles in journals published by Springer (It is the LyX implementation of the  template.tex file provided by svjour version 3.2)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31417 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-20 18:12:53 +00:00
Uwe Stöhr
52fd1025a9 recipebook.layout: remove wrong definitions of the side number and remove doubled statement about tocdepth and secnumdepth
Jürgen, OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31413 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-20 14:14:15 +00:00
Pavel Sanda
80756191aa The rest of Extendedlyx -> Additional.lyx move
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31131 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 22:17:30 +00:00
Uwe Stöhr
456d9c75f8 rename capitals.module to initials.module as discussed on the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31067 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 22:16:36 +00:00
Pavel Sanda
4259abe4a2 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31045 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 02:33:01 +00:00
Richard Heck
7035f4cabb Module categories, for Pavel.
Do free free to change the categories. I just did these ones for testing, really.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31033 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 15:20:11 +00:00
Uwe Stöhr
8e4bc22b28 capitals.module: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31026 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 00:06:42 +00:00
Jürgen Spitzmüller
603a1c545c *article-beamer.layout:
- override settings inherited from beamer.layout (patch from Paul Rubin <rubin@msu.edu>)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31013 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 16:10:38 +00:00
Pavel Sanda
c610266db2 Fix bug #2536 - Dropped capitals module
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31003 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 11:18:43 +00:00
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
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