Commit Graph

1037 Commits

Author SHA1 Message Date
Uwe Stöhr
94f36d62c4 - ijmpc/ijmpd.layout: forgot in my last commit that they don't have Springer's Sol layout
- solutions.lyx: correct a comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39270 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 11:46:38 +00:00
Uwe Stöhr
f5ce4bbb6f - Springer layouts: add style "Sol" and fix layout of problem/solutions.lyx
- solutions.lyx: detailed description

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39269 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 05:16:27 +00:00
Uwe Stöhr
aad1153ac6 Springer layout and template files: some layout adjustments and some fixed bugs spotted by Marcus Kriele
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39268 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 04:31:33 +00:00
Uwe Stöhr
a170dc5b36 * svcommon.inc:
- fix proof styles
- subparagraphs are valid
- running section are possible in svmult and svbook

* svmult.layout/svmult_author.lyx: adapted for latest Svmult template rom Springer (version for editors follows the next days)

* svmono_book.lyx: preamble adjustments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39267 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 02:55:27 +00:00
Pavel Sanda
73c29f0ddf Better sorting of Koma book environments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39236 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-03 00:56:01 +00:00
Richard Heck
863a4d1906 Fix typo in theorems-proof-std.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39217 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-29 19:20:33 +00:00
Jean-Marc Lasgouttes
e2be6a1281 Fix incompatibility between jss.layout and Sweave (see bug 7555).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39188 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-22 09:26:58 +00:00
Uwe Stöhr
fa5b7920f6 - svcommon.inc: fix definition of proof and abstract*; whitespace
- svmono.layout: fine tuning and whitespace fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39186 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-22 03:41:27 +00:00
Uwe Stöhr
38aacccedf - theorems-without-preamble.inc: fix definition of style "prob"; whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39185 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-22 03:36:29 +00:00
Jean-Marc Lasgouttes
02705c524c Small cleanups to sweave module, as discussed in bug #7555.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39180 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-21 12:55:20 +00:00
Richard Heck
fa5888e16e Remove redundancy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39179 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-21 12:51:27 +00:00
Uwe Stöhr
3c94f8e070 - svcommon.inc: whitespace and some simplifications
- svmono.layout: add required styles and a bugfix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39173 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-21 04:11:01 +00:00
Uwe Stöhr
165b15fe00 stdstarsections.inc, tufte-handout.layout: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39165 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 23:47:25 +00:00
Julien Rioux
7fc59a72fd revtex4-1.layout : Update to latest layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39164 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 23:46:27 +00:00
Julien Rioux
cebd2451c6 Layout and template files for REVTeX 4.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39163 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 23:41:16 +00:00
Julien Rioux
64f0b7b95d * revtex4.layout : Adapt the various Affiliation styles. Also
add the Collaboration style supported by REVTeX4.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39162 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 23:15:27 +00:00
Julien Rioux
8d623cb8ab * revtex4.layout : Remove redundant toclevels and par sep.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39161 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 22:52:40 +00:00
Julien Rioux
70d72805be * revtex4.layout : Adapt fonts and numbering to better reflect the pdf output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39160 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 22:48:43 +00:00
Julien Rioux
286a19b7fc * revtex4.layout : add category flags
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39159 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 21:59:07 +00:00
Julien Rioux
ead5df1a20 revtex4.layout : whitespace and comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39158 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 21:56:56 +00:00
Julien Rioux
f1de5be99b The layouts should allow short title for \part.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39155 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 17:50:03 +00:00
Julien Rioux
cb9d673981 * tufte-handout.layout : This layout does not have nor does it use a part counter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39154 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 17:48:27 +00:00
Uwe Stöhr
08dce304f1 svcommon.inc: fix the Preface style (I already did this yesterday in svmult/svmono.layout but this was overwritten in r39113)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39127 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-17 04:45:21 +00:00
Uwe Stöhr
dade2afba9 - theorems-without-preamble.inc: new file to provide theorem environments without any preamble code or required packages
- ijmpc.layout, ijmpd.layout, svcommon.inc: use the new file
- svcommon.inc: enable theorem numbering and some other bug fixes
- svjour3.lyx: adapt example file
- svglobal3.layout: adapt file
- theorems.inc: update list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39126 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-17 04:10:49 +00:00
Uwe Stöhr
35f18efa29 missing things from r39114
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39115 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 22:44:32 +00:00
Richard Heck
df5409d1c8 Updates to sv* layouts, from Marcus Kriele.
Notes from his email:

