Commit Graph

658 Commits

Author SHA1 Message Date
Uwe Stöhr
2eb4a46d0b tex2lyx: backport fix for bug #8210 2012-06-30 03:40:40 +02:00
Uwe Stöhr
90d8f3adcb polyglossia tex2lyx support also for branch 2012-06-30 02:18:18 +02:00
Juergen Spitzmueller
16f6910b59 Add dvilualatex output format 2012-06-29 18:46:53 +02:00
Juergen Spitzmueller
8470e31355 fix bug #8209: polyglossia commands ignored partial source preview 2012-06-29 18:37:50 +02:00
Richard Heck
7e4a2ae1e8 Backport fix for #7652, so that we show backends, not formats, in the
View>Source combo.
2012-06-29 11:13:07 -04:00
Jean-Marc Lasgouttes
20f1285821 Fix bug #8159: Undo doesn't restore environment depth correctly
(backported from master)

The idea is to record undo at the place where the document is modified:

1/ in Buffer::updateBuffer, add a recordUndo, with the caveat that a
   const_cast has to be used (because updateBuffer is const but
   modifies the document, go figure).

2/ in GuiApplication::dispatch, add an extra undo group that
   encompasses the updateBuffer call. Some other undo groups may be
   redundant now, but it is not a problem since they do not cost
   anything.
