Commit Graph

809 Commits

Author SHA1 Message Date
Richard Heck
62dd071ce6 Improve output of XHTML comments.
(i)  Validate even for comments when outputting XHTML.
(ii) Output comments as divs hidden by default. Then people
     can display them other ways if they wish.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40400 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 20:44:37 +00:00
Richard Heck
c7cf9aef3c Port from branch:
ctex layout files: add required packages and set missing SVN EOL style

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40263 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 22:16:16 +00:00
Richard Heck
fe9cda838e Fix for bug #7883 from Jean-Pierre: Make strings uniform across
modules.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40250 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 18:30:28 +00:00
Richard Heck
2defb9dd07 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/trunk@40247 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 15:45:31 +00:00
Uwe Stöhr
c10b375239 svglobal3.layout, svcommon.inc: fix some parser warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39725 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-22 02:22:53 +00:00
Uwe Stöhr
4fbe32b0fd sweave.module: more precise description text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39610 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 03:14:51 +00:00
Uwe Stöhr
6df33aba97 - 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/trunk@39549 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 16:49:16 +00:00
Uwe Stöhr
7ba7ce4006 new module and example file for chemical risk and safety statements; requires the package rsphrase which is bundled with the package mhchem that we already support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39545 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 03:59:16 +00:00
Uwe Stöhr
826bf6b950 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/trunk@39543 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 03:36:34 +00:00
Jean-Marc Lasgouttes
c9d9bde0b2 Sweave support cleanup (patch from yihui, see #7555)
http://www.lyx.org/trac/ticket/7555

This part is a simple cleanup:

 * rename variables to start with a dot
 * reset encoding after running sweave
 * improve on-screen display of code chunks



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39506 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 09:52:21 +00:00
Uwe Stöhr
1f70c82ff0 enumitem.module: add info where to find the documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39359 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-20 03:03:38 +00:00
Uwe Stöhr
df16cdbcfa initials.module: update module description and some whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39356 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-20 01:54:10 +00:00
Uwe Stöhr
f1b40f9867 - multicol.module: new module for multiple text columns
- Additional.lyx: update description of multiple columns
- multicol.lyx: remove this file because its content is now completely in Additional.lyx

(We once described multiple columns in 3 different files, Additional.lyx, Customization.lyx and multicol.lyx. We now have only one place.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39355 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-20 01:53:12 +00:00
Uwe Stöhr
f679b658d8 - EmbeddedObjects.lyx: new chapter about objects surrounded by text
- Additional.lyx: remove obsolete section
- initials.module: add style that actually works

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39341 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-18 21:55:00 +00:00
Uwe Stöhr
114c3c2502 - svcommon.inc: fix two bugs spotted by Marcus Kriele and some whitespace
- Springer template files: describe the optional argument for Preface and Foreword

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39318 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 20:59:13 +00:00
Uwe Stöhr
224e123c2d theorems-without-preamble.inc: remove "Prop" from layouttranslations since it is a proverb and should not be translated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39317 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 20:35:29 +00:00
Uwe Stöhr
380de16b3e svmult.layout: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39315 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 18:14:42 +00:00
Uwe Stöhr
ad6c15872b svcommon.inc: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39314 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 18:12:53 +00:00
Uwe Stöhr
dd0528e896 svcommon.inc, svmult.layout: some more cleanups and adjustments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39313 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 18:08:49 +00:00
Uwe Stöhr
f7d0a44da2 - theorems-without-preamble.inc:
- don't include Sol and Prob to layouttranslations
 - change label type of the style Sol as suggested
- svmono_chapter.lyx: better description of the problem styles
- svmono_solutions.lyx: better description of the solution styles

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39309 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 16:55:58 +00:00
Uwe Stöhr
425f327375 customHeadersFooters.module:
- correct category
- add author
- whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39303 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 04:21:24 +00:00
Uwe Stöhr
b1193ed0a2 - svmult.layout: adapt for editors templates
- lot of refactoring and finetuning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39271 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 19:40:39 +00:00
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