=====================

The following issues still persist:

1) LyXHTML export generates incorrect html files.  The problem is due to the table of contents, but I am not at all familiar with html and do not know how to fix this.

2) "Short title" for optional arguments does not work.  This is intentional in order to guarantee backward compatibility.  One can use ERT instead of "Short title".  (By the way, wouldn't it be advisable to change the GUI?  For a new user it would be hard to guess the general  meaning of  "Short title".)

3) Numbering of theorems within LyX does not work.  I tried to copy the implementation of  the theorem-sec.module but LyX does not pick up the correct \thetheorem value.  I have a hunch that this is due to Springer's replacement of the "\newtheorem" command with their own "\spnewtheorem" command.  \thetheorem is still defined and provides the correct value via ERT, but but I was unable to use it through through the layout mechanism.

4) Book authors may need the LaTeX commands \sidecaption and \sidecaption[t] for the correct placement of figure captions. tex2lyx does not know \sidecaption[t]. Georg wrote this command would be imported correctly if it was registered in the file "lib/synlib/syntax.default".

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39114 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 21:25:52 +00:00
Richard Heck
963f3298f4 Updates to the sv* series of layouts form Marcus Kriele.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39113 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 21:13:13 +00:00
Uwe Stöhr
d570a1cf3a achemso.layout: reintroduce package that accidentally got lost in the last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39094 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 14:30:37 +00:00
Uwe Stöhr
25ee7da665 layout files: rename flex insets to fix #7630 for all layouts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39093 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 14:27:44 +00:00
Richard Heck
9eb18b5d55 Note obsoleteness of latex8 and revtex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39088 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 13:15:39 +00:00
Uwe Stöhr
6bb492c620 port latest changes of template and layout files to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39083 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 01:43:10 +00:00
Richard Heck
77f0ce9a2b Fix bug #7630.
layout2layout is not smart enough to add "Flex:" to the names of
Flex insets only declared as such through CopyStyle. So these
have to be fixed manually.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39076 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:23:32 +00:00
Uwe Stöhr
d719f6025a port my latest template file updates to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39064 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 14:15:43 +00:00
Uwe Stöhr
dc09611b34 layouts, templates, examples: port my latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39058 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 01:02:15 +00:00
Uwe Stöhr
f037f9bace example files, template files, layout files: port my latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39048 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 16:32:44 +00:00
Richard Heck
d3c4bfa32a Allow optional arguments in simplecv. Patch from Diego.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38899 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-31 15:20:53 +00:00
Georg Baum
b3ca5850ee babel knows \proofname already (bug #7513)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38752 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-14 10:13:17 +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
Pavel Sanda
276170fd6f Synchronize naming of modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36488 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 13:40:28 +00:00
Vincent van Ravesteijn
66ddf9e74d Correct eol style again. Now correctly set svn:eol-style instead of eol-style. Fixes the wrong revision 36406.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36435 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-22 13:34:05 +00:00
Georg Baum
dea050cb93 fix bug 3008: Add subscript/superscript inset for text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36424 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 17:00:12 +00:00
Uwe Stöhr
64495f2500 enumitem.module: typo: we use the American English variant (with "z") in all other strings in LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36417 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 04:10:03 +00:00
Jürgen Spitzmüller
d710d3a3e1 * lettre.layout: fix from Jean-Pierre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36410 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-20 14:58:23 +00:00
Vincent van Ravesteijn
1095d89442 Fix eol-style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36406 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-20 12:29:46 +00:00
Richard Heck
d748a0a6f1 Don't need \makeat*.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36384 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 21:41:51 +00:00
Richard Heck
0c93d1150c LyX already wraps the preamble in \makeatletter and \makeatother.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36383 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 21:39:43 +00:00
Richard Heck
2d40278670 Update to format 30.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36350 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 20:44:34 +00:00
Richard Heck
20dbfe40b3 New enumitem module, from Gunter Milde.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36349 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 20:41:31 +00:00
Jürgen Spitzmüller
2afa7eabd0 * revert r36189, since there is no consensus for this change.
Happy Friday, everybody!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36257 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-12 09:31:55 +00:00
Richard Heck
6f76593069 Fix a bug in getFormattedReference().
Also, change from using the "cha" prefix for chapters, a la prettyref,
to the "chap" prefix, a la refstyle. We alias \pr@chap to \pr@cha for
prettyref users.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36238 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-10 16:45:55 +00:00
Uwe Stöhr
e94a9732b1 stdinsets.inc, InsetERT.cpp: change "ERT" to "TeX" to be consistent - the documentation and all other menus use consequently since LyX 1.6.0 "TeX-code" because it turned out that ERT is a meaningless abbreviation for new users
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36189 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-07 15:31:05 +00:00
Jean-Marc Lasgouttes
b9b619641b This patch implements proper ERT behaviour for normal layouts.
In particular, it makes paragraph breaks generate single \n in latex output
when ParbreakIsNewline is true

This means that it is not necessary anymore to use newlines to break lines. 
Plain paragraph breaks can be used instead, like is done now in ERT/Listings. 
This is mainly aimed at sweave support.

lyx2lyx support courtesy of Richard Heck



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36163 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-06 15:06:19 +00:00
Vincent van Ravesteijn
6b81613f9c Fix bug #7016: Cannot read theorems-ams-bytype.inc.
The old format tag was never deleted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36115 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-05 15:12:04 +00:00
Richard Heck
189bad70ac Add module for named theorems. Thanks to John Perry. Fixes bug #6279.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36004 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-02 20:17:07 +00:00
Richard Heck
94acc0aaf6 There is no way of handling alternate class file names in layout files.
This can be restored if someone wants to introduce one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35982 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 21:42:39 +00:00
Jürgen Spitzmüller
5b81341335 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35744 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 10:33:46 +00:00
Uwe Stöhr
a88e2efd53 lettre: some adjustments to overcome a limitation of the lettre document class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35645 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-14 01:58:49 +00:00
Richard Heck
69b1ea0ecf Update layouts to format 30.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35629 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 16:54:57 +00:00
Uwe Stöhr
eaf7c6c6eb lettre: new layout and template file to write French letters, patch from Jean-Pierre Chretien
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35620 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 03:23:51 +00:00
Richard Heck
5142d1c86a Now update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35614 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:41:55 +00:00
Richard Heck
de815f594e Revert update of formats. There is more to be done first.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35612 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:11:04 +00:00
Richard Heck
b653286691 Update layouts to new format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35610 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:06:50 +00:00
Richard Heck
d4634167cc Get rid of "CharStyle:", "Custom:", and "Element:" prefixes, per a
suggestion of JMarc's. Docs to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 14:46:17 +00:00
Uwe Stöhr
ef83796f09 ectaart.layout: fix title alignment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35593 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-11 01:29:49 +00:00
Uwe Stöhr
80759f7109 ectaart: fixes from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35566 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-06 02:38:04 +00:00
Uwe Stöhr
1aa16f65f3 frletter: new layout and template file for the frletter class (for writing French letters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35550 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-02 00:43:39 +00:00
Uwe Stöhr
6d7fe7552a customHeadersFooters.module: new module to defined header/footer lines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35522 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 02:29:07 +00:00
Jürgen Spitzmüller
0ef2b213f1 * ectaart.layout: fix whitespace issues in label strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35505 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 13:20:33 +00:00
Uwe Stöhr
671fc0ac36 endnotes.module, foottoend.module: ERT -> TeX-code (we try to avoid to use ERT in documentation because it is a meaningless abbreviation for most of the users)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35502 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-25 21:23:17 +00:00
Richard Heck
7192937ab5 Revert the beamer changes from a while ago. They work with some documents,
but not with all. There's a general problem here that will take more work.
I've got most of it licked, but the lyx2lyx issue is difficult. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 22:34:52 +00:00
Richard Heck
3b716ae11e Update all layouts to current format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35481 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-22 12:21:42 +00:00
Uwe Stöhr
2e02eb99c2 ectaart: new layout and template file from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35476 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-22 00:54:07 +00:00
Pavel Sanda
e7dd1bf9dd Add lilypond-book module and add support for instant preview.
Patch by Julien Rioux.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg162042.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35472 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-21 16:34:30 +00:00
Richard Heck
04d6290966 Label tag should default to div for "top environment" labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35394 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 14:23:32 +00:00
Richard Heck
0675c802a7 Auto-generate centering info for centered labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35393 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 14:18:19 +00:00
Richard Heck
7966756340 CSS tweak.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35383 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 12:26:21 +00:00
Richard Heck
5a32821701 Tweak abstract rendering.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35381 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 12:10:39 +00:00
Richard Heck
4ba2ebda4f Improve abstract rendering under XHTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35379 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 12:07:30 +00:00
Uwe Stöhr
119a198c68 agutex.layout: please Jürgen as discussed in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg161657.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35350 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-12 21:54:50 +00:00
Uwe Stöhr
5140a1d0de agutex: new layout and template file template
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35280 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-04 13:59:03 +00:00
Uwe Stöhr
75b021f6b9 elsarticle.layout: only whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35252 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-01 01:52:05 +00:00
Jürgen Spitzmüller
0473f11add * g-brief2.layout:
- add some missing standard environments (bug #6857)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35171 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-19 08:33:48 +00:00
Uwe Stöhr
3b2dbce542 layout files: partly revert r35139: setspace is not part of all LaTeX distributions by default, sorry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35147 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 12:32:51 +00:00
Uwe Stöhr
8ea2a6985d g-brief layouts: they require the europs package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35146 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 03:00:00 +00:00
Uwe Stöhr
a4ffe5b190 g-brief2.layout: fix format and thus #6856, sorry for the noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35145 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 02:24:06 +00:00
Uwe Stöhr
7468d5caa0 broadway.layout: there are no styles Abstract and Date that can be deleted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35144 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 02:17:03 +00:00
Uwe Stöhr
9676ae6a96 g-brief2.lyout: whitespace
Note that LyX does no longer accept this layout, see #6856 )

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35143 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 02:13:38 +00:00
Uwe Stöhr
3b60256554 moderncv.layout: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35142 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 01:41:57 +00:00
Uwe Stöhr
25b3a8c611 layout files:
- remove dependencies of standard LaTeX-packages like article, fontenc, babel, etc.
- The class need only be specified as optional argument if the name of the LaTeX class file and the name of the layout file are different or if there are no packages to load.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 01:28:47 +00:00
Uwe Stöhr
004901eef6 KOMA-script layout files: don't check for KOMA-script's internal dependencies, scrbase and typearea are already part of KOMA-script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35135 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 00:09:07 +00:00
Jürgen Spitzmüller
168dd45dec * scrclass.inc: add support for \subtitle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35133 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-13 11:32:07 +00:00
Uwe Stöhr
8b19571edc jss.layout:
- remove a4wide because this package is obsolete since about 15 years and listed in l2tabu, one get get a correct A4 layout with the geometry package that is already fully supported by LyX
- fix web link to the JSS package

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35121 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 00:43:01 +00:00
Jean-Marc Lasgouttes
0deb3d0f02 little cleanup to memoir class
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35120 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 22:34:08 +00:00
Jean-Marc Lasgouttes
e3e2568073 Fix a syntax error in the class declaration. This created an error in
configure.py, without any good explanation. Annoying.

Thanks to Jean-Pierre for spotting it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35118 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 19:01:28 +00:00
Jean-Marc Lasgouttes
6aa26820fd Introduce new tag ParbreakIsNewline in Layout and InsetLayout (not yet used)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35110 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 21:20:29 +00:00
Richard Heck
2c742b2a19 IEEEtran provides theorems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35065 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-06 20:49:15 +00:00
Richard Heck
f5e2d78792 Layout dependencies patch from Julien Rioux.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35054 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:07:56 +00:00
Richard Heck
cf90dbe2b1 Forgot the new file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34863 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 22:14:45 +00:00
Richard Heck
c2fef67f45 Reference prefixes for enumerations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34857 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 13:49:09 +00:00
Richard Heck
f0fc6a6a2f Don't overwrite earlier preamble stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34856 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 13:45:42 +00:00
Richard Heck
2a61cdbf39 Reference prefixes for theorem environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34855 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 13:45:21 +00:00
Pavel Sanda
4da0c94afa Support for AEA.cls (American Economic Association journals)
Patch from Koji (#6807).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34800 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 17:17:09 +00:00
Jürgen Spitzmüller
45f97a76f3 * tufte-book.layout: use InPreamble for titling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34680 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-16 06:06:43 +00:00
Jürgen Spitzmüller
1a312d15be * tufte-handout.layout:
- fix LabelType declarations.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34677 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-15 17:13:10 +00:00
Jürgen Spitzmüller
8757a62f88 * tufte-book.layout:
- fix LabelType declarations.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34668 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-15 08:12:09 +00:00
Richard Heck
0345bef67b Renaming: \\begin_inset OptArg to \\begin_inset Argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34619 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:58:27 +00:00
Richard Heck
5c0a1e5c4e Use new RequiredArgs tag to improve Beamer UI. Also includes a dummy
format bump so we can convert old Beamer files, which are otherwise
broken by the new layout.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34615 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-07 21:26:56 +00:00
Richard Heck
f9377c8bcc Update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34595 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:28:21 +00:00
Enrico Forestieri
8c3f887f57 We have the magic keyword ObsoletedBy which allows renaming styles
(thanks JMarc for pointing out it)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34514 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 13:17:36 +00:00
Enrico Forestieri
35bb683a35 Preserve compatibility with old documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34508 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-26 09:27:23 +00:00
Uwe Stöhr
a0751f03b5 IEEEtran.layout: re-add lyxmacros.inc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34507 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 23:57:25 +00:00
Uwe Stöhr
508b2b5955 IEEEtran.layout: fix typo (the IEEEtran documentation was misleading)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34483 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 11:43:30 +00:00
Uwe Stöhr
f815c14b32 IEEEtran.layout: fix typo in comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-23 12:31:33 +00:00
Enrico Forestieri
49f1f06c60 Correct the font shape for IEEEaftertitletext and IEEEpubid after r34387.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34388 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-08 18:09:29 +00:00
Enrico Forestieri
0e61a77cd0 In the IEEEtran class, the argument of \IEEEspecialpapernotice is
typeset in italic.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34387 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-08 16:11:35 +00:00
Enrico Forestieri
eb46cabc94 Fix (again) IEEEtran.layout.
- Restored broken compatibility with old documents due to the renaming
  of MarkBoth.
- Restored ordering such that to follow the same order obtained in the
  typeset result.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34386 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-08 15:55:48 +00:00
Uwe Stöhr
3d3852e254 IEEEtran.layout:
- renamed markboth to page headins
- correct position of markboth (according to the IEEEtran example files, this has to be declared before the special paper notice)
- add style for IEEEpubid

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34384 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-08 14:38:09 +00:00
Enrico Forestieri
20b5f66358 Rename IEEE_special_paper_notice as Special_Paper_Notice and
IEEE_after_title_text as After_Title_Text, and move them such
that they appear in the correct order in the layout combo.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34383 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-08 14:05:13 +00:00
Enrico Forestieri
ba5436faeb Fix IEEEtran.layout.
- The default is 2 columns, so, specifying "Columns 2" suddenly changes
  the output of old documents which are now printed in one column.
- The font shape for IEEEmembership is Italic.
- As regards abstract and keywords:
  - The margin is First_Dynamic, not Dynamic.
  - The labels are "Abstract---" and "Index Terms---" with no label separation.
  - Alignment is not centered.
  - Font is small and black


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34382 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-08 00:49:42 +00:00
Uwe Stöhr
4138b6b2dd IEEEtran: update to fulfill the guidelines of IEEEtran version 1.7 (layout file is almost rewritten)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34374 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-07 03:23:00 +00:00
Richard Heck
3dba10e14a This format info was out of date anyway, and it's all now in the manual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34102 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-09 12:09:32 +00:00
Enrico Forestieri
8961a38002 Remove stray tab
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34043 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 23:47:18 +00:00
Uwe Stöhr
06015a7c79 stdsections.inc: whitespace fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34022 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 14:10:22 +00:00
Vincent van Ravesteijn
1993ee68d3 I guess we mean "Up" here in stead of "Roman".
JMarc ?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34021 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 14:05:15 +00:00
Jean-Marc Lasgouttes
b8fb599130 Fix ticket #6634: LyX should pass the "noae" option to Sweave.sty
We pass it as a global document option.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34009 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 21:34:22 +00:00
Uwe Stöhr
33978c0b1b fileformat change:
- support to change the greyed-out note font color (fixes #3865)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33962 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 00:46:50 +00:00
Richard Heck
920b34210b Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33928 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:56:45 +00:00
Richard Heck
808ff6650c Introduce a simple macro facility for citation formats. Also introduce
simple, translatable units for use in such formats.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33924 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:01:28 +00:00
Richard Heck
6c8ace9e7d Didn't mean to commit this one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33923 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:52:50 +00:00
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