Commit Graph

25246 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
e1fa4c9eb3 Initialize some LyX colors from Qt. Currently what is done is plain text and selection (both font and background).
I am not sure that there is something else that we can get from QPalette. Maybe
cursor color, if someone tells me how to get it.

Only tested on mac. I can revert if this causes problems on linux or windows.

I have to check too that it still works in non-gui mode.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35060 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 22:41:34 +00:00
Richard Heck
63e26fa778 Make sure the layout has actually been closed. Otherwise, you can have:
Style NewStyle
all by itself at the end of a file, and LyX is perfectly happy.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35059 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 21:32:19 +00:00
Richard Heck
87600d4d84 Remove unused variables, add questions. Anyone know?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35058 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:25:29 +00:00
Richard Heck
5ee70976de Renaming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35057 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:25:04 +00:00
Richard Heck
fc6492a20f Improve the error message a bit. LyX CAN produce output in such cases,
just not PDF, etc.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35056 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:15:29 +00:00
Jean-Marc Lasgouttes
e4f2484cb5 Implement LFUN_SPELLING_REMOVE (patch from switt)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:10:40 +00:00
Richard Heck
f5e2d78792 Layout dependencies patch from Julien Rioux.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35054 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:07:56 +00:00
Jean-Marc Lasgouttes
79346452c7 silence some warnings by removing unused parameters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35053 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 19:00:57 +00:00
Richard Heck
2361cefca1 Remove some obsolete "if you're using Qt" language.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35052 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 15:18:18 +00:00
Richard Heck
b2b811fcd7 Remove \Nameref entry. Forgotten before....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35050 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 02:17:07 +00:00
Jürgen Spitzmüller
006d1488ea * linguistics.lyx:
* de/linguistics.lyx:
	- indicate if required packages are installed (via info inset)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35048 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-04 12:08:19 +00:00
Jürgen Spitzmüller
20238b240c * Check for float.sty, which is a required package.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35046 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-04 11:53:23 +00:00
Jean-Marc Lasgouttes
4c3333d1df tiny simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35045 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-03 22:31:16 +00:00
Jürgen Spitzmüller
a4d6548146 * fr-po: update from Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35043 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-03 15:29:40 +00:00
Jean-Marc Lasgouttes
b221b0e1fd Fix bug #6736: 2.0.0 alpha 3, spell check on the fly bug
This bug is related to the fact that the cusor remember the current font.

The on-the-fly spell status should really not be kept in the Font object, but
rather in metrics, IMO.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35041 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-02 21:20:59 +00:00
Jürgen Spitzmüller
15f9312d80 * GuiLog.cpp: refine warning detection:
- detect "LaTeX Font Warning"
	- detect "Class X Warning"
	- package warnings can contain dots ("Package pdftex.def Warning")

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35040 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-02 16:38:41 +00:00
Richard Heck
23a984b258 Style and a sanity check.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35039 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-02 15:40:33 +00:00
Jürgen Spitzmüller
6b76f06094 * es.po: update from Ignacio.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35037 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-02 08:02:17 +00:00
Richard Heck
1c0514b07c Add a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35036 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-30 15:50:42 +00:00
Richard Heck
56c500bae5 Update comments a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35035 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 16:55:02 +00:00
Richard Heck
fab260b2e6 Info on image scaling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35034 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 16:44:53 +00:00
Richard Heck
4171856dc6 New section for math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35033 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 16:40:48 +00:00
Richard Heck
89a9fc4c5e Implement independent output scaling for math images (and, I suppose,
for any other sort of image for which we produce a preview on export,
e.g., eventually, for InsetExternal).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35032 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 16:38:58 +00:00
Richard Heck
6d630bef7a Minor updates to XHTML info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35031 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 16:22:25 +00:00
Richard Heck
329def52d9 Update to math info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35030 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 16:19:16 +00:00
Richard Heck
3002574922 Minor style stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35029 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 15:57:08 +00:00
Richard Heck
a7f7530bd2 MathML and HTML definitely can't handle MathUnknown!!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35028 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 15:48:01 +00:00
Richard Heck
f1d941098c MathML and HTML can't handle XYArrow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35027 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 15:46:26 +00:00
Richard Heck
b520657039 HTML for xarrows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35026 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 15:44:17 +00:00
Richard Heck
c8bc76b333 MathML and HTML definitely can't handle XYMatrix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35025 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 15:38:01 +00:00
Richard Heck
7a8a1eca21 Framework for math export exceptions. We can throw these if we find
something we don't know how to handle and fall back to images.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35024 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 15:37:42 +00:00
Richard Heck
1c0d73425e Update notes a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35023 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 15:34:32 +00:00
Richard Heck
e48fb0b661 Allow images to be export even when LyXRC says no previews.
I'll try to figure out how to get rid of the magic booleans.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35022 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 15:17:58 +00:00
Richard Heck
833ef6352f Comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35021 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 14:29:54 +00:00
Richard Heck
35327c0b5b I guess I like this better.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35020 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 00:00:37 +00:00
Richard Heck
523056c092 Move the error message out of LayoutFileList::load() and have it be
reported by the caller. Otherwise, you could get the error message the
first time, and then it would succeed the second!!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35019 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-28 21:03:27 +00:00
Stephan Witt
2d776b0de1 check for presence of pipe, care for LyX-2.0 user dir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35018 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-27 19:37:35 +00:00
Uwe Stöhr
6d474927ae port from branch:
EmbeddedObjects.lyx: Typos and grammar fixes by John Hudson, part 2/2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35017 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-26 01:40:09 +00:00
Enrico Forestieri
737bec1805 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35015 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-26 00:37:17 +00:00
Uwe Stöhr
683e4919eb port from branch:
- EmbeddedObjects.lyx: revision of the footnote section
- English EmbeddedObjects.lyx: Typos and grammar fixes by John Hudson, part 1

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35014 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-25 19:14:38 +00:00
Uwe Stöhr
306ebdf80b Length.cpp: fix sort order - in all other files we have PTH before PPH
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35012 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-25 00:17:48 +00:00
Stephan Witt
3dabf9d871 add a note about the change of key-bindings for math-macro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35011 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-23 21:49:33 +00:00
Kornel Benko
1ba7f38fc4 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35010 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-23 10:31:27 +00:00
Enrico Forestieri
0d78b79311 Refine fix for bug #1337.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35009 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-23 07:34:26 +00:00
Enrico Forestieri
976307231d Fix bug #1337: LyX confused on $ symbol in math equations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35008 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-22 23:19:52 +00:00
Uwe Stöhr
69496fb214 de.po: some translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35007 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-22 22:11:04 +00:00
Stephan Witt
4f4d32da4b change key-bindings to support cmd-plus/minus text size adjust on mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35006 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-22 16:38:26 +00:00
Stephan Witt
1d7564561a add LyX-2.0 to the list of potential ABS_USER_LYXDIR values
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35005 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-22 16:35:25 +00:00
Stephan Witt
710bb42049 correct typo in RC_SCROLL_WHEEL_ZOOM text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35004 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-22 14:51:35 +00:00
Stephan Witt
e2085186c2 german translation for RC_SCROLL_WHEEL_ZOOM labels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35003 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-22 12:47:14 +00:00