Vincent van Ravesteijn
5a77a063c1
Remove the unclear FuncStatus::operator|=. Without knowing the internals of FuncStatus it is unsafe to use this operator, so let's not use it.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34161 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 12:15:27 +00:00
Vincent van Ravesteijn
3417702346
* FuncStatus: unify naming of functions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34160 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 10:51:20 +00:00
Pavel Sanda
499908ebab
Add status message.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34150 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 08:18:28 +00:00
Pavel Sanda
98f106f2ca
Guify forward search.
...
No viewer set by default, which keeps context menu clean for uninterested users.
Settings are hinted at combobox.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34149 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 08:09:07 +00:00
Enrico Forestieri
ba57ee8a24
Modify the forward-search lfun such that no argument is needed.
...
If a dvi file exists in the temp dir, the command specified by the
\forward_search_dvi rc setting is used to initiate the search.
Otherwise, if a pdf file exists, the forward search is performed by
using the command specified by the \forward_search_pdf rc setting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34148 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 23:32:52 +00:00
Vincent van Ravesteijn
84689d1cda
Cursor::bv_ can be private too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34147 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 18:30:15 +00:00
Vincent van Ravesteijn
108a67ed43
Make Cursor::anchor_ private and make an access function Cursor::realAnchor() to stress the fact that this is thus not the normalAnchor().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34146 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 18:16:07 +00:00
Vincent van Ravesteijn
d8db0e8515
Rename anchor() to normalAnchor() as the anchor() function was already returning a normalized anchor in stead of the real one.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34145 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 17:49:15 +00:00
Vincent van Ravesteijn
8156884090
Make Cursor::disp_ private as it should be.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34144 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 17:34:34 +00:00
Vincent van Ravesteijn
ebb830ba9b
Do not change the object that is returned by result(), this will have no effect because result() returned a copy. From now, it just returns a const & to prevent this from happening again.
...
see r31969.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34143 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 17:14:59 +00:00
Jean-Marc Lasgouttes
fe0a508b83
correctly escape the forward search command
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34142 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 14:45:09 +00:00
Pavel Sanda
837ef10312
We need the whole line in settings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34141 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 14:35:02 +00:00
Pavel Sanda
52756f5dc7
Join PrefDateUi and PrefPlaintextUi into PrefOutputUi
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34140 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 14:25:25 +00:00
Pavel Sanda
5862c1e414
Fix #94 - LYX forward DVI search
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 13:19:48 +00:00
Jean-Marc Lasgouttes
14a96ce182
revert r34090 for now; I will come back later to this
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34133 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 14:25:11 +00:00
Stephan Witt
fb43bbbf6c
tiger support on mac snow leopard, include Qt4 frameworks, smart build script with parameters
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34132 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 13:22:00 +00:00
Vincent van Ravesteijn
f4467be057
Fix bug #6651 : No error messages when module dependencies are not fulfilled.
...
We need to throw the ExceptionMessage's.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34130 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 11:54:12 +00:00
Edwin Leuven
99366a9a44
correctly valign content of multirow cells
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34129 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-13 18:56:28 +00:00
Jean-Marc Lasgouttes
f4f4f9c19a
remove cruft
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34127 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-13 12:33:57 +00:00
Richard Heck
bce28182d5
Revert r34122, which doesn't help.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34124 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 16:00:10 +00:00
Richard Heck
a37feaf896
Swap the argument_ and action_ variables, so that r34105 really does do
...
nothing but rename things. This is an attempt at #6646 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34123 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 15:40:51 +00:00
Pavel Sanda
c1221f9890
This was buggy for sure, who knows about this one ;)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34122 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 15:32:04 +00:00
Richard Heck
fbad45864c
Add a comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34121 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 15:16:43 +00:00
Pavel Sanda
0ff254954a
Shot in the dark for #6646 crash.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34120 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 15:16:03 +00:00
Richard Heck
51fce57c78
A compromise suggested by JMarc: We mark the buffer dirty if, but only
...
if, the filename was not automatically generated. So, if the user chose
the filename, we assume she wants to keep the file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34119 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 15:15:35 +00:00
Vincent van Ravesteijn
8c5ad7af21
Revert part of r33908.
...
We need a way to test for the pointer to be valid before using it in updateHoveredInset(). For now, just set it to zero, so that this critical won't find its way into alpha-2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34117 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 08:10:54 +00:00
Enrico Forestieri
e4350fc206
Don't overwrite identical files on export even when FORCE is in effect.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34116 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-10 16:52:31 +00:00
Enrico Forestieri
8de36d389b
Fix bug #2762 : LyX -> LaTeX export autonomously overwrites existing EPS files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34115 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-10 16:18:54 +00:00
Enrico Forestieri
5aa69caae5
Accept dirty buffer if the document has not been saved to disk (part of bug 6645).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34114 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-10 14:30:59 +00:00
Richard Heck
19947bfc83
Revert what no one likes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34113 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-10 12:11:45 +00:00
Enrico Forestieri
833e358ffa
Fix bug #2434 : Child .tex document overwritten on latex export
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34109 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-10 01:24:37 +00:00
Richard Heck
b81526bd8d
Fix bug #6645 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34108 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-09 19:38:28 +00:00
Richard Heck
84be7c89b3
Mark new files dirty. Otherwise, you can't save them, and maybe you want
...
to do that right away.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34107 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-09 19:03:46 +00:00
Richard Heck
b79d8e5e2d
Make members of FuncRequest private, per the FIXME there. Again, this is
...
basically a massive renaming, with no real changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34106 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-09 19:00:42 +00:00
Richard Heck
4c7a5d0024
This is just a giant renaming of member variables in FuncRequest,
...
preparatory to making them private.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34105 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-09 18:15:17 +00:00
Richard Heck
f187093d1e
Do not try to set LyX-side display colors from within the Buffer reading
...
routines.
See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159389.html .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34103 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-09 12:35:37 +00:00
Jürgen Spitzmüller
ff63d50ca8
* src/LaTeXFeatures.cpp: simplify greektext definition. Patch by G. Milde (bug #6458 )
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34100 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-09 09:27:54 +00:00
Stephan Witt
4c859c9835
add support for private aspell framework for mac os
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34098 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 22:56:12 +00:00
Stephan Witt
4b0a8f2dfb
reduce compiler warnings (deprecated method, uninitialized vars)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34097 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 22:41:49 +00:00
Enrico Forestieri
c0e12a0b8f
Use cheaper conversion method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34095 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 20:22:20 +00:00
Jean-Marc Lasgouttes
e8529a2ecf
Get rid of all-insets-toggle and explain how to replace it with inset-forall.
...
Change inset-forall so that screen is not repainted at each iteration, since this lead to very slow opeartion on large files. This is not a problem for current uses, but can potentially lead to crashes.
See ticket #6641 for more thoughts and possible solutions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34092 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 12:39:41 +00:00
Jean-Marc Lasgouttes
5edd353600
show the display name for emergency file too
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34091 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 10:26:35 +00:00
Jean-Marc Lasgouttes
9b4576b50b
Use the subdir-object option of automake so that the .o files are put in the
...
same directory as their source. The other visible gain is that the size of
src/Makefile is divided by 3 with automake >= 1.9.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34090 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 10:25:50 +00:00
Jean-Marc Lasgouttes
a51d67dedd
fix (again) monolithic build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34089 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 10:23:54 +00:00
Vincent van Ravesteijn
33f28623e5
* BufferView.cpp: typo again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34087 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 09:17:00 +00:00
Uwe Stöhr
c553682702
Buffer.cpp: show the correct color that is set for the document
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34086 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 02:13:05 +00:00
Uwe Stöhr
45bffba885
BufferView.cpp: typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34085 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 01:23:04 +00:00
Uwe Stöhr
bf83cc6359
ColorUi.ui: squash compiler warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34084 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 01:09:30 +00:00
Uwe Stöhr
84a2af2edb
fileformat change: support to specify the background color of shaded boxes
...
- new buffer parameter \boxbgcolor
(I'm still working on the remaining issue #6626 as this affect not only this feature.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34083 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 00:14:08 +00:00
Richard Heck
f9fa189e02
Grant a long-standing wish of Lars's: LyX now functions even if we have
...
no text classes for some reason (e.g., a corrupt textclass.lst). We
still give the user a chance to reconfigure (Bo's idea).
I wonder if we still really need to "restart LyX to make use of any
updated document class specifications". What would happen if we just
reloaded?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34081 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 17:02:44 +00:00
Richard Heck
907df4570d
Fix bug #6611 . This also gives us a more robust fall-back in case we are
...
completely unable to load a text class. At least not very long ago, if
we were unable even to load article, we would crash. Not now. We will
ALWAYS have at least a really basic class (nothing but Standard!)
available.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34080 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 16:15:26 +00:00
Richard Heck
3504b0a807
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34077 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 13:25:44 +00:00
Richard Heck
dfe751c701
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34076 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 13:21:10 +00:00
Richard Heck
b3ae6c671f
One final bit of cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34075 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 12:50:47 +00:00
Richard Heck
37889247df
A little more lv cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34074 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 12:47:19 +00:00
Richard Heck
6031b5cb31
A bit more cleanup: Again, we do not need lv, and the last check is
...
useless.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34073 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 12:43:41 +00:00
Richard Heck
23eade51a8
The lv variable was used back in LyXView.cpp, where we didn't have such
...
easy access to the current view. So we don't need it. Moreover, it seems
to me that using lv in some of these places could cause bugs. What if
the current_view_ has changed? Then we could be updating completion on
the wrong thing?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34072 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 12:41:19 +00:00
Richard Heck
1d1b204eb2
Fix bug #6519 . This is some of the "instability" that resulted from
...
Abdel's moving the LyXFunc code to GuiApplication. This restores some of
the structure of that code: The early returns bypassed the code that
marked the buffer dirty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34071 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 12:35:32 +00:00
Enrico Forestieri
8043c693e2
Make better use of the available space.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34066 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-06 11:58:14 +00:00
Richard Heck
c282d14f66
Update comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34064 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-06 00:48:58 +00:00
Richard Heck
b490ed29b9
Fix output of title and clean up a bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34061 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-05 22:02:43 +00:00
Uwe Stöhr
9b26c150ee
ColorUi.ui: forgot to update button label in last commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34060 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-05 21:51:02 +00:00
Richard Heck
6766386f47
Output generator meta-tag for XHTML, per Jack Desert's suggestion.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34059 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-05 21:48:27 +00:00
Uwe Stöhr
9b072f6e64
don't use any longer the page background color white as being the default (equal no color) because document classes might have other colors as default
...
(The default color is still internally white because we have to set a color but the color is only used when the user explicitly specified it.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34058 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-05 20:31:10 +00:00
Peter Kümmel
4b99d089cb
fix typo, tabs for indentation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34057 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-05 14:51:41 +00:00
Peter Kümmel
c98745c081
try to make a gui message when lyx crashes, don't crash again on windows (use exit()).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34056 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-05 14:44:41 +00:00
Abdelrazak Younes
a7734edf8e
TabWorkArea::workArea(): add a FIXME
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-05 14:24:56 +00:00
Abdelrazak Younes
05ca681dcf
Fix instant preview for split views showing the same document.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34054 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-05 14:24:27 +00:00
Peter Kümmel
318774fe1a
don't allow closing a buffer when it is used by a thread
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34053 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-05 13:04:52 +00:00
Abdelrazak Younes
002c33387a
Remove GuiView parent from DialogView based dialogs. This is because these dialogs always use the currently focused GuiView, not the one passed at construction.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34051 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-05 09:26:14 +00:00
Jürgen Spitzmüller
adc4dc2a84
* ColorUi.ui: more compact labels.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34049 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-03 15:13:10 +00:00
Uwe Stöhr
ed3a831261
ColorUi.ui: some tweaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34048 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-03 00:29:45 +00:00
Uwe Stöhr
2001b6548c
BufferParams.cpp: whitespace and comment fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34047 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 23:59:42 +00:00
Enrico Forestieri
b7545bb87a
Clean up left over
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34046 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 23:52:31 +00:00
Uwe Stöhr
5ed3236425
GuiDocument.cpp: follow Qt's StyleSheet guideline and use the the explicit "background-color" string
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34045 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 23:50:39 +00:00
Uwe Stöhr
f8735c3678
Bufferparams.cpp: add a fixme as reminder
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34044 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 23:49:22 +00:00
Uwe Stöhr
4e2cd30657
fileformat change: support to specify a document-wide font color
...
- new buffer parameter \fontcolor
- the default color is internally black because we have to set a color
- the font color is only used when the user explicitly specified a color
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34042 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 23:39:36 +00:00
Uwe Stöhr
729c0655aa
introduce a new color module to GuiDocument as suggested:
...
- move the background color settings from PageLayoutUi.ui to ColorUi.ui
- move the greyed-out font color from FontUi.ui to ColorUi.ui
- some sorting and whitespace unification
- the group boxes will get the next days each a further entry
(one for the document-wide text color and one for the shaded box background)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34040 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 22:11:50 +00:00
Uwe Stöhr
a6ce03f20a
FontUi.ui: remove senseless tooltip I accidentally introduced in r34015
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34039 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 21:06:21 +00:00
Vincent van Ravesteijn
333c17f879
Fix bug #6633 : Equations that end in \limits or \nolimits are corrupted on load.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34025 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 15:22:50 +00:00
Uwe Stöhr
a8825b88c2
FontUi.ui: remove HTML and use plain text
...
(it turned out that Qt's designer uses by default HTML when there are linebreaks)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34015 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-02 13:04:40 +00:00
Vincent van Ravesteijn
69fd1193e5
Fix bug #6219 : Latex problem with multi-line citep arguments
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34011 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 23:31:05 +00:00
Vincent van Ravesteijn
ba97587b16
Fix bug #6631 : tex2lyx doesn't handle \textquotedbl{} nicely.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34010 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 22:49:52 +00:00
Jean-Marc Lasgouttes
b8fb599130
Fix ticket #6634 : LyX should pass the "noae" option to Sweave.sty
...
We pass it as a global document option.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34009 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 21:34:22 +00:00
Pavel Sanda
543571fd03
Move command line arg --batch to -batch.
...
Things are still bit inconsistent due to the existence of
additional -- switches, but the correct fix is not so easy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34005 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 15:18:38 +00:00
Uwe Stöhr
879ed8e2ed
fileformat change:
...
- support for Turkmen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34000 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 00:40:19 +00:00
Richard Heck
1eb8311aff
HTML for binomials.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33995 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 21:33:33 +00:00
Pavel Sanda
348991cd71
We need remove autosave on reload now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33994 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 21:29:32 +00:00
Richard Heck
c7cfcf9e2f
Make sure to call the parent's validate method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33992 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 21:24:16 +00:00
Richard Heck
6a702a2f99
HTML for substack. Sort of. There's an odd problem here, that is
...
actually a general LyX bug, but I'll report that to the list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33991 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 21:17:30 +00:00
Richard Heck
bf76659e67
Revert r33989. We do need this.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33990 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 21:02:10 +00:00
Richard Heck
bab268352b
HTML for stackrel.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33989 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 20:54:27 +00:00
Richard Heck
85425d8e6c
HTML for InsetMathSplit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33988 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 20:50:29 +00:00
Richard Heck
ae69c7c63c
HTML for special characters.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33987 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 20:49:21 +00:00
Richard Heck
da26079578
HTML for math spaces.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33986 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 20:47:55 +00:00
Richard Heck
f3711d8a65
HTML for math sizes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33985 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 20:37:23 +00:00
Richard Heck
ea44f30077
Ignore phantoms for now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33984 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 20:31:15 +00:00
Richard Heck
32ee4c13cf
HTML for roots.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33983 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 20:31:04 +00:00
Richard Heck
36e2a2c95f
HTML for underset.
...
Neither underset nor overset will work reliably, I'm afraid, but such is
the price of using HTML rather than MathML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33982 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 20:12:52 +00:00
Pavel Sanda
594849bb4e
Next header
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33981 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 20:06:16 +00:00
Pavel Sanda
8fcccc7b6b
Next header
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33980 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 20:06:00 +00:00
Richard Heck
77bd365b39
HTML for overset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33979 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 20:04:39 +00:00
Richard Heck
edff97cb30
Matrix output via HTML. I have to say, this one took some work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33978 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 19:59:09 +00:00
Richard Heck
db1d81f03a
Forgot this piece before.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33977 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 19:58:49 +00:00
Pavel Sanda
a5cb2afc1b
Next headers
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33976 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 19:38:05 +00:00
Richard Heck
96390e0ff7
Change semantics of two-arg htmlize to make more consistent with other
...
functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33975 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 19:17:06 +00:00
Pavel Sanda
a1d72cffca
Next header
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33974 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 19:09:05 +00:00
Pavel Sanda
bcf9348eb1
Unneeded header
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33973 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 19:03:12 +00:00
Richard Heck
2f44dc2583
This doesn't seem to be compiled even, but oh well.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33972 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 19:01:15 +00:00
Richard Heck
ed8af8f7fd
Ignore kerning in HTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33971 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 18:59:04 +00:00
Richard Heck
2a1c6c3541
HTML for math fonts.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33970 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 18:57:47 +00:00
Richard Heck
9ee805185c
Fix up the math stream.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33969 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 18:57:37 +00:00
Richard Heck
b5d2302180
Initialize math_flavor, and introduce an isLaTeX() flavor check.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33968 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 18:57:20 +00:00
Richard Heck
a0043da05f
Introduce and use a "math_flavor" flag with OutputParams.
...
I'm not happy about having what is basically the same enum in
BufferParams.h and OutputParams.h, but I don't see how to unify them
without either (a) including BufferParams.h in OutputParams.h, which is
ugly or (b) creating some new file just containing this enum, which
seems like overkill. Any other ideas?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33967 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 18:24:52 +00:00
Richard Heck
26ce144604
Fix comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33966 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 16:29:59 +00:00
Enrico Forestieri
4fc5f86137
Fix bug #4565 : Using keyboard shortcuts to write Greek letters with an underbar produces LaTeX errors.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33963 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 01:09:38 +00:00
Uwe Stöhr
33978c0b1b
fileformat change:
...
- support to change the greyed-out note font color (fixes #3865 )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33962 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 00:46:50 +00:00
Richard Heck
8cf5ff6fbf
Simplify.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33961 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 22:51:11 +00:00
Richard Heck
36b1623c5b
Integrals via HTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33960 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 22:51:02 +00:00
Richard Heck
ab2a59b0a1
I don't think we need to do this for MathML or HTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33959 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 22:17:06 +00:00
Richard Heck
caf170d612
HTML for dots.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33958 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 22:14:00 +00:00
Richard Heck
8d51923b8b
Do the obvious thing with delimiters.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33957 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 22:07:05 +00:00
Richard Heck
ed71c32fcd
Treat certain decoration cases differently.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33956 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 22:05:28 +00:00
Richard Heck
69fc590ee3
Decorations via HTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33955 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 21:56:52 +00:00
Richard Heck
5aff128354
HTML for comments and colors.
...
Color doesn't do anything at this point. The colors are given in LaTeX
format. Do we know how to convert these to HTML format?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33954 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 17:24:22 +00:00
Richard Heck
f835e2a6f9
Cases for HTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33950 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 02:57:05 +00:00
Richard Heck
3e31491871
HTML for InsetMathBrace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33949 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 02:40:32 +00:00
Richard Heck
27add8d945
HTML for math boxes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33948 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 02:37:05 +00:00
Richard Heck
7be729f028
Bold symbols via HTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33947 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 02:05:49 +00:00
Richard Heck
e64be58736
InsetMathBig via HTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33946 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 02:04:07 +00:00
Richard Heck
0190b003b0
Fractions via HTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33945 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 02:03:45 +00:00
Richard Heck
f5bcb24da2
HTML for scripts.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33944 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 01:31:25 +00:00
Richard Heck
f60dad8aaf
HTML for numbers.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33943 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 01:23:10 +00:00
Richard Heck
ad49c45475
Pure HTML for math symbols.
...
I may have to re-do some of the symbols file to make this work properly.
Some of the entities used may have been MathML only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33942 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 00:24:54 +00:00
Richard Heck
b8550d11e8
Pure HTML output for math macros.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33941 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 00:18:24 +00:00
Richard Heck
9e34cf8186
Fix math char stuff.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33940 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 00:18:08 +00:00
Uwe Stöhr
2a39fcd60b
PageLayoutUi.ui: add tooltip
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33938 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 23:40:42 +00:00
Richard Heck
5ef3c828b2
Simple characters.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33937 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 23:03:37 +00:00
Richard Heck
30b18aec37
The beginnings of pure HTML output of math, for our internal XHTML
...
output routines. The idea is that in some cases people may not want to
use MathML, so we are going to try to give options.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33936 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 22:52:13 +00:00
Richard Heck
c6721161b0
If the translation fails for some reason, just return what we were
...
given. This is already how it is done in client/.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33935 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 21:33:26 +00:00
Richard Heck
29c93f87e6
Make these const, too. I mean, why not?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33934 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 21:31:17 +00:00
Richard Heck
4991fc3996
This hasn't much effect but seems wise.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 21:17:44 +00:00
Richard Heck
2a21c12eab
There are other ways we can get in trouble, so let's impose the limit
...
slightly differently.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33927 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:52:07 +00:00
Richard Heck
bc6ee8d251
Do the translation the right way.
...
By the way, has anyone noticed that _() returns empty if you call it
on a string we don't know how to translate? Might it be better if it
returned the original string?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33925 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:21:30 +00:00
Richard Heck
808ff6650c
Introduce a simple macro facility for citation formats. Also introduce
...
simple, translatable units for use in such formats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33924 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:01:28 +00:00
Richard Heck
0c135d1c4e
Make the default format translatable, and load the cite formats in
...
paper.layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33921 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:50:31 +00:00
Richard Heck
f1912e1c33
Read the citation formats from a file, rather than hardcoding them. This
...
allows for layout- or module-level customization of the display in the
citation dialog and of the XHTML bibliography output.
There is more of this to come, by the way. The next step is to allow
macros. That will make it easier to deal with translation issues, which
ought to be the final step.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33920 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:37:25 +00:00
Richard Heck
63844ddbf9
Clarify and add some comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33919 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:00:26 +00:00
Vincent van Ravesteijn
111bb60932
Fix bug #2009:'|'-character in headings confuses TOC list in navigate menu.
...
Solution is to search backwards for the last '|' in the string, and to add a '|' to the ones without a shortcut.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33918 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:58:00 +00:00
Vincent van Ravesteijn
e4b3e9b7bc
Fix the painting I broke in r33909.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33912 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 16:00:49 +00:00