Commit Graph

831 Commits

Author SHA1 Message Date
Richard Heck
050cceefbf Fix #7495 by adding layouts for ctex document classes and
corresponding templates. Thanks to Yihui for these.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40248 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 15:46:37 +00:00
Uwe Stöhr
61391a6d53 springer template files: backport changes from trunk, support for all 3 recent Springer document classes, new and revised set of template files, fixes bug #7301
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39726 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-22 02:25:11 +00:00
Uwe Stöhr
9aca898ed9 sweave.module: more precise description text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39611 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 03:15:07 +00:00
Uwe Stöhr
7c59d82473 - initials.module: update description text
- enumitem.module: ditto
- customHeadersFooters.module: add missing author and some whitespace fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39607 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 02:48:19 +00:00
Pavel Sanda
38e4917e08 Group correctly Koma Book environments inside environment combo-box listing.
Backport already acked, but we waited because of new strings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39590 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 17:51:32 +00:00
Uwe Stöhr
4df078c262 - tufte-book.layout: fix a lyX warning about uninitialized counter
- tufte example files: add important notes that float placements options are not allowed and remove unreferenced labels

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39551 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 16:53:56 +00:00
Uwe Stöhr
92ec9e966b initials.module: safer preamble call, no string changed, necessary to be able to compile the EmbeddedObjects manual also if the package lettrine is not installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39540 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 02:34:50 +00:00
Jean-Marc Lasgouttes
40979265ff Backport r39506 (see #7555)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39507 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 10:11:33 +00:00
Uwe Stöhr
6467f4657a - EmbeddedObjects.lyx: new chapter about objects surrounded by text
- Additional.lyx: remove obsolete section
- initials.module: add style that actually works, this does not change any string in the po files, see also my mail in the list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39340 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-18 21:48:13 +00:00
Pavel Sanda
71bb196a01 Revert Koma book updates.
This contains string change and must wait for 2.0.2.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39239 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-03 01:22:54 +00:00
Pavel Sanda
3c5d2d063f Backport Koma script glitches to branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39237 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-03 00:59:52 +00:00
Richard Heck
b4474e70c6 Fix typo in theorems-proof-std.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39218 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-29 19:20:51 +00:00
Jean-Marc Lasgouttes
bcb4e90f2a Fix incompatibility between jss.layout and Sweave (see bug 7555).
Backport of r39188.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39189 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-22 09:30:57 +00:00
Jean-Marc Lasgouttes
4cdaaa409d Backport r39180 (small sweave cleanups). No status entry necessary.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39181 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-21 13:00:19 +00:00
Uwe Stöhr
16e010db93 layout files: backport Julien's fixes (that don't change strings) to branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39167 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 23:56:26 +00:00
Uwe Stöhr
cc700d536b - layout files: rename flex insets to fix #7630 for all layouts
- elsart.layout: modify display name to be consistent
- svglobal.layout: this layout is obsoleted by svglobal3.layout

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39095 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 14:32:53 +00:00
Richard Heck
d37a0f63a6 Minor tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39087 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 13:13:58 +00:00
Uwe Stöhr
62de72d8d2 latex8.layout, revtex.layout: declare these layouts obsolete as discussed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39086 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 13:09:05 +00:00
Uwe Stöhr
c4616c15f2 ectaart.layout: fix bug #7630 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39082 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 01:36:14 +00:00
Uwe Stöhr
ac0b739d6f - ijmpd.layout: heavy revision to be compliant to the latest version of ijmpd
- ijmpd.lyx: update template accordingly
- ijmpc.layout: whitespace and some fixes
- ijmpc.lyx: some minor tweaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39081 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 01:34:55 +00:00
Uwe Stöhr
683d8e6d73 - ijmpc.layout: heavy revision to be compliant to the latest version of ijmpc
- ijmpc.lyx: update template accordingly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39080 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 00:03:57 +00:00
Uwe Stöhr
18757fe5cf - svmult_author.lyx: add infos how to install document class
- svmono_book.lyx: add infos and update some infos
- svmono.layout: fix wrong margin of the Preface style,

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39062 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 13:51:01 +00:00
Uwe Stöhr
bad608a9fa - svmult_editor.lyx, svjour3.lyx: add infos how to install document class
- svmult.layout: fix wrong margin of the Preface style, add required LaTeX-package

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39061 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 13:35:54 +00:00
Uwe Stöhr
68f94fe3a0 - landslide.lyx: fix compilation (broken image path)
- docbook_article.lyx: save in current file format
- jss.layout: this class needs a further LaTeX-package
- JSS-article.lyx: add info how to install the JSS LaTeX class file (described in new Wiki page)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39053 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 23:01:51 +00:00
Uwe Stöhr
7a49bf81ad - example files: save in current format (still not finished)
- amsbook.layout: the Address style is required in our example amsbook-test.lyx to be able to compile it

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39050 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 20:56:51 +00:00
Uwe Stöhr
efc8466c8b - template files: save in current file format (more to come)
- apa.layout: this class needs a further LaTeX-package

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39047 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 16:30:55 +00:00
Uwe Stöhr
a1524f9b8f - example files: save in current file format (more to come)
- template files: save in current file format (more to come)
- chess.layout: this class needs a further LaTeX-package

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39046 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 16:18:57 +00:00
Uwe Stöhr
591ada39a8 - example files: save in current file format (more to come)
- achemso.layout: this class needs a further LaTeX-package

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39045 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 16:00:48 +00:00
Uwe Stöhr
d6ae3a2e48 powerdot and tufte layout files: add packages required by these document classes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39044 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 15:50:48 +00:00
Richard Heck
38aecbc90e Allow optional arguments in simplecv. Patch from Diego.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38900 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-31 15:21:23 +00:00
Richard Heck
334294fb1a babel knows \proofname already (bug #7513)
For branch. By Georg.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38757 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-14 13:46:34 +00:00
Julien Rioux
b03d96a7f0 remove extra whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38429 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 18:52:49 +00:00
Julien Rioux
8924c5922e No need to spellcheck lilypond code snippets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38428 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 18:30:34 +00:00
Julien Rioux
68ad320f76 * sweave.module
Use AddToPreamble here. We don't want to overwrite the preamble from the layout file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38427 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 18:12:31 +00:00
Richard Heck
0a9b01bb62 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38425 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:53:05 +00:00
Richard Heck
a0a6ee87f5 Forgot new file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38424 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:51:03 +00:00
Richard Heck
64bb8264b9 Fix up the enumitem module by separating out the Labeling code, so that
we do not have to copy and paste it.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38423 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:50:31 +00:00
Richard Heck
537952566a whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38422 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:45:07 +00:00
Richard Heck
5fabde2f8e The copy and paste done here is out of date.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38421 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:34:25 +00:00
Richard Heck
9957563b49 Reformatting, etc, of enumitem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38420 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-17 00:28:15 +00:00
Richard Heck
2d2d946fc6 Update all layouts to format 35.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38392 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 02:51:32 +00:00
Richard Heck
ca9a824d33 Fix problem with IEEEtran.layout reported by Enrico.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38389 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 02:10:37 +00:00
Richard Heck
5d14536595 Fix bug #7450. Never did CSS for parts. Indent of lower TOC elements is
also too high.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38365 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-13 13:15:14 +00:00
Jean-Marc Lasgouttes
0a65e96ed3 Improvements to lyx sweave support
- use a null device to avoid the extra Rplots.pdf file created by Sweave
- use directly setwd() instead of in the preamble of the module
- add lots of comments.

This finally fixes ticket #6623.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38359 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-13 10:04:20 +00:00
Richard Heck
bfddee97e1 Better TOC output for XHTML, per Rob and Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38354 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-12 17:33:18 +00:00
Richard Heck
f4bc398a0f Fix translation glitch caught by Georg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38345 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-12 00:32:45 +00:00
Richard Heck
62b33b369e Last of the math translations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38292 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:47:28 +00:00
Richard Heck
ba6e5c5178 More translation strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38291 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:42:53 +00:00
Richard Heck
3f02df40e5 More translation strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38290 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:35:59 +00:00
Richard Heck
d4a1c243d6 More translation strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38289 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:30:55 +00:00
Pavel Sanda
211e50337f typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38288 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:28:20 +00:00
Richard Heck
6ec1f3bd7a More translation strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38287 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:23:44 +00:00
Richard Heck
38a6544768 Forgot this part.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38286 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:20:50 +00:00
Richard Heck
3a13afc42a Translation strings. for AMS by type.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38285 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 12:15:01 +00:00
Richard Heck
16137ed6cf CSS for InsetBox.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38227 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-03 13:15:03 +00:00
Julien Rioux
bd77f3b8e2 we don't allow mixing different literate formats for now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38146 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 00:32:11 +00:00
Richard Heck
3ccd0abf7e Update all layouts to format 34.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38097 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 15:18:40 +00:00
Richard Heck
ba8715b761 Whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37746 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-20 20:42:16 +00:00
Richard Heck
49d8afd21c Move the Provides directives out of the amsdefs.inc file and into the class
files that include it, as JMarc suggested a long time ago:
  http://www.mail-archive.com/lyx-users@lists.lyx.org/msg64582.html
If someone who knows siamltex could check that, then that would be great.
Functionality is unchanged, but it may be it shouldn't be.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37745 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-20 20:37:25 +00:00
Richard Heck
fc3ac7801e More of #7289. Parts need the same treatment chapters got before.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37587 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-10 22:10:22 +00:00
Richard Heck
c376379908 Fix the other part of #7289, concerning the Front_Matter style. Of course,
\frontmatter is a command.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37566 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-08 23:04:00 +00:00
Richard Heck
6b35c79b40 Fix bug #7289. Confusingly, svjour.inc declares "NoStyle Chapter", and then
some of the files that include it redefine chapter by cut-and-paste from
stdsections.inc. Not very clean. So now svnjour.inc doesn't do this, and
the journal files that include it declare "NoStyle Chapter" themselves. This
also allows some simplification of the sv book classes.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37565 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-08 23:02:13 +00:00
Jürgen Spitzmüller
37a1bc0a87 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37446 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 07:14:00 +00:00
Richard Heck
1aa12f16e7 Make achemso more usable by including stuff that goes into the preamble, now that this is possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37440 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 23:27:19 +00:00
Richard Heck
636440b8a8 Finally, disentangle IsPredefined and UsesFloatPkg. Now achemso gives us
the option to insert a List of Schemes, etc.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37436 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:57:00 +00:00
Richard Heck
6d1820b863 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37434 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:39:03 +00:00
Richard Heck
36d9c863ad The achemso class provides the float package internally.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37432 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:31:13 +00:00
Richard Heck
f9b4dde589 Update all layouts to format 33.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37431 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:29:32 +00:00
Jürgen Spitzmüller
c29fdcb0a7 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37426 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 17:26:40 +00:00
Richard Heck
41d858b88c Update all layouts to format 32.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37425 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 17:13:37 +00:00
Richard Heck
32ab2ff2b7 Fix bug #7224. This allows two different floats to declare the same
ListCommand without our writing it to the menu twice. There's a minor
annoyance, which is that we always take the list name from the first
declaration of the Float, but it's not clear whether this is a real
issue.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37424 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 17:11:56 +00:00
Jürgen Spitzmüller
55a998a7ea * enumitem.module: refer to mirror CTAN address, not to DANTE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37393 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-01 09:34:37 +00:00
Enrico Forestieri
6919ddf078 Bump layout format for the new Display tag used in Comments and Greyedout notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37381 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 22:22:18 +00:00
Enrico Forestieri
1ef605f625 Introduce a wrapper class for odocstream to help ensuring that no
blank lines may be inadvertently output. This is achieved by using two
special iomanip-like variables (breakln and safebreakln) in the lyx::
namespace. When they are inserted in the stream, a newline is output
only if not already at the beginning of a line. The difference between
breakln and safebreakln is that, if needed, the former outputs '\n'
and the latter "%\n".
In future, the new class will also be used for counting the number of
newlines issued. Even if the infractrure for doing that is already in
place, the counting is essentially still done the old way.
There are still places in the code where the functionality of the
class could be used, most probably. ATM, it is used for InsetTabular,
InsetListings, InsetFloat, and InsetText.
The Comment and GreyedOut insets required a special treatment and a
new InsetLayout parameter (Display) has been introduced. The default
for Display is "true", meaning that the corresponding latex
environment is of "display" type, i.e., it stands on its own, whereas
"false" means that the contents appear inline with the text. The
latter is the case for both Comment and GreyedOut insets.
Mostly, the only visible effects on latex exports should be the
disappearing of some redundant % chars and the appearing/disappearing
of null {} latex groups after a comment or lyxgreyedout environments
(they are related to the presence or absence of a space immediately
after those environments), as well as the fact that math environments
are now started on their own lines.
As a last thing, only the latex code between \begin{document} and
\end{document} goes through the new class, the preamble being directly
output through odocstream, as usual.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37360 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-29 02:41:13 +00:00
Pavel Sanda
42785e6219 Bug #7095: Support fix-cm.sty
Patch from Patrick Atamaniuk.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165122.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37342 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 10:04:52 +00:00
Jean-Marc Lasgouttes
8a84eeb27a forbid spellchecking in code layouts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37324 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-25 14:17:07 +00:00
Richard Heck
924ac8a5a1 Fix several layout related problems revealed by -dbg tclass.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37265 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-20 16:28:42 +00:00
Pavel Sanda
9d76ec23d5 Add comment to sweave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37219 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:11:02 +00:00
Richard Heck
1b98ec3e99 Don't need these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37212 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-14 18:25:00 +00:00
Richard Heck
874e867953 Update all layouts to format 31.
Should have done this first!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37196 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:20:07 +00:00
Richard Heck
a9411446ee Add NoCounter to layouts that need it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37195 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:19:02 +00:00
Richard Heck
d32ed4ff4e Add NoCounter lines to inc files that need them.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37194 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:12:28 +00:00
Pavel Sanda
2e3953cb03 Update enumitem module and add documentation for it.
From Guenter Milde.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37182 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 10:12:14 +00:00
Richard Heck
47ca44e296 Record and use equation numbers. This is towards getting equation
numbering in XHTML output, but it's just as easy to fix this in the LyX
display.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37177 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-11 19:35:52 +00:00
Pavel Sanda
23ac011dc8 Enumitem's "Labeling/LyX-List" should not change the original layout.
Patch from Guenter.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84689.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37150 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-07 22:18:43 +00:00
Jürgen Spitzmüller
0a34b1e047 fix some typos. Patch by Yuri Chornoivan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37039 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 16:57:04 +00:00
Pavel Sanda
1caa7670d2 Missing dot.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36992 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-22 23:20:15 +00:00
Jürgen Spitzmüller
84e3417caf * scrclass.inc: \addpart, \addchap and \addsec have an optional argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36903 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-16 08:59:22 +00:00
Richard Heck
78f84fe020 The letter class supports quote, quotation, and verse, and surely the ---Separator--- might be wanted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 15:30:25 +00:00
Richard Heck
d1e0a0e4ed Allow customization of label string for note insets. We actually had
strings in the layout file, but they were not used.

Question: Should we just remove InsetNote::setButtonLabel() now? The
only purpose it is serving is to provide a backup in case no label is
defined.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36884 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 23:16:19 +00:00
Jean-Marc Lasgouttes
425f46bea5 * add an extra parameter to lyxsweave.py that tells the document directory
and use it to be able to read data files in there (bug #6623). It is probably possible to use sweave hooks instead of the module preamble. Moreover, I want to investigate the use of prefix.string argument of sweave to make sure that the output files end up in the tmp dir.
  * be more subtle in the way to change default encoding to handle the case where a data file that is read does not use the same encoding as the .rnw file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36850 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 21:25:57 +00:00
Richard Heck
6fd0260f0f MultiPar before these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36707 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:57:32 +00:00
Richard Heck
023db84004 Fix #7129: No multipars in phantoms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36698 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 20:21:02 +00:00
Richard Heck
ac67d37f75 Improve the XHTML display of Labeling a bit.
I don't see any reasonable way to make this look the way it does in LyX.
Anyone else have an idea? (Tables are definitely out here.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36669 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 21:42:04 +00:00
Enrico Forestieri
42fe3fdbc3 Use single quotes because double ones are skipped instead of being properly
escaped in po-files, thus thwarting translations. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36624 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 11:36:03 +00:00
Uwe Stöhr
04e6f69a42 enumitem.module: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36570 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 04:24:06 +00:00
Georg Baum
36698a933c Add fixltx2e module which simply loads fixltx2e.sty.
This module can be used instead of \usepackage{fixltx2e} in the preamble
to avoid duplicate definitions of \textsubscript.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36550 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 10:46:47 +00:00
Jürgen Spitzmüller
6d67f264aa * enumitem.module: refer to mirror CTAN address, not to DANTE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36534 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-27 10:43:55 +00:00
Richard Heck
7f8b868f4a Fix bug #2607.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36520 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 17:21:17 +00:00
Pavel Sanda
58805a5132 Kill literate programming strings
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg163726.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 23:17:44 +00:00