Commit Graph

24407 Commits

Author SHA1 Message Date
Enrico Forestieri
b121ac47c6 Introduce a switch for overwriting files during a batch export.
Using "-f all", or simply "-f", all files are silently overwritten.
Using "-f main", only the main file is overwritten.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34224 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 23:53:23 +00:00
Vincent van Ravesteijn
1df3f70ed1 Fix more of bug #5446: Enable to copy the contents of an InsetInfo through the context menu.
This introduces a new LFUN LFUN_INSET_COPY_AS, which copies a certain Inset to the clipboard. For InsetInfo this is the text that is visible, but this could also replace LFUN_LABEL_COPY_AS_REF, by copying the INSET to the clipboard as a reference, and also a Math inset to copy to the clipboard as latex (including $'s or \[..\]).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34223 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 21:36:32 +00:00
Enrico Forestieri
87caf487e1 Extend Alert::prompt such that 4 buttons are possible. Thus, when
exporting, the extra dialog appearing when choosing to overwrite a
file is not necessary anymore.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34222 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 20:44:57 +00:00
Enrico Forestieri
30792f994e QThreadPool was introduced in Qt 4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34221 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 19:55:15 +00:00
Vincent van Ravesteijn
0b92e538d9 Use the AtPoint mechanism for the LFUN_INSET_EDIT and LFUN_LABEL_COPY_AS_REF.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34220 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 17:11:43 +00:00
Vincent van Ravesteijn
12a6a0774e Fix bug #6661: Outliner filter bar should not be case sensitive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34219 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 16:05:40 +00:00
Uwe Stöhr
830788118b installer: some special settings for the alpha/beta releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34218 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 03:58:48 +00:00
Pavel Sanda
baf3cc15e1 Add Skim to hints.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34217 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 23:52:08 +00:00
Vincent van Ravesteijn
ec862d10da Better(?) fix for bug #6659: InsetInfo context menu disabled unless cursor immediately in front.
(see r34215 for the previous fix.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34216 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 23:47:11 +00:00
Vincent van Ravesteijn
ce4d5f22f8 Fix bug #6659: InsetInfo context menu disabled unless cursor immediately in front.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34215 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 23:35:59 +00:00
Uwe Stöhr
9f17376f5c LaTeXConfig.lyx: cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34214 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 23:08:58 +00:00
Richard Heck
2903300277 Add some debugging code so we can try to get information about an
assertion here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34213 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 23:05:12 +00:00
Enrico Forestieri
dca306e554 Correct shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34212 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 22:39:35 +00:00
Richard Heck
f608e878f3 Just do the best we can here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34211 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 22:24:14 +00:00
Richard Heck
6d7788fde0 Stupid, stupid, stupid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34210 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 22:21:21 +00:00
Pavel Sanda
074a791505 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34209 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 21:32:43 +00:00
Richard Heck
6420f687c8 Forgot these. Thanks, Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34208 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 21:23:24 +00:00
Richard Heck
cde948177b Remove unneeded code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34207 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 21:19:08 +00:00
Richard Heck
287612cfba A final bit of cleanup with the TextClass reading functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34206 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 21:06:38 +00:00
Richard Heck
6d7cffbd71 A little more cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34205 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 20:42:04 +00:00
Richard Heck
d0b52ce0aa Minor fixes to TextClass::read().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34204 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 20:37:07 +00:00
Uwe Stöhr
3a435c5daa chkconfig.ltx: check also for
- arabi (needed for Arabic documents; we also already check for the japanese package so there is no reason why not also check for arabi)
- hyphenat (needed by some document classes and languages like Hebrew to disable hyphenation)

Can also go to branch for LyX 1.6.7 or even 1.6.6 if you like.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34203 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 15:02:38 +00:00
Enrico Forestieri
d356d7d4f7 Add forward search hint for evince.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34202 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 12:44:58 +00:00
Edwin Leuven
5485f39539 new buffer on double click in empty area of the tab bar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34201 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 11:30:20 +00:00
Enrico Forestieri
8dffd93995 In the meantime that we decide whether to introduce menu choices for
both dvi and pdf, let's allow switching forward search from one format
to the other through a timestamp check, such that the most recent
generated format will be used.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34200 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 10:54:43 +00:00
Jürgen Spitzmüller
50b4ac16b9 * GuiPrefs.cpp: forward search syntax hint for okular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34199 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 08:34:51 +00:00
Richard Heck
4dd12f4dc6 Something weird is happening here, as reported by Enrico.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34198 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 00:57:57 +00:00
Uwe Stöhr
e3a5d6425f installer: remove wrong image file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34197 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 00:34:56 +00:00
Uwe Stöhr
dcdd300b49 installer: generate LyX 2.0alpha2 release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34196 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 00:32:47 +00:00
Richard Heck
f9b81a16c0 Do not throw exceptions here either. See r22806.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34193 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-17 22:49:38 +00:00
Richard Heck
dcc7497bde Fix crash reported by Bennett. We could try to catch these exceptions
elsewhere, but I actually don't know why I put them here in the first
place.

The tex2lyx stuff allows us not to wrap the calls to
frontend::Alert::warning in "#ifdef TEX2LYX" blocks.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34192 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-17 22:36:31 +00:00
Richard Heck
aeac2f8cb9 Disable InsetInfo for VC when VC is not active.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34190 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-17 13:34:13 +00:00
Richard Heck
9d7e5b6b41 Messed this up, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34189 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-17 13:29:00 +00:00
Richard Heck
7747410bb0 Forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34188 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-17 13:24:49 +00:00
Richard Heck
64840ec5ef Simplify VC output from InsetInfo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34187 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-17 13:24:32 +00:00
Richard Heck
49945d3fac LyX version info for InsetInfo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34186 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-17 13:04:41 +00:00
Jürgen Spitzmüller
bdd586cb53 * uk.po: update from Yuri.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34185 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-17 11:48:44 +00:00
Uwe Stöhr
8abe3b3309 - Spanish UserGuide.lyx: remove unnecessary preamble code
- Spanish Customization.lyx: fix a variable description and restore LyX 2.0 specific stuff

(both issues were introduced in r34158)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34182 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 23:53:18 +00:00
Pavel Sanda
e45427de38 Fix bug #6649 - fix texrow structure generated by InsetIndex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34181 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 23:47:39 +00:00
Enrico Forestieri
cfffdd92aa Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34179 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 23:41:37 +00:00
Uwe Stöhr
668d3df71a es_beamer-conference-ornate-20min.lyx: new Spanish translation by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34176 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 23:24:38 +00:00
Pavel Sanda
39fe4f46f9 Hint from synctex man pages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34175 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 22:57:37 +00:00
Pavel Sanda
5e9c66c5bd Add basic docs for forward search.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34174 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 21:48:55 +00:00
Pavel Sanda
00f6d69aac Change signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34173 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 21:27:37 +00:00
Pavel Sanda
70d9833e39 Attempt on #6655.
getRowFromIdPos returns row shifted by 1 (we count internally from 0).

The function still doesn't work properly looking at the
the comments of the original writer (last *nonempty* row),
but its hopefully better now.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34172 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 18:52:40 +00:00
Pavel Sanda
b6846bdace Better debug ouput
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34171 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 18:30:52 +00:00
Pavel Sanda
f47878c5c1 Narrower Pref dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34170 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 18:30:50 +00:00
Pavel Sanda
2b7c121614 Simplify texrow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34169 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 17:22:25 +00:00
Pavel Sanda
878aa10ba6 Move old file into attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34168 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 17:06:16 +00:00
Pavel Sanda
ef0c8796a3 xpdf support for forward view via synctex. This is quite powerful tool.
To sum it up forward search support:
Okular and Skim can be supported directly if somebody comes with correct syntax.
Evince can be solved in the same way as xpdf, again syntax has to be reported.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34167 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 16:36:41 +00:00