Commit Graph

28232 Commits

Author SHA1 Message Date
Richard Heck
f69348f48a Port script updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39148 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 14:47:21 +00:00
Jean-Marc Lasgouttes
ebb85745a9 When Sweave.sty is not available to LaTeX, copy it in the temp directory instead of using the stylepath argument of Sweave(). This is better under windows, where the path to Sweave.sty may contain spaces.
Add Yihui Xie as co-author.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39140 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 10:59:23 +00:00
Jean-Marc Lasgouttes
8960d2bfa4 update credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39137 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 10:04:13 +00:00
Tommaso Cucinotta
a48baee56f Now Adv. F&R correctly interprets escape sequences within regexp insets, e.g., \\ or \(, for finding characters with a special meaning in regular expression context (\^()[]).
Added corresponding regression tests findadv-re-01 and -02 for finding these special characters.
Unfortunately, braces {} are a little bit special and don't work yet. Added findadv-re-03 regression test to not forget about this case.
This goes along the line of fixing issues reported by Andrew Parsloe and summarised as #7638.
Last note: Still there will be cases when the Advanced F&R won't work, especially if the text to be found and/or the search pattern is preceded by backslashes or others.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39135 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-19 16:41:23 +00:00
Kornel Benko
008815a972 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39132 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-18 11:58:47 +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
57d216dc7e correct attic location for the obsolete template files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39124 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-17 00:34:27 +00:00
Uwe Stöhr
92a9d3850d - elsarticle.lyx, IEEEtran.lyx: add infos about the document class and author instructions
- achemso.lyx: fix a typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39122 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-17 00:12:21 +00:00
Uwe Stöhr
2e927adc54 scons/scons_manifest.py: distribute the autocorrect file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39121 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-17 00:12:10 +00:00
Enrico Forestieri
bbe9dfa720 Also distribute the autocorrect file, otherwise autocorrection is unusable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39116 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 23:23:42 +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
Kornel Benko
3a9cbe9a94 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39111 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 18:34:45 +00:00
Richard Heck
ed9b6f935b Port changes to update-po.sh.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39109 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 15:35:46 +00:00
Richard Heck
7ea412465c Updates to check-po script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39108 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 15:35:42 +00:00
Richard Heck
ca8eefc39c New script to remerge strings, check for changes, etc. Still under
development.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39098 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 14:46:56 +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
ad533c5fc9 finish the template/doc/examples work:
also for trunk:
- AEA.lyx: add info how to install the AEA LaTeX class
- iop-article.lyx: some typos


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39085 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 02:25:55 +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
Julien Rioux
46813f1b5b configure.py : Simplify things a bit. With this
commit, a program is checked only once instead of twice, and
it is added as alternative editor and viewer.  The ordering
of rc entries in lyxrc.defaults is changed slightly, but
nothing is lost.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39079 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:31:03 +00:00
Julien Rioux
9c9e43da3f configure.py : Allow to specify alt_type as a list.
The intend is to specify ['editor', 'viewer'] eventually.
Still no change in the produced output and in lyxrc.defaults

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39078 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:27:44 +00:00
Julien Rioux
580fa7ee3b configure.py : Remove more code duplication.
No change in output, at least none intended.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39077 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:24:30 +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
Julien Rioux
834604ea5d configure.py : Remove code duplication (more to come).
No change in output, at least none intended.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39075 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:22:41 +00:00
Uwe Stöhr
82651265c0 - latex8.lyx and revtex.lyx: move these files to the attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39073 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 20:32:02 +00:00
Uwe Stöhr
3230b55a72 Also for trunk:
- tufte example files: add info that one needs to have the font package "fpl" installed to compile them
- modernCV.lyx: save in current file format

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39072 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 20:26:27 +00:00
Jean-Marc Lasgouttes
ddd76c6b15 Tentative fix for bug #7545. Please test.
The problem is with sweave when the temp file path contains spaces. This patch adds some postprocessing that removes the reference to the temp dir.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39070 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 15:51:02 +00:00
Jean-Marc Lasgouttes
c820e4f8e2 Better fix for #7551. We can now handle several dots in the file name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39068 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 14:51:50 +00:00
Uwe Stöhr
d1b7fc972c enumitem.lyx: change German example to an English one as requested by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39066 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 14:32:01 +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
Enrico Forestieri
0eedbdee03 Don't rely on Qt for setting an environment variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39049 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 18:06:57 +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
Pavel Sanda
9359d73dde Using pkgconfig to configure hunspell.
(hunspell 1.3 is not correctly recognized otherwise).

Patch from Rex Dieter, posted by Jose.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39040 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 14:32:42 +00:00
Richard Heck
fb503c0897 Update to French splash.lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39038 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 13:05:10 +00:00
Julien Rioux
3294e6429a configure.py : sort lists, remove superfluous line continuations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39037 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 18:57:29 +00:00
Julien Rioux
2dae004697 configure.py : white space only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39036 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 18:32:27 +00:00
Uwe Stöhr
49bb95efd7 doc-files: port latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39035 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 16:25:05 +00:00
Uwe Stöhr
726af94261 doc files: port latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39030 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 14:57:52 +00:00
Uwe Stöhr
8ada18a097 doc files: port latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39026 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 14:33:03 +00:00
Richard Heck
5c264ebdf3 Modify r38980 in response to Vincent's comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39021 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 18:03:32 +00:00
Tommaso Cucinotta
e607cbfbca Updated UserGuide after removal of macro insertion while in regexp mode.
Fixed regression case (now typing twice "\" leads to "\\", i.e., the regexp matching the backslash char).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39019 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 01:25:26 +00:00
Tommaso Cucinotta
3a603d760a Added test-case for regular expressions using "\" for backwards references (e.g., \1).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39018 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 01:23:07 +00:00
Tommaso Cucinotta
f67834bb22 Disabled possibility to type macros in regexp-mode. Now typing \ inserts a \ (no need to type twice) while in regexp mode.
Addressing issue 4. at: http://permalink.gmane.org/gmane.editors.lyx.devel/136992


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39017 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 01:19:07 +00:00
Tommaso Cucinotta
c7e609135a Now backslash-prefixed regexps like "\s", "\d", etc., are all understood by Advanced F&R.
Fixing issue 4 reported at: http://permalink.gmane.org/gmane.editors.lyx.devel/136992


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39016 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 00:12:26 +00:00
Tommaso Cucinotta
5a4f151fb8 Now a regexp inset with a \backslash compiles.
This is needed when instant preview is on,
so we avoid the empty preview due to latex compilation error.
Fixing issue 1. reported at: http://permalink.gmane.org/gmane.editors.lyx.devel/136992.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39015 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 23:21:14 +00:00