Commit Graph

27524 Commits

Author SHA1 Message Date
Richard Heck
69ab57ab89 What is output as \eqref under prettyref needs to be handled differently
under refstyle, since (a) the default refstyle.cfg defines \eqref itself
and (b) does NOT define it the way AMS does. So we simply output:
	(\ref{label})
in this case, to match what we say in the UI.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37918 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 20:29:52 +00:00
Enrico Forestieri
426f81c925 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37917 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 20:10:21 +00:00
Abdelrazak Younes
c9e4d86b4c Temporally fix #7321 until a better solution is found. The auto scrolling is very bad but at least it does not crash nor assert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37916 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 16:41:47 +00:00
Abdelrazak Younes
8d06c1ebda TextMetrics::editXY(): don't continue executing code when asserting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37915 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 16:38:36 +00:00
Abdelrazak Younes
076151f508 Trying to fix #7321: add some assertions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37914 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 16:26:57 +00:00
Abdelrazak Younes
00a10facd2 Trying to fix #7321: SyntheticMouseEvent() only works within text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37913 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 16:26:03 +00:00
Kornel Benko
12410cfbd8 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37912 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 12:19:47 +00:00
Jürgen Spitzmüller
c723d6f49e * de.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37911 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 12:09:42 +00:00
Jürgen Spitzmüller
82eee13e42 * LyXRC.cpp: fix typo. although these strings are not used at all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37910 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 12:06:54 +00:00
Jürgen Spitzmüller
34651dfd6b * LaTeX.cpp: fix another variant of bug #7344 (delete aux files and rerun LaTeX if hyperref has been toggled)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37909 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 11:57:01 +00:00
Jürgen Spitzmüller
4a2d5b5177 resolve shortcut conflct
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37908 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 10:16:16 +00:00
Kornel Benko
058fb6b7cc * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37907 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 10:10:56 +00:00
Kornel Benko
a926e65899 Remerge sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37906 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-13 10:10:21 +00:00
Vincent van Ravesteijn
aed9e6c3f1 Fix bug #7352: Statusbar of Compare dialog is wrongly placed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37904 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-12 17:02:03 +00:00
Enrico Forestieri
6d425078a7 When an error occurs, don't highlight more than necessary.
Currently, if an inset outputs a newline, the new latex row is still
associated with a previous id/pos. Now, if a latex error occurs before
this newline, we would still highlight everything associated to that
id/pos, even if it is extraneous to the error.
This is avoided by associating the new latex row with the id/pos in
effect right before entering the inset. If an inset does not output
a newline, it is not excluded from the selection, consistent with the
fact that the text of the inset does appear in the error description.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37903 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-12 01:40:01 +00:00
José Matox
873704f865 Fix pref2pref bug with optional quotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37902 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-11 17:18:37 +00:00
Stephan Witt
ad1dc2fd6b now the user has control over the width of the text cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37901 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-11 06:11:55 +00:00
Enrico Forestieri
c4d1c0943b When an error occurs inside an inset, the content rather than the inset
as a whole gets highlighted. Now, the error list carries information
about the starting id/pos and ending pos, but not about the ending id.
So, when computing the range to be highlighted as range = pos_end - pos_start,
if id_start != id_end, the result 1 means one inset and only the first
character in the inset would be highlighted. Thus, when id_start != id_end,
let pos_end = 0, such that the whole content will be highlighted.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37900 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-10 22:11:34 +00:00
Stephan Witt
6118beae8d better fix for regression introduced by r37463: crash when dissolving an inset. then the saved cursor slices of new_word_ are out of sync, add a check for count of nested insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37899 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-10 20:15:34 +00:00
Jürgen Spitzmüller
3214841e7a * de.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37897 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-10 12:55:38 +00:00
Pavel Sanda
c08b521388 Update from Ignatio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37896 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-10 12:27:32 +00:00
Enrico Forestieri
32ea651007 Revert r37801 and r37870. They are superseded by r37894.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37895 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-10 04:10:21 +00:00
Enrico Forestieri
732212f233 Make sure to associate each line of the exported latex code to the id/pos
of the first call of TexRow::start(), rather than the last before a newline.
This is what was causing some recent grief (bug #7325, for example).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37894 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-10 04:05:49 +00:00
Pavel Sanda
98f381158e Update from Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37893 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 22:18:34 +00:00
Pavel Sanda
f8bbe56c5f Add Giovanni to credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37892 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 22:06:34 +00:00
Kornel Benko
23658b2c51 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37891 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 18:24:46 +00:00
Kornel Benko
f171576ec5 Remerge sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37890 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 18:24:20 +00:00
Pavel Sanda
b4ee593da0 Forgot to go back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37889 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 16:09:55 +00:00
Pavel Sanda
ec25d1db86 Ladies and gentlemen, time to practise interlingua.
First part done, second part taken from italian po, but completion should follow soon.

Contributed by Giovanni Sora

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37888 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 16:07:19 +00:00
Stephan Witt
45e4c6b94b do not check for hunspell libraries if header is not present
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37887 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 15:40:03 +00:00
Stephan Witt
c530a2d1a2 avoid the automatic word selection for language change when at the word boundaries, this will stop the automatic selection for words with length of one character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37886 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-09 14:15:34 +00:00
Jürgen Spitzmüller
cf6c0c8192 * Inset.h: fix typo in comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37885 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 16:12:35 +00:00
Stephan Witt
1c58de4cc7 #7266 drawing of dotted lines with QPen and line width of 0.5 does not work well - restore line width 0 for thin line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37884 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 15:35:24 +00:00
Jürgen Spitzmüller
427b8e3f97 * LaTeX.cpp: fix bug #7344 (delete aux files and rerun LaTeX if hyperref has been toggled)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37883 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 15:14:13 +00:00
Jean-Marc Lasgouttes
53e8746b47 In the case of non-null paragraph separation, replace the hardcoded test for ERT and LISTINGS insets by proper check for newLineIsParBreak.
This fixes the display of sweave Chunks in sweave.lyx example, which uses parskip instead of indent.

The rest of the changes are just white space


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37881 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 14:41:01 +00:00
Jürgen Spitzmüller
d3d4d31880 PDFOptions.cpp: correct fix for bug #7048.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37880 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 13:15:26 +00:00
Jürgen Spitzmüller
0bb6e39ef1 PDFOptions.cpp: whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37879 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 13:00:48 +00:00
Stephan Witt
c20e885331 on mac use system colors by default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37878 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 11:27:36 +00:00
Jean-Marc Lasgouttes
d7c4cb73ec reintroduce old sweave example file, now that the conversion bugs have been fixed (r37833)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37877 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 10:58:24 +00:00
Jürgen Spitzmüller
74159c3bb4 * de/UserGuide: some translation work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37876 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 09:52:05 +00:00
Jürgen Spitzmüller
d61aa2679d * de.po: spelling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37875 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 09:27:42 +00:00
Jürgen Spitzmüller
3168e42642 * de.po: spelling correction
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37874 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 09:24:31 +00:00
Jürgen Spitzmüller
370b7cab78 small corrections
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37873 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 09:23:33 +00:00
Enrico Forestieri
d5f56e67e0 Each line of the exported latex code is associated to a particular par.id()
of a lyx document. What par.id() is associated to the line depends on the
last call of TexRow::start() before a newline is actually issued.
If the par.id() of an ert is the one associated to the exported line,
when an error occurs, that ert is always returned by Buffer::getParFromID()
(and thus would be highlighted) whether the error actually occurred there
or elsewhere in the same paragraph.
So, better highlighting the whole paragraph when the error seems to have
occurred in ert.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37870 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-07 20:15:04 +00:00
Enrico Forestieri
c0437db8e9 Fix bug #7343 (No warning for missing child documents)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37869 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-07 14:36:22 +00:00
Jürgen Spitzmüller
2468e1ba2d * UserGuide: add documentation for language package and default output format
* de/UserGuide: add a translation reminder.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37868 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-07 09:47:05 +00:00
Jürgen Spitzmüller
910203c07f * doc/de/*.lyx:
- some edits (basically editorial) from Hartmut.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37867 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-07 08:45:48 +00:00
Pavel Sanda
02dbb905ee Fix bug #7338
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37866 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-07 00:37:26 +00:00
Pavel Sanda
6a86815e03 Go for rc1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37864 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-06 23:40:04 +00:00
Pavel Sanda
7434183eb5 * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37862 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-05 23:24:12 +00:00