2012-06-29 15:33:02 +02:00
Jean-Marc Lasgouttes
111f15f335 Fix bug #8027: Edit->Paste Special->... does not replace selected text
Delete the selection before all paste-like lfuns. This was previoulsy done
only for LFUN_PASTE, the others at best unset the selection.
2012-06-29 15:18:20 +02:00
Jean-Marc Lasgouttes
ee8f3f89f6 Fix bug #2005: Lyx Inserted Graphics Scale Error
xkeyval fixes the incompatibility between graphicx.sty and babel/turkish.
2012-06-29 15:08:38 +02:00
Pavel Sanda
a31a9d9ba5 Fix #8203: remove window updating optimization leading to various crashes.
This is already fixed in trunk.
2012-06-28 21:03:14 +02:00
Juergen Spitzmueller
065f247ccb do not output empty language switch commands (bug #8216) 2012-06-28 16:49:45 +02:00
Juergen Spitzmueller
d0df873ebb linguistics manual: document shortcomings (and workarounds) of glosses 2012-06-23 19:30:06 +02:00
Richard Heck
a11f385797 Updates to Basque translation. 2012-06-23 09:20:58 -04:00
Uwe Stöhr
b835e6e03b tex2lyx/table.cpp: fix bug #8204 also for branch (prevent crash if TeX files define wrong table column numbers) 2012-06-23 01:13:43 +02:00
Uwe Stöhr
940fbe965e status.20x: revert last change (sorry, this should not go in) 2012-06-22 14:33:34 +02:00
Uwe Stöhr
0f3d7f0234 - status.20x: add entry for the table cell rotation support added in [cd691081b4/lyxgit] 2012-06-22 14:31:26 +02:00
Jean-Marc Lasgouttes
fb80ce20ca Handle sending a FuncRequest object to lyxerr
* Implement the corresponding operator<<

  * Use it in a couple new places
2012-06-22 10:45:46 +02:00
Uwe Stöhr
00a8ccdd07 sv.po: translation updates by Jim 2012-06-21 03:21:48 +02:00
Pavel Sanda
ef173f22a5 Backport 35e4c1c9a6. 2012-06-14 15:57:44 +02:00
Juergen Spitzmueller
d84eea891e Add DefaultStyle to siamltex.layout (bug #8194) 2012-06-10 11:45:41 +02:00
Juergen Spitzmueller
54ac0bb970 Restore default output format after tex fonts switch (#8191) 2012-06-08 20:24:09 +02:00
Jean-Marc Lasgouttes
a97d858145 Typo 2012-06-05 12:17:33 +02:00
Jean-Marc Lasgouttes
18c887f2db Fix bug #7956: Assertion When Trying to Paste Into Table
For some unknown reason, the paste code likes to call Cursor::setSelection(), which is not appropriate here since we are not trying to set a selection at this point.
2012-06-05 11:36:45 +02:00
Uwe Stöhr
dffb1ab6c3 - fr.po: updates from Jean-Pierre
- nn.po: updates from Ingar
- status.20x: register also other languages which have been updated for LyX 2.0.4
2012-06-04 23:11:42 +02:00
Uwe Stöhr
5ec8f5a5b6 languages: also for trunk: add missing language codes, fixes bug #8183 2012-06-04 22:33:05 +02:00
Juergen Spitzmueller
9df0a930d4 Add missing undo recording.
This adds a change of the printindex type (with multiple indices) to the undo stack and marks the buffer dirty on that action (bug #8182)
2012-06-04 19:13:31 +02:00
Pavel Sanda
99ada23d97 Backport f6921819. 2012-05-31 14:02:40 +02:00
Juergen Spitzmueller
026f53f41c Fix crash when removing last converter (bug 8178) 2012-05-29 15:40:07 +02:00
Juergen Spitzmueller
daf44909c0 Load bibtopic after hyperref (bug #8005) 2012-05-29 13:23:08 +02:00
Juergen Spitzmueller
044ef5dc4e add missing IPA glyph 2012-05-28 15:54:31 +02:00
Enrico Forestieri
5909fc467a Fix bug #8164: lyxpak.py fails to include filenames with spaces
People love embedding spaces in filenames, so account for that.

(cherry picked from commit fbcf2486d8)
2012-05-20 22:27:08 +02:00
Juergen Spitzmueller
993fa89009 If a file is saved as, reset its master if it has any, thus preventing a crash (bug 8161) 2012-05-19 14:03:50 +02:00
Uwe Stöhr
ab28040ca4 seminar.lyx: new example file from Günter Milde (forgot it in last commit) 2012-05-18 23:20:20 +02:00
Uwe Stöhr
b0c3dce84f seminar.layout: new version from Günter Milde (bug #7624) 2012-05-18 21:29:21 +02:00
Richard Heck
0cb1c96d01 Typo. 2012-05-17 07:28:11 -04:00
Jean-Marc Lasgouttes
db4cc27f4d Document a few commits I forgot. 2012-05-17 12:59:05 +02:00
Vincent van Ravesteijn
1ae4cdcd5c Update status.20x 2012-05-14 15:49:31 +02:00
Vincent van Ravesteijn
d475caf278 Fix bug #7641: Freeze when removing itemized first paragraph
Text::outerFont looks recursively for paragraphs before the current one
which has a lower depth. If such a paragraph cannot be found, depthHook
and outerHook return the current paragraph. As such, we end up in an
infinite loop. So, if we find a par_depth that was the same as the
previous one, we apparently can't find a suitable paragraph and we should
quit the loop.
(cherry picked from commit b17250d7eb)
2012-05-14 15:09:21 +02:00
Enrico Forestieri
3a3f6c838c Backport fix for bug #7982: LyX does not work if working directory a
hard disk drive like D:\.

In this case, the working dir has already a slash at the end.
Appending another one would result in a path ending with a double slash,
which has a special meaning when used in TEXINPUTS (all subdirs would
be recursively scanned). So, avoid doing that.

(cherry picked from commit 93ebb7a863)
2012-05-14 08:56:35 -04:00
Richard Heck
1e27b1d144 Updates to Customization manual from Scott. 2012-05-14 08:45:59 -04:00
Vincent van Ravesteijn
eaf059fd46 Windows installer: Update links in uninstaller 2012-05-13 21:00:30 +02:00
Vincent van Ravesteijn
38a8538194 Windows installer: Detect Inkscape when installing 2012-05-13 20:59:51 +02:00
Vincent van Ravesteijn
8c9da0c2d6 Fix bug #7870: Win installer: check for Gnumeric
Gnumeric is needed for the spreadsheet external inset template.
2012-05-13 20:59:15 +02:00
Vincent van Ravesteijn
4434df7bf0 status.20x for [86d8e5cf\lyxgit] 2012-05-13 20:56:25 +02:00
Georg Baum
0b60b468c4 forgot status as well 2012-05-13 20:48:43 +02:00
Richard Heck
c1e8933eb8 Status for previous commit. 2012-05-13 14:07:45 -04:00
Richard Heck
fc3ed37c50 Add LibreOffice converters for ODT. 2012-05-11 08:01:58 -04:00
Richard Heck
a223441391 Status for last commit. 2012-05-10 16:20:43 -04:00
Vincent van Ravesteijn
6541b6bd6c Fix bug #8153: Update to lib/unicodesymbols
Patch from Guenter Milde.
2012-05-10 17:58:38 +02:00
Pavel Sanda
9397d6217d Backport 17e8ea8a (#8018). 2012-05-10 17:34:11 +02:00
Pavel Sanda
9f51e76f8c Backport fb45a49d (#8021). 2012-05-10 17:28:53 +02:00
Vincent van Ravesteijn
cf27d693d8 Fix bug #953: Paint text decorations for spaces
(cherry picked from commit c671703f05)
2012-05-06 17:23:23 +02:00
Vincent van Ravesteijn
abce7966e6 Fix bug #5167: Correctly paint special characters in InsetMathFont
When using, e.g., a 'mathcal' inset in math, the inline completion and
other special characters like '\#', '{..}' are are painted in the
'mathcal' font as well. This is overcome by setting the mathnormal font
before painted these characters.

(cherry picked from commit 6377296492)
2012-05-06 17:23:21 +02:00
Vincent van Ravesteijn
58946a2996 Always require a mask to get a temporary filename
If no mask is supplied or the mask is attached to the end of the filename, we end up with unexpected names like
  <system-temp-dir>\lyx_tmpdir.qHp780.vcr780_<mask>
instead of a temporary file in the lyx temporary directory like
  <system-temp-dir>\lyx_tmpdir.qHp780\<mask>.vcr780.

(cherry picked from commit 5e4e4b674c)
2012-05-06 17:23:20 +02:00
Vincent van Ravesteijn
53cea14986 configure.py: Replace 'ltx' by 'log' case insensitively
On windows the temporary filename consists of uppercase characters. This
causes that the extension does not get replaced, and the logfile is left
behind.

Checking the extension case insensitively will correctly remove the
logfile.

(cherry picked from commit a02bfeebc5)
2012-05-06 17:23:18 +02:00
Vincent van Ravesteijn
9f25da8c12 Status.20x entry for [7d619f43/lyxgit] 2012-05-06 17:21:30 +02:00
Georg Baum
7a87c2f710 Forgot status.20x. 2012-05-06 13:06:01 +02:00
Richard Heck
773f2b365c Status for last commit. 2012-05-03 15:42:21 -04:00
Richard Heck
264948348e Fix bug 8124. We enable LFUN_INSET_MODIFY in InsetBox if it
is intended for us, i.e., if the first argument is "box". Maybe we
should also check to make sure that the rest of the arguments are
good, but we used just to return true no matter what the argument
was, so this is an improvement.

LFUN_INSET_MODIFY is really kind of a mess.
2012-05-02 17:43:18 -04:00
Vincent van Ravesteijn
3a53a52b1c Fix bug #7914: Freeze on docbook export of lists and bibliography
The LATEX_LIST_ENVIRONMENT and LATEX_BIB_ENVIRONMENT type paragraphs are
not yet implemented in DocBook export. However, we need to actively skip
these paragraphs in order not to end up in an endless loop.

(cherry picked from commit fa9bd04ea4)
2012-05-02 18:27:13 +02:00
Vincent van Ravesteijn
2e771bf78d Fix bug #8089: Handle spaces at the end of the stream
If the stream is good (i.e. there are still tokens) and we expect an
argument, we call getArg(). However, if there are only spaces, the stream
suddenly isn't good anymore after 'skipSpaces' and we would get an error
when calling 'getChar'. Therefore we have to check whether the stream is
still good.

MathParser: Do not rewind the stream if we can't read from it

If the stream is not good, we don't need to 'putback', because we didn't
read anything yet. If we now do rewind the stream, we are asking for
problems as in bug #8089.

This was introduced in [3cafb856\lyxgit] to fix bug #4318.

(cherry picked from commit 26dcfcd343)
(cherry picked from commit 1ef930c058)
2012-05-02 18:24:24 +02:00
Richard Heck
f79fd6013e More re-ordering, again mostly to test emails. 2012-05-02 11:28:15 -04:00
Richard Heck
f1c4a8fd03 Re-order status.20x, again. 2012-05-02 10:57:15 -04:00
Richard Heck
4b6ddefcaa Introduce LyXHTML section in status.20x 2012-05-02 10:54:22 -04:00
Vincent van Ravesteijn
39f06f37c3 Fix bug #7518: Assert when selecting in RTL text
If we are in rtl text, we *need* to check whether the first character is a
space. We can't use the rtl variable for this because this is only
computed on the last row.

This bug was introduced in [0a137e31/lyxgit] to fix the computation for
freespacing paragraphs. We better can just check whether the paragraph is
freespacing or not.

(cherry picked from commit d7f68078cf)
2012-05-01 11:45:58 +02:00
Vincent van Ravesteijn
0665673d03 Fix bug #8078: Assertions in xhtml output on Windows
(cherry picked from commit 3c0e3c16c8)
2012-05-01 11:42:52 +02:00
Enrico Forestieri
124bc762a7 Fix bug #8140: Crash with math macros and input completion
When clicking away in the same math inset after hitting '\', the
cursor may be broken and all of its instances have to be fixed.

(cherry picked from commit 9825621798)
2012-05-01 01:01:03 +02:00
Richard Heck
4296e47d28 Re-order status.20x a bit more. 2012-04-30 18:08:33 -04:00
Richard Heck
384ba91d5c OK, one more try here. Re-order a bit more. 2012-04-30 17:55:10 -04:00
Richard Heck
d831a451d1 OK, re-order a bit more. Last try with the email stuff for now. 2012-04-30 17:53:39 -04:00
Richard Heck
6cfbc51039 Re-order a bit. 2012-04-30 17:51:17 -04:00
Richard Heck
1b23d6ada8 Another small test. Sorry for all of these. I'm trying to get the
commits into the email, and there's only one good way to test it.
2012-04-30 17:45:49 -04:00
Richard Heck
5fc596ff09 Another silly test. 2012-04-30 17:25:35 -04:00
Richard Heck
cdd0b5c187 Another silly fix for testing. 2012-04-30 17:20:57 -04:00
Richard Heck
71f9611d70 Another fix for testing. 2012-04-30 17:19:07 -04:00
Richard Heck
d14646964a Re-order status.20x a bit. This is really just a test. 2012-04-30 16:51:49 -04:00
Vincent van Ravesteijn
013dc6cb3a Fix bug #7653: Quotation marks have wrong color
Quotation marks had the wrong color when using change tracking, or when
selecting.

(cherry picked from commit 14ef7d2b82)
2012-04-29 17:00:14 +02:00
Vincent van Ravesteijn
d4238397b9 Fix bug #7667: Pixmap cache and CT lead to random colors
The signature of the character in cache should take into account the
change tracking baseColor (author) and mergeColor (added/deleted). If not,
we will mixup different cached pixmaps.

(cherry picked from commit 6327993867)
2012-04-29 17:00:13 +02:00
Vincent van Ravesteijn
a102ba7564 Reset the (running) change in PainterInfo
When an InsetText is deleted, all lines in the inset are painted as
deleted. This status should be restored afterwards. If not, insets will be
painted in the wrong color afterwards (e.g. tables).

(cherry picked from commit af4e31ec28)
2012-04-29 17:00:12 +02:00
Vincent van Ravesteijn
76bff4cc04 BufferView::dispatch(): add a missing break
(cherry picked from commit 3a395ca0f5)
2012-04-29 17:00:11 +02:00
Vincent van Ravesteijn
921445239a Do not show deleted text in the html title
(cherry picked from commit 77c8c15947)
2012-04-29 17:00:10 +02:00
Vincent van Ravesteijn
507701261a Include the qt gif plugin in the Windows installer
Since LyX2.0 there was a busy icon in the status bar,
but it is not visible on Windows unless the gif plugin
is distributed along.
2012-04-29 17:00:09 +02:00
Pavel Sanda
7cea9372d5 Backport 217ef5bf3 (#81380 2012-04-26 14:19:05 +02:00
Richard Heck
ddee4f872b Don't output extra body tags with included files. 2012-04-23 14:14:01 -04:00
Uwe Stöhr
4e1bc622ca backport fix for #8102 2012-04-23 01:28:55 +02:00
Richard Heck
650ab1783a Use InsetLayout to style the XHTML output.
Note that we have also changed the layout name to uppercase, but
this should be fine, since it was so far unused.

Conflicts:

	src/insets/InsetScript.cpp
2012-04-17 09:28:28 -04:00
Richard Heck
9b5da57623 Fix header of status.20x. 2012-04-15 22:43:21 -04:00
Enrico Forestieri
482355e7b4 Fix bugs #6871 and #8119.
Both bugs above were due to a missing screen update. This patch
updates the current view after dispatching a lyxserver command
and thus solves both.

The patch is quite strightforward and the only difficulty was due
to the fact that the lyxserver needs the result of the dispatched
command. Now, GuiApplication::dispatch(FuncRequest const &)
does update the view, but does not return any result, while
GuiApplication::dispatch(FuncRequest const &, DispatchResult &),
which is also called by the former, does not update the view.
So, I split the first one, isolating the code performing the update,
such that the second one can also update the current view when
the caller is the lyx server. When the action is initiated by
anything different from the lyx server, the behavior is unchanged.

(cherry picked from commit ea31541848)
2012-04-16 00:19:22 +02:00
Enrico Forestieri
fe47997587 Fix bug #8105: Crash when deleting math macro from the inside
It seems that parameterless macros are not wrapped into a MathAtom.
Rather than touching the macro code (which is tantamount to opening
a can of worms, IMHO), I prefer this solution.

(cherry picked from commit d07f9eec20)
2012-04-15 23:59:18 +02:00
Uwe Stöhr
fea4cfbbd7 status.20x: fix 2 typos; Richard, can you please revise the now invalid info about SVN in the header? 2012-04-15 04:22:02 +02:00
Enrico Forestieri
99fe8ef2ba Use the right latex backend when a converter needs aux files.
If a converter specifies the needaux flag, latex (or xelatex) is
always run to produce the needed auxiliary files. This is wrong
because there are documents that can only be compiled with a specific
backend and thus the conversion may fail. On the other hand, even if
the document specifies the backend to be used, LyX ignores this info.

This commit rectifies this behavior by letting LyX run the same flavor
of the latex backend that shall be used for previewing the document
also for producing the auxiliary files.

(cherry picked from commit 3285ce1d5c)

Conflicts:

	src/Converter.cpp
2012-04-11 20:32:27 +02:00
Peter Kümmel
229fa2cd88 clang: std::string is used here, fwd is not enough
(cherry picked from commit f41057cae6)
2012-04-09 15:17:17 +02:00
Vincent van Ravesteijn
036e0c2abd Fix bug #8114: LyX does not retrieve negative bbox parameters
LyX fails to read the bounding box from an EPS file if it has
negative values. Adjusting the regex will overcome this problem.
Negative values do not pose big problems later on, but the GUI
doesn't handle it correctly yet (see bug #5718).

(cherry picked from commit f0754582b8)
2012-04-09 15:17:07 +02:00
Richard Heck
25246819de Backport the following from trunk:
29cf7af6d3
		8dd436b7dc
		7c5f28ad26
This fixes issues with empty paragraphs in XHTML output.
2012-04-08 10:20:11 -04:00
Uwe Stöhr
4d9c273d02 uk.po: translation update by Yuri 2012-04-07 03:15:23 +02:00
Richard Heck
b82a856a32 Make index comparisons for XHTML output case insensitive. 2012-04-03 17:57:01 -04:00
Richard Heck
8558d84d4d Clear local layout before reading BufferParams. Otherwise, you can't
delete the local layout.
2012-04-03 15:58:06 -04:00
Richard Heck
858ccc413f Backport fix for bug #8107. We need to invalidate the file
cache, not just the BibInfo cache, when we create a new BibTeX
inset.

Conflicts:

	src/insets/InsetBibtex.cpp
2012-04-01 18:28:55 -04:00
Uwe Stöhr
3c2c0c182f Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x 2012-03-28 22:51:50 +02:00
Uwe Stöhr
44ee575562 beamer.layout: fix #8094 also for branch 2012-03-28 22:51:36 +02:00
Richard Heck
e5c8f33be7 Clean up the include_bib script a bit. 2012-03-26 12:07:46 -04:00
Jean-Marc Lasgouttes
f98bb89227 Better support for (Lua|Xe)TeX files in tex2lyx
When one of the packages specific to these engines are used in the TeX file:
* set default encoding to utf-8
* set \use_non_tex_fonts to true

This is a hand-made backport of svn commit r40765.
2012-03-26 16:10:31 +02:00
Juergen Spitzmueller
0ee5c1919a Beamer supports \subsubsection. Add to layout. 2012-03-26 12:33:37 +02:00
Enrico Forestieri
ae06825513 status.20x for last commit.
I first used cherry-pick, then tried to modify status.20x but there
was no way I found to proceed from there. So, to be able to come
out form this situation I reverted the changes to status.20x,
pushed the cherry-picked revision and then committed the changes
to status.20x.

Let me say that git is way too much complicated to be really useful.
2012-03-25 15:49:10 +02:00
Vincent van Ravesteijn
87d97322ef Fix more possible crashes due to asInsetRef()
InsetMathHull has no method asInsetRef() and returns therefore 0.

See also 5bd68605.
2012-03-24 11:12:42 +01:00
Richard Heck
5bd68605df Backport fix for bug #8095.
The crash was due to the otherwise innocent looking 07924ac300. The cast
Vincent replaced was already wrong---it seems to have been a thinko in
7bbd67eb2679---but it worked kind of by accident before. Now it crashes.
2012-03-23 14:43:41 -04:00
Uwe Stöhr
6f5ea2ae47 GuiTabular.cpp: fix bug #8092 also for branch 2012-03-21 21:50:34 +01:00
Vincent van Ravesteijn
3c78445234 Remove duplicated entry from status.20x 2012-03-19 19:29:38 +01:00
Vincent van Ravesteijn
cddd90dfdf Fix bug #8083: Fix the selection of cells below multirows
Multirows were introduced in 8bb69f24 (Uwe Stoehr, 11 Feb 2010). In the
computation of the nearest cell, it was forgotten to account for the
vertical offset. tabular.cellHeight is the full height of the cell, while
the point that comes from the coordCache is offsetted by VOffset.
Therefore, we have to subtract the VOffset from o.y_.
2012-03-19 19:29:37 +01:00
Vincent van Ravesteijn
b754fb0253 Clear the error list from previous errors
We only copied the error list to the cloned buffer when makeLatexfile
failed. This means that a second try will never clear the error list and
the user will be presented the same list again.

Therefore, we unconditionally copy the error list such that we also clear
the list on success.
2012-03-19 19:29:36 +01:00
Juergen Spitzmueller
f50edc8673 Fix bug #8069: View/Update other formats button disabled with non-TeX fonts 2012-03-16 15:53:45 +01:00
Uwe Stöhr
7d200f302d GuiTabular.cpp: fix bug #8084 2012-03-15 02:29:47 +01:00
uwestoehr
0bfe15d969 status.20x: some cosmetics as test commit 2012-03-15 00:26:59 +01:00
Richard Heck
26868fc04e Minor updates to status.20x. 2012-03-13 17:13:36 -04:00
Enrico Forestieri
b067c04309 Fix bug #8032 (timeout when using the Sweave module)
After the timeout elapses, the user is notified that a command is taking
a long time to complete and is given the choice to stop it. If the user
decides to let the command run, the timeout is increased, otherwise the
command is killed. One is prompted a first time after 3 mins, a second
time after 9 mins, a third time after 27 mins, and so on, i.e., the n-th
prompt occurs after 3^n minutes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40881 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-07 00:26:17 +00:00
Enrico Forestieri
b7cc97e2d0 Since version 1.9 SumatraPDF supports forward search without DDE commands.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40879 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-06 23:30:23 +00:00
Richard Heck
dc7fd33b84 Backport JMarc's fix for bug #6367.
* Undo.cpp:
 - rename cur member of UndoElement to cur_before
 - add new member cur_after, which is set by Undo::endUndoGroup
 - create a new Undo::endUndoGroup variant that takes a Cursor as parameter. We cannot get rid of the old one because it is used for LFUN_COMMAND_SEQUENCE.
* Cursor.cpp:
 - use endUndoGroup(Dociterator const &) for dispatch
 - update Cursor::endUndoGroup to pass cursor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40876 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-06 23:12:36 +00:00
Enrico Forestieri
8c24088b79 On Windows, properly account for the encoding of the temporary directory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40875 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-06 21:24:04 +00:00
Richard Heck
8d3e242755 Backport fix for #7997.
The View->Source pane resets the format every time you click into
a new paragraph, which is very annoying. This commit fixes this bug.

If anyone has a better idea, please let me know. I posted to devel
about it but got no response.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40864 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:51:53 +00:00
Richard Heck
922726faae Backport fix for #7916.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40863 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:38:21 +00:00
Richard Heck
1b74e82b9c Add option to view only preamble when viewing source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40862 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:36:27 +00:00
Richard Heck
ec5a0965d3 Backport fix for #7787.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40861 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:30:19 +00:00
Uwe Stöhr
e377fa3168 EmbeddedObjects.lyx: description how to color every second table row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40855 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-04 23:54:31 +00:00
Vincent van Ravesteijn
436ab3a2c2 branch: Fix handling of the add branch textfield in GuiBranches
- Enter in the textfield adds the branch,
- Make sure the dialog is not closed when pressing enter, 
- Pressing Ctrl+Enter or the Enter on the numpad closes the dialog.

Patch based on a patch from Scott Kostyshak.

see r40839.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40847 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 15:55:00 +00:00
Vincent van Ravesteijn
9a5c01acb8 branch: GuiCitation: Do not allow to add entries by pressing Enter when the Add button is disabled.
see r40835.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40846 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 15:52:21 +00:00
Uwe Stöhr
433539cdac ia.po: updates by Giovanni
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40838 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 13:13:58 +00:00
Uwe Stöhr
91e11aff96 iop-article.lyx: add some important info to avoid compilation errors and improve the template a bit (thanks to MaX Funk for the hints)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40836 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 12:39:57 +00:00
Uwe Stöhr
db3152a3e0 modernCV.lyx: fix #8064 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40833 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-02 23:43:58 +00:00
Jürgen Spitzmüller
d2b87f4706 Work around qt bug that prevents the glyph LATIN CAPITAL LETTER SHARP S from being pasted (bug #8057).
Backport of r40829.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40831 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-02 14:59:53 +00:00
Uwe Stöhr
d5aa03bfd0 status.20x: entry for the knitr fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40819 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-29 23:44:05 +00:00
Pavel Sanda
435dce17c0 Backport graphics tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40812 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-29 18:54:26 +00:00
Georg Baum
4b77821d96 backport r40804
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40806 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-28 20:46:20 +00:00
Georg Baum
fbe35a1178 back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40805 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-28 20:43:35 +00:00
Enrico Forestieri
6a9c9f620b Call lyxpak.py using the original (not mangled) document file name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40774 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-18 14:00:41 +00:00
Uwe Stöhr
93bc78ca47 ja.po: updates from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40748 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-14 21:04:25 +00:00
Uwe Stöhr
638545859c es.po: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40747 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-13 23:18:58 +00:00
Uwe Stöhr
fedac425c2 sweave.lyx: completely revised example file by Yihui Xie
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40743 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 23:54:02 +00:00
Uwe Stöhr
defe1e1b94 thesis files: translate some German strings to English and fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40736 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 14:57:29 +00:00
Uwe Stöhr
5ce0c1330b thesis files: Fixed preamble code for automatic reference naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40735 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 14:46:23 +00:00
Uwe Stöhr
026b02e212 - EmbeddedObjects.lyx: correct the description of Automatic Reference Naming
- Math.lyx: correct the preamble accordingly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40730 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 01:50:21 +00:00
Uwe Stöhr
3e8160059d nn.po: updates by Ingar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40727 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-11 18:15:36 +00:00
Uwe Stöhr
c0a51ef18d - status.20x: add missing updated languages
- fr.po: updates from Jean-Pierre

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40724 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-11 15:48:50 +00:00
Jean-Marc Lasgouttes
8e753e006d addendum to backport r40703 (fix #8019)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40707 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-03 17:32:13 +00:00
Jean-Marc Lasgouttes
24cd11aa70 backport r40703 (fix #8019)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40706 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-03 17:30:21 +00:00
Jürgen Spitzmüller
10e3be13fc status.20x: Fix glitches introduced with r40704.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40705 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-03 06:10:14 +00:00
Jean-Marc Lasgouttes
b0721c5c2f backport 40700
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40704 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-02 22:39:26 +00:00
Georg Baum
4e0c2910e1 Backport the safe part of r40694 to fix bug #7998.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40698 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-01 21:03:04 +00:00
Jürgen Spitzmüller
29f9a3094b Fix bug #8013: updateDefaultFormat() checks the osFontsCB state, so the fonts UI needs to be set in advance of the output UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40696 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-01 06:33:51 +00:00
Richard Heck
8adc4095f1 Updates from Yuri for Ukrainian localization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40692 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-31 18:10:53 +00:00
Jean-Marc Lasgouttes
881d6bc268 backport support for knitr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40684 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-28 10:50:12 +00:00
Vincent van Ravesteijn
8016aebdf1 branch: Fix bug #7644: Crash when copying table column or row
see r40656.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40683 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-27 21:44:30 +00:00
Stephan Witt
53ebb66d2a do not use config.guess anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40679 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-26 15:30:58 +00:00
Jean-Marc Lasgouttes
71a8b9a6b7 Fix installation of python files:
- be compatible with automake 1.11.2 (#7990)
- do not install pyo/pyc files in share directory (#6080)

This is a backport of r40635, r40669 and r40670.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40675 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-25 22:59:42 +00:00
Stephan Witt
7391a872ca #7789 correct buffer statistics when change tracking is on; LyX incorrectly counts the words in deleted notes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40673 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-24 06:20:25 +00:00
Pavel Sanda
5c98f354f8 Fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40661 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 22:47:58 +00:00
Georg Baum
9c3c9806a9 Backport fix for bug #5906
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40654 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 20:00:19 +00:00
Vincent van Ravesteijn
17370a9462 branch: Fix bug #7755: Unknown tabular feature "from-dialog"
"from-dialog" is added to the LFUN_INSET_MODIFY function when it is issued from the table settings dialog. This is done to prevent the checking of the individual parameters, because it has to consider all parameters alltogether. Besides, when issued from the dialog it is already guaranteed that the parameters are valid.

This parameter should not be passed onto tabularfeatures.

see r40376.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40653 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 15:31:44 +00:00
Richard Heck
441e7f6c03 Backport Vincent's fix for #7004.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40652 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 14:37:13 +00:00
Richard Heck
88fe65bf0c Backport Tommaso's fix for #7410: Weird stale selection leads
to assertion after replace all.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40651 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 14:23:43 +00:00
Georg Baum
4158734a2e Backport partial fix for bug #7811
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40645 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 10:34:07 +00:00
Jürgen Spitzmüller
9cb532913b Fix crash when putting a float around multiple display maths (bug #7974).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40644 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-21 17:16:56 +00:00
Uwe Stöhr
5e1ec87fff - moderncv.layout: add missing separator style
- modernCV.lyx: set page size to A4, correct subsection entry, use a separator modify preamble to be compliant with modernCV 0.16 (fixes #7991)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40643 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-21 12:17:39 +00:00
Jürgen Spitzmüller
8fe2cecbdb Fix crash due to the attempt to access paragraph() from within mathed while doing forward-search (bug #7992).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40638 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-20 13:08:33 +00:00
Jürgen Spitzmüller
25746dc622 Do not load font packages with encoding "utf8-plain" (bug #7766, #7782).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40637 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-20 13:02:19 +00:00
Jürgen Spitzmüller
4ebcd17969 typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40634 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-20 06:26:41 +00:00
Stephan Witt
38de585d97 Improved disk image creation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40632 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-19 20:32:43 +00:00
Georg Baum
902608c331 backport fix for bug #7973
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40631 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-19 20:21:53 +00:00
Richard Heck
885084fea8 If we don't have a tooltip in the TOC, then use the display string
as the tooltip. This isn't redundant, since the TOC itself might
truncate the display string.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40628 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-16 15:13:26 +00:00
Richard Heck
af5938cb6c Fix bug #7774. It should be fine to show the complete index entry
in the TOC, as these generally aren't that long.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40627 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-16 15:08:55 +00:00
Enrico Forestieri
7149006dca Properly account for output redirection with QProcess.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40620 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-16 00:36:13 +00:00
Enrico Forestieri
3ae401e5bc Detect the correct version of python at runtime and store the result
for later calls. The check is only performed on the major version
number, such as to avoid using python 3.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40619 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-16 00:23:09 +00:00
Julien Rioux
53ae40b34b Add gswin64c as possible executable in legacy_lyxpreview2ppm.py (#7938).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40618 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-15 22:13:36 +00:00
Richard Heck
bed648d0b5 Fix bug #7983: Do not modify params before we know we have
something valid!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40616 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-15 16:47:50 +00:00
Enrico Forestieri
dac462c96b Refine fix for bug #7800. Don't use \inputencoding if the strings can be
encoded in the current buffer encoding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40614 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-14 15:06:40 +00:00
Georg Baum
923e3c1a3a backport fix for bug #7013
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40606 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-12 20:12:03 +00:00
Stephan Witt
12e0991465 backport changes to fix #7884: detect missing dictionaries, add default dictionary location for hunspell, act on preference changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40599 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-11 17:05:18 +00:00
Stephan Witt
b5ef74803d correct a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40597 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-11 16:30:40 +00:00
Stephan Witt
a68c3a2e42 #7927 backport the configure fix to support --with-packaging=posix on Mac OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40594 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-10 07:16:00 +00:00
Georg Baum
66fc6f76c0 Backport the safe part of bug #7949
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40584 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-07 18:28:14 +00:00
Richard Heck
d8b68d84f1 Backport Lars's fix for bug removal in GCC 4.7
A long standing bug has been fixed in GCC 4.7, the bug was a non-
sactioned extra lookup. This caused some code to work that really
shouldn't.

The fixes are: add this->, Class::, or move functions about
as required to fullfill the rules.

In this case some template instantiations were movee to after what
they reference.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40583 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-07 16:00:56 +00:00
Pavel Sanda
c4ca05114c Backport fix for #7963, fullscreen corner case for tabbar visibility.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40561 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-03 15:23:35 +00:00
Uwe Stöhr
2ec8fccc07 Math.lyx: improve description of modulo-functions, fixes #7961
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40555 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-01 21:26:28 +00:00
Uwe Stöhr
6977bfc256 symbols: fix #7962 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40554 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-01 21:20:26 +00:00
Stephan Witt
4a16880406 #5585 (backport) disable spell checker dialog for empty documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40553 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-31 17:55:20 +00:00
Jürgen Spitzmüller
a3671ef1c4 In recent biber versions, the log message that tells us which bib files are used has been changed. Adapt the parser, so that bib files are tracked again.
(backport of r40542)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40547 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-26 08:47:40 +00:00
Enrico Forestieri
3256da26eb Fix bug #7933 (lyx2lyx error while running lyxpak.py)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40545 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-24 11:59:33 +00:00
Richard Heck
c9dab05dc9 Backport fix for #7923: Don't clone all the children on autosave.
We split Buffer::clone() into various routines that know whether
to clone the children.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40536 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-21 15:08:26 +00:00
Uwe Stöhr
c76febcbdf new layout and template file for articles in the Journal of the Acoustical Society of America (JASA)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40530 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-20 00:52:36 +00:00
Uwe Stöhr
d6da309609 multicol.lyx: fix a description (bug #7953)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40529 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-20 00:23:18 +00:00
Uwe Stöhr
55afc1c279 status.20x: cleanup the tex2lyx entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40519 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-18 15:14:19 +00:00
Richard Heck
fd07a7753c Backport fix for bug #7941 (Translation of theorem-like environment names fails if language and buffer encoding differ)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40514 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-17 21:07:02 +00:00
Jean-Marc Lasgouttes
dc1f50008f Backport r40372 in order to fix bug #7909
#7909: mark-on selection is lost during screen-down and screen-up


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40504 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-16 14:13:31 +00:00
Pavel Sanda
ee9699ce39 Backport fix for 7945.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40503 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-15 22:06:04 +00:00
Uwe Stöhr
6b687dd023 nl.po: more translations from Timo (now above the 50% limit and thus announced)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40462 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 21:23:40 +00:00
Richard Heck
911606be66 Fix bug #7256. Reduce space around inset buttons by a pixel on each side.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40455 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 15:52:18 +00:00
Richard Heck
cbc62641e5 Fix bug #6293 as suggested there: We change the title of the PDF
options pane if hyperref is already provided.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40423 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 21:15:37 +00:00
Richard Heck
bcca9bb6b7 Fix bug #7921. We should not allow the user to save a file thereby
over-writing a file that is already open. So we issue a warning and
ask if they'd like to try a different name.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40421 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 20:45:35 +00:00
Pavel Sanda
b4bac77f58 Add lyx.svg into branch, cf #7919, thanks Timo Kluck.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40416 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 15:17:06 +00:00
Richard Heck
a79aac7acf 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/branches/BRANCH_2_0_X@40401 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 20:46:40 +00:00
Peter Kümmel
c3f853a3ef cmake changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40397 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 19:57:53 +00:00
Uwe Stöhr
4251d34965 ia.po: updates from Giovanni
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40387 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-05 23:07:47 +00:00
Uwe Stöhr
8fc546c654 status.20x: beautify the status entries for tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40371 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-05 01:13:59 +00:00
Uwe Stöhr
11e591913b EmbeddedObjects.lyx:
- new description how to color dashed table lines
- new section how to split table cells by diagonal lines

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40365 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-04 21:57:18 +00:00
Georg Baum
159875f201 Mass backport tex2lyx bug fixes.
tex2lyx is no identical with the version in trunk (except for cosmetic changes
and file formats > 413).
The output of the test cases is either unchanged or improved.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40364 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-04 16:16:32 +00:00
Richard Heck
bd0519d455 Status for previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40354 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 22:44:22 +00:00
Richard Heck
3d28c26de3 Status for previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40345 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 21:48:15 +00:00
Uwe Stöhr
f19efe700d external_templates: fix #7888 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40343 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 15:36:59 +00:00
Uwe Stöhr
2a9f16130e stdmenus.inc: fix #7891 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40342 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 15:27:20 +00:00
Jürgen Spitzmüller
51e410eaf1 * de.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40341 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 08:24:56 +00:00
Richard Heck
fdd31a75a5 Fix crash when outputting XHTML. Not resetting the paragraphs
was an oversight here. (This was r40068 in trunk, but never got
to branch for some reason.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40330 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-02 19:19:16 +00:00
Jean-Marc Lasgouttes
a3788ac063 No need to skip Package.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40329 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-01 15:11:05 +00:00
Jean-Marc Lasgouttes
5317533f9a - Fix Sweave support for document encoding with R >= 2.13.1 (bug 7876).
(backport from trunk)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40328 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-01 13:50:08 +00:00
Jean-Marc Lasgouttes
d45fdbc3c6 Fix linking on Mac OS X when using autotools without the fancy mac build script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40322 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-30 11:19:57 +00:00
Julien Rioux
5ea4f80d1a Provide our own patched AM_PYTHON_CHECK_VERSION that requires python <3.0
Use the python found by configure to build po files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40319 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 23:03:08 +00:00
Uwe Stöhr
b6451cec3e Customization.lyx: updates by Philip Pirrip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40317 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 20:58:46 +00:00
Richard Heck
6a2083cedf Backport fix for bug #7906.
Check the widgets after creating the dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40312 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 20:00:28 +00:00
Richard Heck
936cee5b9f Fix bug #7709. Seems we need to reset the source model here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40310 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 19:54:48 +00:00
Richard Heck
c64258aace Backport fix for bug #7883 from Jean-Pierre: Make strings
uniform across modules.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40309 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 19:50:25 +00:00
Richard Heck
d7799bb5cc Fix bug #7499. The problem here is that there was no way for the
inset to know that the BibTeX data had changed. So we introduce a
Buffer-wide variable that we can query for that information.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40307 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 19:45:27 +00:00
Richard Heck
c435b83074 Reset status.20x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40306 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 19:12:10 +00:00
Uwe Stöhr
6f315d2514 ja.po: translations by Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40289 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-26 15:40:05 +00:00
Richard Heck
155e0ada21 Start update of ANNOUNCE file, and clean up status.20x a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40254 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 19:51:39 +00:00
Richard Heck
050cceefbf Fix #7495 by adding layouts for ctex document classes and
corresponding templates. Thanks to Yihui for these.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40248 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 15:46:37 +00:00
Richard Heck
b367640290 Backport fix for bug #7905. We don't want to move out of the inset unless
we've put something into it. (We also don't need to copy an empty string
into it.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40242 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-22 18:49:59 +00:00
Uwe Stöhr
f91866f7c1 EmbeddedObjects.lyx: add section about the calculation of the table width
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40237 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-21 21:18:38 +00:00
Richard Heck
08498577c4 Fixes for bug #7870 from Helge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40219 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-19 16:22:21 +00:00
Richard Heck
0e1ecaedaa Add TEX2LYX section for bug fixes, since there is so much activity
there. (Thanks Uwe and Georg!!)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40214 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 21:40:45 +00:00
Richard Heck
2e21676cb2 Backport fix for bug #7873.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40213 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 21:37:03 +00:00
Uwe Stöhr
414247385c nb.po: updates from Helge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40198 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-15 00:27:12 +00:00
Uwe Stöhr
bbfc2c8bd4 status.20x: stylistic fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40197 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-15 00:15:46 +00:00
Uwe Stöhr
2b201352d0 EmbeddedObjects.lyx: add info about the dvips color names and fix some issues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40195 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-15 00:12:17 +00:00
Georg Baum
b6eb513d94 Fix bug #7895: Do not output lines with only a single space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40194 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-14 21:04:00 +00:00
Georg Baum
044565f535 Fix bug #7663: Misparsing of description \item with spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40183 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 10:43:30 +00:00
Uwe Stöhr
5aaf686414 sv.po: updates by Jim
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40171 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-11 23:39:46 +00:00
Uwe Stöhr
d15ddda3c1 sweave.lyx: completely revised by Yihui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40170 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-11 23:22:52 +00:00
Uwe Stöhr
6346e19d37 id.po: updates from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40167 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-10 21:56:51 +00:00
Uwe Stöhr
7f743a8900 es.po: updates from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40166 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-10 21:38:34 +00:00
Uwe Stöhr
ec3b686f8e backporting tex2lyx:
- support for \makebox
- fix import of boxes without an inner box (the on-screen display was broken because of wrong default width setting)
- fix parsing of \framebox{content}, which LyX does not support yet - we have to use ERT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40157 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-07 21:57:49 +00:00
Georg Baum
f3a833ca7e Import optional argument of tabular (vertical alignment)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40148 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 18:56:26 +00:00
Georg Baum
f59e3bedaa Fix bug 6834: Import theorems with optional argument correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40144 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 18:12:20 +00:00
Uwe Stöhr
2c0c8fc41f backporting tex2lyx: fix bug #7843
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40137 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 15:15:13 +00:00
Richard Heck
f78ada8345 Fix bug reported on user list: <title> not escaped.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40132 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-02 18:57:14 +00:00
Uwe Stöhr
92a60b1a18 uk.po: updates from Yuri
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40129 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-01 20:54:50 +00:00
Uwe Stöhr
e38c1a23cb status.20x: mention the new example
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40123 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-01 05:53:33 +00:00
Uwe Stöhr
dc122e3430 - UserGuide.lyx:
- describe the new lyxpipe preferences option
 - add info how to en/disable the math autocorrection
 - some bugfixes in appendix C

- German UserGuide.lyx: complete translation of appendix C

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40120 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-01 04:04:53 +00:00
Uwe Stöhr
120d030a89 backporting tex2lyx: fix bug #7863
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40109 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-31 01:58:58 +00:00
Enrico Forestieri
3f691d1f55 Fix bug #7800 (Lyx cannot create dvi with Russian)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40107 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 22:40:03 +00:00
Richard Heck
61e539a488 Backport fix for #7764: Sort the file lists under
Document>Settings>Output.

It turns out that we always want this list to be sorted when we get it,
so we can sort it in BufferParams rather than in three different places.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40102 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 20:07:46 +00:00
Uwe Stöhr
916dc97c08 - UserGuide.lyx: finish revision of the appendices
- German UserGuide.lyx: some more translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40082 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 03:46:43 +00:00
Uwe Stöhr
e9613bd0cf RELEASE-NOTES, status.20x: add note for the Springer layout update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40075 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-29 21:46:33 +00:00
Uwe Stöhr
75ade33280 backporting tex2lyx: fix bug #7862
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40072 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-29 20:34:31 +00:00