Commit Graph

10588 Commits

Author SHA1 Message Date
Uwe Stöhr
bf9e1b9ec8 tex2lyx/preamble.cpp: support for the paper orientation also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24808 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-16 20:22:25 +00:00
Jürgen Spitzmüller
146316c0f2 * src/tex2lyx/text.cpp:
- forgot this.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24731 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-11 16:48:21 +00:00
Jürgen Spitzmüller
e8dd05b38c * src/tex2lyx/text.cpp:
- whitespace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24730 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-11 16:45:37 +00:00
Jürgen Spitzmüller
a6f4df8850 * src/tex2lyx/text.cpp:
- fix compilation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24729 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-11 16:42:57 +00:00
Uwe Stöhr
b6205e98bd tex2lyx/preamble.cpp, tex2lyx/text.cpp : fix bug 20 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24728 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-11 14:23:08 +00:00
Jürgen Spitzmüller
593ef2c773 * ControlAboutLyX:
- update copyright date. For 1.5.5, this change came too late (for i18n).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24724 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-11 10:20:06 +00:00
Jürgen Spitzmüller
562e961cf1 Fix bug 4806 (patch from JMarc)
* Context.cpp (begin_layout): make it a (private) method, and output
        the extra stuff here.
        (add_par_extra_stuff): this is used for stuff that is only for next 
        paragraph (like extra_stuff used to be); add_extra_stuff is now for 
        code that is output for all paragraphs in the context.

        * text.cpp: update to new Context methods. Every user of add_extra_stuff
        uses add_par_extra_stuff, except alignment (which has to be repeated
        to fix bug 4806).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24698 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-09 11:13:44 +00:00
Jürgen Spitzmüller
4ba07f11bd * InsetMathHull:
- fix rest of bug 518. Part of this fix was already (accidentally) committed by Uwe in r24667.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24689 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-09 07:50:12 +00:00
Uwe Stöhr
b341bbcbbf Minor French documentation updates by Jean-Pierre and Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24667 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 21:37:36 +00:00
Jean-Marc Lasgouttes
2e4c330f26 fix some compilation warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24636 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 13:20:07 +00:00
Jürgen Spitzmüller
43097f8952 * backport revision: 23665 from sts:
URL: http://www.lyx.org/trac/changeset/23665
Log:
* fix for http://bugzilla.lyx.org/show_bug.cgi?id=518

"wrong numbering of multline environment inside LyX"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24615 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 14:21:28 +00:00
Jürgen Spitzmüller
d2dc7bdff1 Correctly handle quotation marks in command preferences (bug 2016):
* src/LyXRC.cpp:
	- new helper function to escape commands
	- parse escaped commands

* src/Lexer.{cpp,h}:
	- whitespace/typos.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24614 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 13:54:23 +00:00
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