Commit Graph

606 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
e84bc5ac73 * add support for jmakeindex (a Japanese index processor)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31660 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-18 16:58:56 +00:00
Jean-Marc Lasgouttes
783b1434ea Fix #6276: tex2lyx fails to import captions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-15 14:09:11 +00:00
Jean-Marc Lasgouttes
64dfd3a7ce Backport r31613:
* add support for \specialsection in amsart; 
 * fix some fonts for better screen rendering



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31636 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-15 13:49:56 +00:00
Pavel Sanda
f1ed78e722 Backport fix for bug #6255.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31620 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 20:05:30 +00:00
Jean-Marc Lasgouttes
e74dc919ed fix the code introduced in r30896 to look for the right files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31610 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-13 15:18:09 +00:00
Jürgen Spitzmüller
0cdc91666d Assure the author is encoded correctly in the LaTeX output of change tracking markup (bug 6225).
Patch reviewed by Jean-Marc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31603 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 16:34:58 +00:00
Jean-Marc Lasgouttes
a8ab4e22e1 backport r31600 (bug #6273)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31601 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 15:50:39 +00:00
Vincent van Ravesteijn
9078a80264 Fix inset-begin and inset-end. Now, if the cursor was at the beginning of a paragraph in the middle of the inset, inset-begin would jump out of the inset.
See r31199.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31599 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 08:28:02 +00:00
Vincent van Ravesteijn
a18553e403 branch: Fix bug #5991: Select function in environments.
C-M-a now selects the contents of an inset, if the whole inset is already selected, it will jump out the inset and selects everything in that inset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31598 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-12 08:21:32 +00:00
Enrico Forestieri
ee2bbb8d89 Fix bug #6270: Bug in parsing selection as math macro argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31594 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-11 15:37:31 +00:00
Enrico Forestieri
8f2106783f Fix bug #6250: LyX 1.6.4 crashes when copying Japanese text in math to clipboard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31591 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-11 15:26:57 +00:00
Jürgen Spitzmüller
c766c26839 * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31574 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-10 12:02:32 +00:00
Jürgen Spitzmüller
7dc9eab62b * InsetExternal.cpp:
* GuiExternal.cpp:
	- do not crash if the list of external templates is empty (bug #3974).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31570 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-09 12:42:32 +00:00
Jürgen Spitzmüller
41924f48f7 * GuiExternal.cpp:
- do not use invalid index if a template is not found. Fixes crash bug #6259.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-09 12:11:13 +00:00
Enrico Forestieri
a08af1f602 Fix bug #6264: Broken undo of removed script in mathed when both scripts are present.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31559 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-08 14:21:55 +00:00
Pavel Sanda
b574759cf2 Backoport fix for bug #5977 - Make Close button on tabs configurable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31553 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-07 10:02:30 +00:00
Vincent van Ravesteijn
886071393b branch: Fix bug #6108: Crash on menu key
The wrong context menu is being expanded, because the location where the context menu is requested is computed wrongly by Qt. 

Actually, the problem seemed to be in InputMethodQuery??. For some reason, the box of the cursor is shifted right under the cursor box.

The menu key uses InputMethodQuery?? to locate the context menu, just as he Japanese input method locates the box with possibilities.

1.6.x shows the same behaviour, but in that case it doesn't crash because the spellchecker entry does not exist there, but there might be another case in which it will crash.

see r30797.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31531 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 18:20:55 +00:00
Vincent van Ravesteijn
089945a888 branch: Fix bug #4906: Files always reopened in tabbed window on launch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31529 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 14:53:31 +00:00
Enrico Forestieri
7c4f9dc43b Fix bug #6258: LyX incorrectly interprets tetex warnings as errors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31517 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 16:11:57 +00:00
Jürgen Spitzmüller
68141ce03c * LyXFunc.cpp (reloadBuffer):
- make sure a child is re-allocated to its master after reloading (bug 6233).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 14:24:20 +00:00
Jürgen Spitzmüller
faa2e8ffde * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31509 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 13:02:06 +00:00
Kornel Benko
a7e90261f7 Remark about slovak translation of splash.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31508 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 12:57:11 +00:00
Jürgen Spitzmüller
e215fa5131 * BufferView.cpp (gotoLabel):
- stop iterating over the list of labels after the label was found.
	  This also prevents a crash if the found label is in a child (and the
	  pointers become invalid) [bug 6252].

Trunk already has this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31503 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 10:31:09 +00:00
Pavel Sanda
82ec9f9171 Backport fix for #6194.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31499 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 08:40:01 +00:00
Jean-Marc Lasgouttes
2d950f264a backport r31489: Fix support for optional argument of \bibitem in tex2lyx (bug 6249)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31490 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-02 10:36:34 +00:00
Enrico Forestieri
391659b5af Fix bug #6246: InsetMathKern is broken
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31483 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-28 22:11:02 +00:00
Jürgen Spitzmüller
9a2b2f750c * 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/branches/BRANCH_1_6_X@31476 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-28 11:09:44 +00:00
Vincent van Ravesteijn
d082cacdfd branch: Fix bug #6188: Assertion with multiple views of same document.
We have to prevent that two views share the same ID, also when an id was supplied (because we can open the same document twice).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-25 14:26:04 +00:00
Jean-Marc Lasgouttes
7911dd2269 backport r31439 (second part of #6142)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31464 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-25 12:43:09 +00:00
Uwe Stöhr
30321350fe also for branch:
- elsarticle.layout: add the stdlayouts, fixes #6189
- elsarticle.lyx: add two theorems as example

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31449 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-22 23:23:42 +00:00
Jean-Marc Lasgouttes
9cd1131c0c backport r31222 (part of #6142)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31437 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 21:03:05 +00:00
Jean-Marc Lasgouttes
9ff0b92038 clarify that we require automake 1.8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31434 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 13:13:11 +00:00
Uwe Stöhr
1d5c704360 GuiPrefs: fix #6176 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31429 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 11:58:31 +00:00
Uwe Stöhr
a19aa609ce -also for branch-
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/branches/BRANCH_1_6_X@31428 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 11:50:54 +00:00
Enrico Forestieri
3fa9c60f44 Fix bug #6215 (spotted by Vincent).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31422 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-20 23:07:16 +00:00
Uwe Stöhr
eac2af85ae status.16x: correct position of an entry (a fix is not an update)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31416 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-20 16:02:55 +00:00
Richard Heck
da444e0bf0 Backport r31395, fixing 6227 for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31414 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-20 15:18:30 +00:00
Enrico Forestieri
d59295680b Properly reset the stream encoding after an environment. Fixes bug #6216.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31406 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-19 15:49:56 +00:00
Uwe Stöhr
44b4c28347 Math.lyx: revision of appendix A, symbol for the Fourier translation added
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31393 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-17 02:02:17 +00:00
Enrico Forestieri
6ffeab01b7 Implement the LyXServer on Windows.
In order to enable the server, specify the LyXServer pipe in
Tools->Preferences->Paths. The path to be entered there must have the
form "\\.\pipe\nameofyourchoice" (without quotes). After that, you can
send commands to LyX. For example, if the pipe path is \\.\pipe\lyxpipe,
typing the following in a terminal:

echo LYXCMD:test:file-open > \\.\pipe\lyxpipe.in
type \\.\pipe\lyxpipe.out

brings up the file dialog and returns the acknowledgment from LyX.
Beware of spaces when using cmd.exe. For example, the following:
echo LYXCMD:test:file-open:foo.lyx> \\.\pipe\lyxpipe.in
will correctly load the document named foo.lyx, but
echo LYXCMD:test:file-open:foo.lyx > \\.\pipe\lyxpipe.in
(notice the space before the redirection) will try to load a
document whose name is "foo.lyx .lyx" because cmd.exe will also
pass the space (sigh).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31389 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-13 20:49:30 +00:00
Enrico Forestieri
3fda114784 Fix bug #6110.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31385 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-13 13:53:53 +00:00
Jürgen Spitzmüller
20d816b1ea * status.16x: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31384 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-13 09:03:44 +00:00
Uwe Stöhr
433fdaedcb powerdot-example.lyx: remove obsolete option to be able to compile the document with recent versions of powerdot, see http://www.mail-archive.com/lyx-users@lists.lyx.org/msg76401.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31367 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-10 23:29:19 +00:00
Jürgen Spitzmüller
bd5d83a578 Fix bug 6179 ("|" in index entries not embraced in ERT by lyx2lyx).
* OutputParams.{cpp,h}:
	- new param inIndexEntry
* InsetIndex.cpp (latex):
	- set param.
* InsetErt.cpp (plainText):
	- output active chars in IndexInsets

* lib/lyx2lyx/lyx_1_6.py:
	- embrace "|" in ERT when converting old index entries to collapsables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31361 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-10 12:10:18 +00:00
Vincent van Ravesteijn
da93049987 * status.16x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31345 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-08 11:59:51 +00:00
Pavel Sanda
af7b027799 * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31343 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-08 09:48:47 +00:00
Vincent van Ravesteijn
4a337c89f1 branch: Fix bug #6112: Crash when searching for a string that is found in a table, while the cursor is in math (bug #6112).
see r31339.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31342 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-08 09:38:05 +00:00
Pavel Sanda
2b6cddf92b Forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31341 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-08 09:28:43 +00:00
Enrico Forestieri
9ac5cd64df Was forgetting this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31337 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 22:02:49 +00:00
Vincent van Ravesteijn
660c977512 branch: Fix bug #2969: Double labels appear on empty lines of multi-line equations.
This reverts part of r10553. There, an extra '//' was added when the last line was empty. However, this really makes an extra line and that is visible when the lines have a line number. The bug #2067 that would have been fixed by this does not seem to 'exist' anymore.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31333 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 14:42:29 +00:00