10576 Commits

Author SHA1 Message Date
Uwe Stöhr
911105f298 - tex2lyx/text.cpp: correct font size handling also for branch, fixes bug 4807
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-29 22:39:55 +00:00
Uwe Stöhr
9f5ca02dc4 tex2lyx/text.cpp:
- fix an off by one error in the font size handling, fixes bug 4803
- support \lyxline, fixes bug 4795

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24519 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 11:03:26 +00:00
Jürgen Spitzmüller
25c1826386 * src/insets/InsetListingsParams.cpp:
- prevent invalid pointer (bug 4780).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24509 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-26 12:15:56 +00:00
Uwe Stöhr
b559a0c607 tex2lyx/preamble.cpp: remove the setspace handling.
I introduced this accidentally with the fix for bug 4773.
Not taking care of setspace doesn't harm. But at the moment setspace would be erased from the preamble and only readded by LyX when the user uses global line spacing settings. But when the user only uses paragraph spacing settings, it won't be readded and the document will become uncompilable. So this commit prevents a regression that can first be undone when bug 20 is fixed. (I have a fix for bug 20 in the pipe.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24508 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-26 11:01:36 +00:00
Abdelrazak Younes
3389804bf1 Fix bug 4791.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24503 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-25 12:54:25 +00:00
Uwe Stöhr
5fad0504fd Now also for branch:
- tex2lyx/preamble.cpp: fix the import of paragraph settings, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4773

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24426 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 22:26:29 +00:00
Uwe Stöhr
8d01107a96 Now also for branch:
- tex2lyx/preamble.cpp, text.cpp: add support for \textcolor fixes http://bugzilla.lyx.org/show_bug.cgi?id=2457

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24422 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 22:17:49 +00:00
Enrico Forestieri
aec651ca55 Allow using \binom without amsmath and add support for \brace and \brack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24418 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 22:03:18 +00:00
Enrico Forestieri
6bc6ca6c4d Only add \makeatletter and \makeatother to the preamble when actually needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24417 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-21 21:55:49 +00:00
Jürgen Spitzmüller
9af53d6fa7 * src/tex2lyx/tex2lyx.man:
- make the man page a bit less outdated (bug 2770).

note that the page isn't really up to date yet. I didn't check anything thoroughly (especially the "what's supported" and "what's not supported" part). Uwe, maybe a job for you, as you are most familiar with it nowadays.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24387 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 15:26:10 +00:00
Abdelrazak Younes
30eb0020ec Fix crash on startup with 4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24324 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 12:49:14 +00:00
Uwe Stöhr
6aaddd9e32 tex2lyx: text.cpp, Parser.h, Parser.cpp:
fix the import of \makebox, fixes http://bugzilla.lyx.org/show_bug.cgi?id=2504 also for branch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24281 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 22:59:00 +00:00
Jürgen Spitzmüller
3d3c5ce6e5 * src/mathed/InsetMathNest.cpp:
- use niceInsert for single-cell insets (fix rest of bug 4720)
	  No status.15x entry needed (this was a new bug)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24251 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-13 09:42:06 +00:00
Uwe Stöhr
a96cf0bbd9 tex2lyx/preamble.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=4719 also for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24242 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 22:17:16 +00:00
Jürgen Spitzmüller
cd7a390281 * make windoze (users) happy (replace Vert.xpm by vert2.xpm due to case conflict).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24180 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 16:07:30 +00:00
Jürgen Spitzmüller
24d2d48b10 * src/support/filetools.cpp (unzippedFileName):
- Fix an assertion with compressed image files 
	   that do not have a zip-extension.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24166 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 09:29:01 +00:00
Jürgen Spitzmüller
d1b369e564 * src/mathed/InsetMathNest.cpp:
- backport rev. 24158 (fix bug 4713)
	  No status.15x entry needed (this was a new bug)

	Author: poenitz
	Date: Mon Apr  7 21:19:03 2008
	New Revision: 24158

	URL: http://www.lyx.org/trac/changeset/24158
	Log:
	fix #4713

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24161 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-08 05:48:13 +00:00
Joost Verburg
21180f3b97 Use *.* to select all files in the file selection dialog on Windows. Using shortcuts for navigation is now possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24094 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 12:03:58 +00:00
Enrico Forestieri
31ce8f79de Fix bug 4665:
http://bugzilla.lyx.org/show_bug.cgi?id=4665


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24090 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 21:07:38 +00:00
Jürgen Spitzmüller
dc798a4b34 Backport of this and follow-up fixes of bug 4566 by sts:
URL: http://www.lyx.org/trac/changeset/23804
Log:
* another try on http://bugzilla.lyx.org/show_bug.cgi?id=4566:

  "Eqnarray multiple cells size change erases what they contain"

  We also apply LFUN_MATH_INSERT to every selected cell if a single math inset is inserted. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24085 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 13:59:13 +00:00
Enrico Forestieri
8634dbd811 Fix bug 4668
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24081 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 02:31:06 +00:00
Pavel Sanda
3a056add40 Branch: fix compilation problems with gcc 4.3.0 && --pch-disabled --without-included-boost
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg137863.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24069 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-31 08:50:41 +00:00
Richard Heck
f6d979f582 Revert stupid commit (thanks Andre) and also revert inadvertent commit. My bad.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24002 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 08:27:17 +00:00
Richard Heck
aff53a5a28 Remove unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24000 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-27 06:19:07 +00:00
Jürgen Spitzmüller
7255a701e8 * src/Text3.cpp:
- disallow non-Note notes inside commands (sections etc.)
	  This fixes bug 4180 partially (the change is still possible via the dialog).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23919 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 13:24:44 +00:00
Bo Peng
090e6911d2 Move \label{} outside of listings option caption={} because the listings package prefers a separate label={} option.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23865 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 13:56:27 +00:00
Jean-Marc Lasgouttes
b53311572b - fix the 'make check' target in src/support; one of the checks still
fails (bug 4638)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23850 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 13:46:54 +00:00
Jürgen Spitzmüller
bee48063a0 backport rev. 23673 from sts, which partially fixes a major dataloss bug:
URL: http://www.lyx.org/trac/changeset/23673
Log:
* fix for http://bugzilla.lyx.org/show_bug.cgi?id=4566

  "Eqnarray multiple cells size change erases what they contain"

  We now loop over the selected cells and change the font in each of them.

Note that the bug still applies if a font change is done via the math panel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23789 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 11:49:12 +00:00
Jürgen Spitzmüller
1862af42e0 Backport rev. 23762
Author: sts
Date: Sat Mar 15 12:40:04 2008
New Revision: 23762

URL: http://www.lyx.org/trac/changeset/23762
Log:
* make forward deletion of formula labels/numbers more intuitive:
** We show (Eq:bla,#) for labeled formulas
** The first forward delete removes the label
** The second forward delete removes the number

Fixes http://bugzilla.lyx.org/show_bug.cgi?id=2556


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23765 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 17:23:15 +00:00
Richard Heck
ebed03d340 Fix crash noted by Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23755 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 03:08:59 +00:00
Jürgen Spitzmüller
0a93c2d586 backport rev. 23643 from sts:
URL: http://www.lyx.org/trac/changeset/23643
Log:
* also forward delete numbering in math hull

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23712 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 17:38:53 +00:00
Enrico Forestieri
decf7cf106 Add bm to chkconfig.ltx and LaTeXConfig.lyx.in. Also make sure that bm
is loaded after amsmath.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23702 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 01:00:55 +00:00
Enrico Forestieri
30deb83dcb Provide \boldsymbol through the bm package.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23696 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 22:07:50 +00:00
Pavel Sanda
68d16e9466 Backport for http://bugzilla.lyx.org/show_bug.cgi?id=4194
(focus of buttons in search dialog).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23691 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 20:03:34 +00:00
Jürgen Spitzmüller
d6c3c06197 * src/mathed/InsetMathNest.cpp:
- do not output \color{ignore} (bug 4091).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23689 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 19:03:33 +00:00
Jürgen Spitzmüller
a965ea56a1 backport rev. 23610:
URL: http://www.lyx.org/trac/changeset/23610
Log:
* fix for http://bugzilla.lyx.org/show_bug.cgi?id=2556
  "not possible to delete a label of a formula":

  Press forward delete at the end of a row and the label is deleted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23685 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 15:06:07 +00:00
Jürgen Spitzmüller
113d65643c * src/insets/InsetNote.h:
- implement missing noFontChange.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23602 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 17:50:12 +00:00
Jürgen Spitzmüller
5cdfc7acea * src/Text3.cpp (doInsertInset):
- further improve the behaviour when inserting a collapsable inset 
	  over a multi-paragraph selection.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23534 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-07 11:51:24 +00:00
Jürgen Spitzmüller
ba956235d1 * src/Text3.cpp (doInsertInset):
- Improve the behaviour when inserting a collapsable inset 
	  over a multi-paragraph selection.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23511 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 13:34:42 +00:00
Jürgen Spitzmüller
5a918564ae * src/insets/InsetMathBox.{cpp,h}:
- add validate method and validate \tag[*] (bug 4586)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23482 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-05 18:52:30 +00:00
Pavel Sanda
f1e1afa308 Andre' comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23464 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-04 21:49:30 +00:00
Pavel Sanda
6bfbb310d2 ToC tree redrawing after resets.
http://bugzilla.lyx.org/show_bug.cgi?id=3740


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23444 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-04 14:07:12 +00:00
Jean-Marc Lasgouttes
af3b63ac40 * src/CutAndPaste.cpp (eraseSelectionHelper): when the last paragraph that
is cut is completely erased, remove it regardless of its layout (fixes
	bug 3995).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23430 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-04 10:14:29 +00:00
Uwe Stöhr
c81532af72 fix http://bugzilla.lyx.org/show_bug.cgi?id=2461 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23367 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-01 14:18:57 +00:00
Uwe Stöhr
f7a0bff71f InsetMathNest.cpp: allow to enter starred commands (fixed bug 4585)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23297 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 23:33:03 +00:00
Bo Peng
94b2999e9e Load local textclass in addTextClass(), reload local layout correctly in LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23199 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-24 21:25:11 +00:00
Uwe Stöhr
bfa4f6b0f4 insets/InsetTabular.cpp: fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4554
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23195 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-24 16:07:47 +00:00
Jürgen Spitzmüller
6c1b8c8422 forgot this in r23160.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23161 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-23 17:28:44 +00:00
Jürgen Spitzmüller
de263dca11 * src/Text3.cpp (cursorPrevious, cursorNext):
- Fix a crash when pressing "page up" while the cursor is in an empty
  	   paragraph (bug 4570); patch by Jean-Marc, slightly extended by advice of Abdel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23160 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-23 17:21:33 +00:00
Jürgen Spitzmüller
2c45aab0ac * src/insets/InsetCharStyle.cpp (draw):
- the status bar message on mouse hovering triggered a crash
	  when a math inset was embedded in a char style inset (bug 4559)
	  Until a better solution is found, the message is disabled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23055 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-18 11:12:01 +00:00