]>
git.lyx.org Git - lyx.git/log
Uwe Stöhr [Tue, 18 May 2010 02:59:48 +0000 (02:59 +0000)]
GuiDocument.cpp: remove superfluous comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34430
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 18 May 2010 02:56:36 +0000 (02:56 +0000)]
* GuiDocument:
- fix #6699; use_geometry now only means that the user don't want to have custom margins; that geometry also needs to be loaded for some paper formats is already done in BufferParams.cpp
- remove portraitChanged() because this was useless - A4 landscape is still A4 and still uses the default margins
* BufferParams.cpp: only output the margins if the option "Default margins" is not checked - this was a bug in the margins UI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34429
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 18 May 2010 01:34:07 +0000 (01:34 +0000)]
- paper.h: fix comment
- BufferParams.cpp: fix the default case
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34428
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 18 May 2010 01:22:08 +0000 (01:22 +0000)]
support for all page sizes that are supported by the geometry package; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34427
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 17 May 2010 23:05:03 +0000 (23:05 +0000)]
fr.po: updates by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34426
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 17 May 2010 20:56:12 +0000 (20:56 +0000)]
Typo from Sven
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34425
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 17 May 2010 08:15:04 +0000 (08:15 +0000)]
Coding style, thanks Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34417
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 16 May 2010 22:02:15 +0000 (22:02 +0000)]
Next attempt on correct newlines in Message pane
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34416
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 16 May 2010 22:02:13 +0000 (22:02 +0000)]
Keep the string in synchro with the code around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34415
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 16 May 2010 22:02:10 +0000 (22:02 +0000)]
* RELASE-NOTES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34414
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 16 May 2010 03:21:53 +0000 (03:21 +0000)]
de.po: resolve a shortcut conflict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34413
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 15 May 2010 19:21:58 +0000 (19:21 +0000)]
Tweak it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34411
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 15 May 2010 16:25:42 +0000 (16:25 +0000)]
Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34410
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Sat, 15 May 2010 07:39:10 +0000 (07:39 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34409
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 15 May 2010 03:14:13 +0000 (03:14 +0000)]
- remerge po-files
- de.po: some translations by me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34408
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 15 May 2010 03:01:30 +0000 (03:01 +0000)]
fr.po: translations by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34407
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 15 May 2010 02:58:23 +0000 (02:58 +0000)]
- BufferParams.cpp: change string to make it more clear (requested by Jean-Pierre)
- GuiView.cpp: fix grammar/logic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34406
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 14 May 2010 19:12:59 +0000 (19:12 +0000)]
#6694 - reset line spacing to single if no custom size is defined
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34405
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 13 May 2010 21:13:40 +0000 (21:13 +0000)]
Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34404
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 13 May 2010 19:23:50 +0000 (19:23 +0000)]
es.po: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34403
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 11 May 2010 12:01:04 +0000 (12:01 +0000)]
Update LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34402
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 11 May 2010 12:00:59 +0000 (12:00 +0000)]
* doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34401
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Tue, 11 May 2010 10:44:06 +0000 (10:44 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34400
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 11 May 2010 10:02:48 +0000 (10:02 +0000)]
back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34398
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 11 May 2010 10:02:44 +0000 (10:02 +0000)]
typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34397
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 11 May 2010 10:02:41 +0000 (10:02 +0000)]
alpha 3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34396
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 11 May 2010 00:34:40 +0000 (00:34 +0000)]
Remerge strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34395
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 11 May 2010 00:27:48 +0000 (00:27 +0000)]
This file is no more in the tree
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34394
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 10 May 2010 21:30:57 +0000 (21:30 +0000)]
Fix crashes when the list of formts is empty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34393
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 10 May 2010 12:34:34 +0000 (12:34 +0000)]
fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34392
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 10 May 2010 11:02:45 +0000 (11:02 +0000)]
Fix bug #6686: Navigate back does not trigger a repaint
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34391
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 8 May 2010 23:53:35 +0000 (23:53 +0000)]
Fix reverse search when the filename contains a forbidden character
(including, but not only, spaces).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34390
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 8 May 2010 19:09:45 +0000 (19:09 +0000)]
doc - reverse search will have problems with spaces in filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34389
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 8 May 2010 18:09:29 +0000 (18:09 +0000)]
Correct the font shape for IEEEaftertitletext and IEEEpubid after r34387.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34388
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 8 May 2010 16:11:35 +0000 (16:11 +0000)]
In the IEEEtran class, the argument of \IEEEspecialpapernotice is
typeset in italic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34387
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 8 May 2010 15:55:48 +0000 (15:55 +0000)]
Fix (again) IEEEtran.layout.
- Restored broken compatibility with old documents due to the renaming
of MarkBoth.
- Restored ordering such that to follow the same order obtained in the
typeset result.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34386
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 8 May 2010 14:42:48 +0000 (14:42 +0000)]
IEEEtran.lyx: change file according to previous commit:
- correct position of the page headings
- add author ID
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34385
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 8 May 2010 14:38:09 +0000 (14:38 +0000)]
IEEEtran.layout:
- renamed markboth to page headins
- correct position of markboth (according to the IEEEtran example files, this has to be declared before the special paper notice)
- add style for IEEEpubid
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34384
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 8 May 2010 14:05:13 +0000 (14:05 +0000)]
Rename IEEE_special_paper_notice as Special_Paper_Notice and
IEEE_after_title_text as After_Title_Text, and move them such
that they appear in the correct order in the layout combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34383
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 8 May 2010 00:49:42 +0000 (00:49 +0000)]
Fix IEEEtran.layout.
- The default is 2 columns, so, specifying "Columns 2" suddenly changes
the output of old documents which are now printed in one column.
- The font shape for IEEEmembership is Italic.
- As regards abstract and keywords:
- The margin is First_Dynamic, not Dynamic.
- The labels are "Abstract---" and "Index Terms---" with no label separation.
- Alignment is not centered.
- Font is small and black
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34382
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 7 May 2010 03:23:00 +0000 (03:23 +0000)]
IEEEtran: update to fulfill the guidelines of IEEEtran version 1.7 (layout file is almost rewritten)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34374
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Wed, 5 May 2010 21:15:15 +0000 (21:15 +0000)]
Disallow InsetMarginals in InsetTabulars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34373
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Wed, 5 May 2010 16:23:11 +0000 (16:23 +0000)]
* TextMetrics.cpp: Line length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34372
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 5 May 2010 16:12:58 +0000 (16:12 +0000)]
Just a test whether lyx-cvs list works.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34371
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 4 May 2010 16:16:20 +0000 (16:16 +0000)]
Fix bug #6678: Crash when undoing backspace inside math-macro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34370
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 May 2010 23:04:51 +0000 (23:04 +0000)]
Fix a crash due to Inset**::mouse_hover_[] containing an invalid pointer to a BufferView.
Clear the mouse_hover state when closing the BufferView. Otherwise, there will be an invalid pointer stored in the Inset and crashing LyX when the Inset's destructor is called.
See also r33908, r34117, r34348, r34353, r34354, r34363 and bug #3900.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34365
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 May 2010 23:01:47 +0000 (23:01 +0000)]
Fix another crash due to BufferView::last_inset_ being an invalid pointer.
Do not clear the mouse_hover state from anywhere else then BufferView, such that the last_inset_ pointer gets nulled. Besides, there is no reason to clear the mouse_hover state on collapsing the Inset.
See also r33908, r34117, r34348, r34353, r34354 and bug #3900.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34364
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 May 2010 22:57:28 +0000 (22:57 +0000)]
Another non-base class with a virtual destructor. Sorry for the spam (trying to learn git, but I seem to forget files :).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34363
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 May 2010 22:55:40 +0000 (22:55 +0000)]
Another base class without a virtual destructor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34362
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 May 2010 22:18:00 +0000 (22:18 +0000)]
These should not raise the impression that children should reimplement these functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34361
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 May 2010 21:43:46 +0000 (21:43 +0000)]
Make destructors virtual in base classes and only there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34360
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 May 2010 20:08:31 +0000 (20:08 +0000)]
Add comment just as in GuiView.cpp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34359
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 May 2010 17:55:44 +0000 (17:55 +0000)]
We want to check for the new value name instead for the old value cmdName_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34358
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 3 May 2010 13:36:19 +0000 (13:36 +0000)]
*List.h: Move the class documentation into the lyx::namespace to be picked up correctly by doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34357
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 2 May 2010 22:33:36 +0000 (22:33 +0000)]
* lyxfind: Remove unnecessary non-const reference as parameter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34355
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 2 May 2010 19:12:25 +0000 (19:12 +0000)]
Fix another crash due to BufferView::last_inset_ being an invalid pointer.
Now, we only want to let the last_inset_ pointer point at insets that accept the mouse_hover setting. Otherwise, the pointer is not cleared on deletion of the inset.
See also r33908, r34117, r34348, r34353 and bug #3900.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34354
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 1 May 2010 23:04:08 +0000 (23:04 +0000)]
Fix the assertion assert introduced in r34348 which got fired when eg. deselecting an InsetCommand:
- we have to have a copy constructor in InsetCommand to clear the mouse_hover_ map and not to copy it,
- there is no need to have mouse_hover_() in the initialisation list,
- there is no need to copy the auto_open_ map.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34353
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 1 May 2010 11:38:05 +0000 (11:38 +0000)]
Avoid compiler warning about unused parameter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34352
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Fri, 30 Apr 2010 22:23:19 +0000 (22:23 +0000)]
Implement LFUN_UNICODE_INSERT in mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34351
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 30 Apr 2010 15:56:54 +0000 (15:56 +0000)]
Correctly enable/disable the filter label and textfield in the TocWidget. Also, shorten the code a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34350
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 30 Apr 2010 15:37:19 +0000 (15:37 +0000)]
Compile fix for r34348.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34349
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 30 Apr 2010 14:55:37 +0000 (14:55 +0000)]
Fix bug #3900: Mathed corners displayed without mouse hover.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34348
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 30 Apr 2010 14:47:46 +0000 (14:47 +0000)]
Mouse hover property should be dependent on the specific bufferview. If there are 2 views showing the same buffer, an Inset can be shown as hovered in only one view.
This is also in preparation of a decent fix for bug #3900.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34347
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 30 Apr 2010 14:11:46 +0000 (14:11 +0000)]
Fix bug #6677: GUI button disappears in external template inset.
Initialize the preview_mode variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34346
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 30 Apr 2010 09:52:00 +0000 (09:52 +0000)]
* GuiSpellchecker.cpp: fix bug 6676.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34345
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Fri, 30 Apr 2010 08:27:03 +0000 (08:27 +0000)]
There is no reason for inhibiting the symbols dialog in mathed.
The dialog only offers symbols defined in the unicodesymbols file
and they will be wrapped in \text{} when inserted in math mode,
so there is no risk that an untypesettable symbol gets inserted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34344
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 29 Apr 2010 22:01:50 +0000 (22:01 +0000)]
Spanish Math.lyx: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34342
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 28 Apr 2010 22:02:41 +0000 (22:02 +0000)]
French and Spanish Math.lyx: small but important typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34339
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 28 Apr 2010 21:50:06 +0000 (21:50 +0000)]
typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34338
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 28 Apr 2010 21:48:10 +0000 (21:48 +0000)]
Unify "* space" into "* Space", its just double work for translators.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34337
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 28 Apr 2010 21:48:08 +0000 (21:48 +0000)]
Unify QQaud strings.
Inside math toolbars we use "Quadratin". Dunno if this difference is intention.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34336
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 28 Apr 2010 21:48:03 +0000 (21:48 +0000)]
Unify Inter-word and Interword space strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34335
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 28 Apr 2010 21:42:11 +0000 (21:42 +0000)]
German UserGuide.lyx: harmonize it with the other language versions:
- update/cleanup of document preamble
- don't require the package wasysym to compile this file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34332
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 28 Apr 2010 21:39:23 +0000 (21:39 +0000)]
Math.lyx: the LaTeX-packages cancel and braket are no longer part of LaTeX standard installations (since this February)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34331
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 28 Apr 2010 19:39:15 +0000 (19:39 +0000)]
eu.po: translation updates for trunk by Iñaki Larrañaga Murgoitio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34329
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 28 Apr 2010 15:49:00 +0000 (15:49 +0000)]
The character dialog was disabled in r30810 for solving an assertion
due to a missing buffer and because the "dialog is only useful in texted".
The problem with the buffer member has been solved since then, and while
it is true that the character dialog is not much useful in mathed, it
is the only way for coloring only parts of equations. Given that this
would also be a regression with respect to 1.6, I am re-enabling it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34327
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 28 Apr 2010 13:19:09 +0000 (13:19 +0000)]
Don't hardcode Color_math, such that decorations and other math
elements can be drawn in the right color on screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34326
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 28 Apr 2010 11:38:01 +0000 (11:38 +0000)]
Also account for colors in math macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34325
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Wed, 28 Apr 2010 04:51:05 +0000 (04:51 +0000)]
Fix bug #6614: Preview Other Format Button Greys Out After Preview.
getStatus() returns false for LFUN_BUFFER_VIEW when a previewing process is running. So, if this process has finished we should free the menu item.
P.S. on windows, the item does not get disabled anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34324
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Wed, 28 Apr 2010 04:27:10 +0000 (04:27 +0000)]
Fix bug #6619 : Display (Version Control) in Window Title.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34323
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 28 Apr 2010 02:15:46 +0000 (02:15 +0000)]
This is a dummy commit for posting the real changelog for the the last
two commits. Sorry guys, I should have really gone to sleep...
r34320
In mathed, preserve the color in a proper way, such as to not interfere
with the colors normally used to represent math objects.
When changing the color of a chunk of text containing math formulas,
now the formulas are rendered on screen in the chosen color, too.
r34321
Assure that constructs such as \mathbf{a\ensuremath{b}} are correctly
rendered on screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34322
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 28 Apr 2010 01:58:11 +0000 (01:58 +0000)]
Index: src/mathed/InsetMathEnsureMath.cpp
===================================================================
--- src/mathed/InsetMathEnsureMath.cpp (revisione 34304)
+++ src/mathed/InsetMathEnsureMath.cpp (copia locale)
@@ -13,8 +13,9 @@
#include "InsetMathEnsureMath.h"
-#include "MathStream.h"
#include "MathData.h"
+#include "MathStream.h"
+#include "MathSupport.h"
#include <ostream>
@@ -34,7 +35,8 @@ Inset * InsetMathEnsureMath::clone() con
void InsetMathEnsureMath::metrics(MetricsInfo & mi, Dimension & dim) const
{
- FontSetChanger dummy(mi.base, "mathnormal");
+ bool really_change_font = isTextFont(from_ascii(mi.base.fontname));
+ FontSetChanger dummy(mi.base, "mathnormal", really_change_font);
cell(0).metrics(mi, dim);
metricsMarkers(dim);
}
@@ -42,7 +44,8 @@ void InsetMathEnsureMath::metrics(Metric
void InsetMathEnsureMath::draw(PainterInfo & pi, int x, int y) const
{
- FontSetChanger dummy(pi.base, "mathnormal");
+ bool really_change_font = isTextFont(from_ascii(pi.base.fontname));
+ FontSetChanger dummy(pi.base, "mathnormal", really_change_font);
cell(0).draw(pi, x, y);
drawMarkers(pi, x, y);
}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34321
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 28 Apr 2010 01:40:11 +0000 (01:40 +0000)]
Index: src/mathed/InsetMathHull.cpp
===================================================================
--- src/mathed/InsetMathHull.cpp (revisione 34304)
+++ src/mathed/InsetMathHull.cpp (copia locale)
@@ -328,6 +328,23 @@ docstring InsetMathHull::standardFont()
}
+docstring InsetMathHull::standardColor() const
+{
+ docstring color;
+ switch (type_) {
+ case hullRegexp:
+ color = from_ascii("foreground");
+ break;
+ case hullNone:
+ color = from_ascii("foreground");
+ break;
+ default:
+ color = from_ascii("math");
+ }
+ return color;
+}
+
+
bool InsetMathHull::previewState(BufferView * bv) const
{
if (!editing(bv) && RenderPreview::status() == LyXRC::PREVIEW_ON) {
@@ -417,8 +434,11 @@ void InsetMathHull::draw(PainterInfo & p
return;
}
+ bool const really_change_color = pi.base.font.color() == Color_none;
+ ColorChanger dummy0(pi.base.font, standardColor(), really_change_color);
FontSetChanger dummy1(pi.base, standardFont());
StyleChanger dummy2(pi.base, display() ? LM_ST_DISPLAY : LM_ST_TEXT);
+
InsetMathGrid::draw(pi, x + 1, y);
if (numberedType()) {
Index: src/mathed/MathSupport.cpp
===================================================================
--- src/mathed/MathSupport.cpp (revisione 34311)
+++ src/mathed/MathSupport.cpp (copia locale)
@@ -653,6 +653,13 @@ bool isMathFont(docstring const & name)
}
+bool isTextFont(docstring const & name)
+{
+ fontinfo * f = lookupFont(name);
+ return f && f->color_ == Color_foreground;
+}
+
+
FontInfo getFont(docstring const & name)
{
FontInfo font;
Index: src/mathed/MathSupport.h
===================================================================
--- src/mathed/MathSupport.h (revisione 34311)
+++ src/mathed/MathSupport.h (copia locale)
@@ -51,6 +51,8 @@ bool isFontName(docstring const & name);
bool isMathFont(docstring const & name);
+bool isTextFont(docstring const & name);
+
// converts single cell to string
docstring asString(MathData const & ar);
// converts single inset to string
Index: src/mathed/InsetMathHull.h
===================================================================
--- src/mathed/InsetMathHull.h (revisione 34304)
+++ src/mathed/InsetMathHull.h (copia locale)
@@ -197,6 +197,8 @@ private:
void changeCols(col_type);
///
docstring standardFont() const;
+ ///
+ docstring standardColor() const;
/// consistency check
void check() const;
/// can this change its number of rows?
Index: src/MetricsInfo.cpp
===================================================================
--- src/MetricsInfo.cpp (revisione 34312)
+++ src/MetricsInfo.cpp (copia locale)
@@ -235,11 +235,15 @@ FontSetChanger::FontSetChanger(MetricsBa
save_ = mb;
FontSize oldsize = save_.font.size();
ColorCode oldcolor = save_.font.color();
+ docstring const oldname = from_ascii(save_.fontname);
mb.fontname = name;
mb.font = sane_font;
augmentFont(mb.font, from_ascii(name));
mb.font.setSize(oldsize);
- mb.font.setColor(oldcolor);
+ if (string(name) != "lyxtex"
+ && ((isTextFont(oldname) && oldcolor != Color_foreground)
+ || (isMathFont(oldname) && oldcolor != Color_math)))
+ mb.font.setColor(oldcolor);
}
}
@@ -252,11 +256,15 @@ FontSetChanger::FontSetChanger(MetricsBa
save_ = mb;
FontSize oldsize = save_.font.size();
ColorCode oldcolor = save_.font.color();
+ docstring const oldname = from_ascii(save_.fontname);
mb.fontname = to_utf8(name);
mb.font = sane_font;
augmentFont(mb.font, name);
mb.font.setSize(oldsize);
- mb.font.setColor(oldcolor);
+ if (name != "lyxtex"
+ && ((isTextFont(oldname) && oldcolor != Color_foreground)
+ || (isMathFont(oldname) && oldcolor != Color_math)))
+ mb.font.setColor(oldcolor);
}
}
@@ -294,17 +302,21 @@ WidthChanger::~WidthChanger()
//
/////////////////////////////////////////////////////////////////////////
-ColorChanger::ColorChanger(FontInfo & font, string const & color)
- : Changer<FontInfo, string>(font)
+ColorChanger::ColorChanger(FontInfo & font, docstring const & color,
+ bool really_change_color)
+ : Changer<FontInfo, ColorCode>(font), change_(really_change_color)
{
- save_ = lcolor.getFromLyXName(color);
- font.setColor(lcolor.getFromLyXName(color));
+ if (change_) {
+ save_ = font.color();
+ font.setColor(lcolor.getFromLyXName(to_utf8(color)));
+ }
}
ColorChanger::~ColorChanger()
{
- orig_.setColor(lcolor.getFromLyXName(save_));
+ if (change_)
+ orig_.setColor(save_);
}
Index: src/MetricsInfo.h
===================================================================
--- src/MetricsInfo.h (revisione 34312)
+++ src/MetricsInfo.h (copia locale)
@@ -222,12 +222,16 @@ public:
// temporarily change the used color
-class ColorChanger : public Changer<FontInfo, std::string> {
+class ColorChanger : public Changer<FontInfo, ColorCode> {
public:
///
- ColorChanger(FontInfo & font, std::string const & color);
+ ColorChanger(FontInfo & font, docstring const & color,
+ bool really_change_color = true);
///
~ColorChanger();
+private:
+ ///
+ bool change_;
};
} // namespace lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34320
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 28 Apr 2010 00:55:58 +0000 (00:55 +0000)]
UserGuide.lyx: fix another typo (sorry for the commit spam)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34318
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 28 Apr 2010 00:44:16 +0000 (00:44 +0000)]
Customization.lyx: update fileformat because this manual already contains LyX 2.0-specific stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34316
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 28 Apr 2010 00:42:58 +0000 (00:42 +0000)]
- Additional.lyx, Math.lyx, UserGuide.lyx: fix typos
- EmbeddedObjects.lyx: fix typos and some English style fixes by J.R. Hudson
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34315
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 28 Apr 2010 00:15:05 +0000 (00:15 +0000)]
Spanish EmbeddedObjects.lyx, UserGuide.lyx: translation updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34314
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 27 Apr 2010 21:31:28 +0000 (21:31 +0000)]
Changing only the shape does not always work. For example,
\mathbb{\underbar{a}} is not correctly rendered on screen.
We really have to change the font set, but not always.
This cannot be done using an "if" statement, as when
the FontSetChanger scope ends, everything is restored,
defeating our change. Thus, this has to be done in the
FontSetChanger class itself. This is easily accomplished
by introducing a boolean with a default value of true
for really changing a font set.
This will also be useful in other cases that I am discovering.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34312
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 27 Apr 2010 19:23:31 +0000 (19:23 +0000)]
The check for Color_math would fail if the font color is changed
in mathed, so implement a strategy which is immune to color changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34311
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 27 Apr 2010 18:46:42 +0000 (18:46 +0000)]
In mathed, also preserve the color when changing a font set,
otherwise symbols and font changes such as \mathit{a} are not
drawn in the selected color on screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34310
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 27 Apr 2010 00:41:24 +0000 (00:41 +0000)]
- chkconfig.ltx:
- fix the check for arabi
- add lithuanian, mongolian and turkmen
- LaTeXConfig.lyx: introduce new section about language packages
(I purposely did not add vntex (Vietnamese) because this would be another 10 MB to download for every LyX on Windows user. The other language packages are not larger than 120 kB.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34300
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 26 Apr 2010 23:47:20 +0000 (23:47 +0000)]
installer: detect JabRef 2.6, drop support for JabRef 2.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34298
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Mon, 26 Apr 2010 20:20:49 +0000 (20:20 +0000)]
Change only the shape and not the whole font, otherwise constructs
such as \mathbf{\hat{a}} would not be correctly rendered on screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34297
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 26 Apr 2010 14:57:27 +0000 (14:57 +0000)]
Fix bug #6141: Scrolling error with insets at top of file.
Fix the regression introduced in r28397 while fixing bug #5573.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34296
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 26 Apr 2010 10:26:06 +0000 (10:26 +0000)]
Tweak for X11.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34294
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 26 Apr 2010 10:03:09 +0000 (10:03 +0000)]
Fix bug #3871: Shortcut to switch from TOC to text pane.
M-o now switches to the TOC pane, and Esc always returns from any DockView to the main window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34293
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 26 Apr 2010 02:12:10 +0000 (02:12 +0000)]
Fix bug #6451 (last part): Crash when interacting with buffer-dependent dialog with no buffer open.
- First, the comment for isBufferDependent is corrected. It seems that the actual use of this function differs from the comment. As the comment said, I decided to close all dialogs that were buffer dependent, but this didn't seem to be correct for the view source pan, the outliner, and find-and-replace.
- Second, the dialogs that are buffer dependent are now closed, but dockviews are not, except for the spellchecker pane, which really depends on an open buffer, but I can't test that.
So, please test whether the spellchecker dockviewed window behaves as one expects.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34291
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 26 Apr 2010 01:36:24 +0000 (01:36 +0000)]
Make sure the Table of Contents is always on top in the model combobox of the TocWidget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34290
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 26 Apr 2010 01:23:19 +0000 (01:23 +0000)]
- EmbeddedObjects.lyx, UserGuide.lyx: updates in the description of cross-references
- French EmbeddedObjects.lyx: translations by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34288
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 26 Apr 2010 00:43:08 +0000 (00:43 +0000)]
Fix bug #6672 (part 2): Add tooltips to the outliner.
At some point we should implement that the tooltips are only shown when they are not completely shown in the outliner. However, this requires extending the QTreeView class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34287
a592a061 -630c-0410-9148-
cb99ea01b6c8