Commit Graph

20566 Commits

Author SHA1 Message Date
Uwe Stöhr
ff677ecfdb InsetTabular.cpp: output the caption for docbook according to the docbook documentation http://docbook.org/tdg/en/html/caption.html and this example: http://sources.redhat.com/ml/docbook/2004-06/msg00017.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28463 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 02:37:14 +00:00
Uwe Stöhr
cb81a4e0d4 InsetTabular.cpp: output the caption for docbook
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28462 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 02:31:00 +00:00
Uwe Stöhr
21cab38549 InsetTabular.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5772
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 02:23:48 +00:00
Uwe Stöhr
248e769c76 scons_manifest.py: fix another SCons issue after r28456
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 01:32:32 +00:00
Uwe Stöhr
54a5572122 Intro.lyx: fix 2 typos spotted by a user
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28459 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 01:20:08 +00:00
Pavel Sanda
1c0f15fbd9 * scons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28457 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 23:55:51 +00:00
Richard Heck
52d3a1e426 Move some code around in an effort to make information about modules
available to tex2lyx. The point is to move the crucial routines that 
deal with modules out of BufferParams.cpp, which tex2lyx does not have,
and into TextClass.cpp, which it does.

This is all cleanup that makes a lot of sense independently.

Note that LayoutModuleList will shortly become a real class.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 23:22:10 +00:00
Richard Heck
7e4d4d2641 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28455 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 20:02:53 +00:00
Richard Heck
9db713da16 Author info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28454 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 19:59:25 +00:00
Richard Heck
0a5514d2a4 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28453 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 19:51:56 +00:00
Richard Heck
61bef3b043 Access private data directly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28452 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 19:48:54 +00:00
Richard Heck
4407eb186f Use the typedef.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28451 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 19:35:22 +00:00
Richard Heck
2ebd679192 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28450 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 17:16:05 +00:00
Richard Heck
ee36483a8e Let's have a little more info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28448 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 17:08:51 +00:00
Jean-Marc Lasgouttes
24e29ad498 compilation fix on openbsd (bug 5650)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28445 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 14:34:40 +00:00
Jean-Marc Lasgouttes
209f2167f0 fix compilation with external boost
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28444 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 14:27:42 +00:00
Uwe Stöhr
b9df3d88c9 InsetTabular.cpp: partly reverting r28437, because I was wrong: it is totally valid to have several rows to be the header and also several rows can have a caption, my own EmebeddedObjects manual has examples for this - stupid me!
Bug 5752 is nevertheless still fixed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28442 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 03:18:16 +00:00
Uwe Stöhr
8bbd9f254d InsetTabular.cpp: Insert a caption, when a longtable row is marked to be the caption, otherwise the LaTeX output would be is incorrect
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28440 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 01:30:20 +00:00
Jean-Marc Lasgouttes
2d66dbb678 Fix bug 5666: assertion when an inset is outside of workwidth
http://bugzilla.lyx.org/show_bug.cgi?id=5666

Check whether an inset is in the coordcache before reading this cache (doh!)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28439 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 22:27:43 +00:00
Peter Kümmel
fb3d47a14d Changes:
development/cmake/CMakeLists.txt
		Use lowercase for PACKAGE iff (USE_POSIX_PACKAGING)
		Set correct PROGRAM_SUFFIX,
			CMakeLists.txt in subdirectories depend now on it
		Define PACKAGE_BASE depending on  PACKAGING type
			for use in subsequent directories
	development/cmake/config.h.cmake
		typo: PPROGRAM_SUFFIX --> PROGRAM_SUFFIX
	development/cmake/src/tex2lyx/CMakeLists.txt +
	+ development/cmake/src/CMakeLists.txt +
	+ development/cmake/src/client/CMakeLists.txt +
	+ development/cmake/man/CMakeLists.txt
		added desired version-info to executables and manuals
			tex2lyx, lyx, lyxclient respectivelly

	Kornel



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28438 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 22:21:39 +00:00
Uwe Stöhr
e029b216b7 GuiTabular, InsetTabular: fix http://bugzilla.lyx.org/show_bug.cgi?id=5752
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28437 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 18:08:09 +00:00
Jürgen Spitzmüller
0c3109e2d3 * TocWidget.cpp:
- improve performance with Outliner open with Qt >= 4.3 by using native methods instead of home-brewn code.
	  This should especially pay off on the Mac, if the Outliner shows as a drawer (bug 4443).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28432 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 08:32:34 +00:00
Uwe Stöhr
ba2080fb19 Japanese UserGuide.lyx: updates from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28429 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 03:53:37 +00:00
Pavel Sanda
7cfe885af1 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5082
(Outliner uninitialized after lyx launch)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28428 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 00:10:45 +00:00
Vincent van Ravesteijn
0be0516d28 Fix bug 5753: http://bugzilla.lyx.org/show_bug.cgi?id=5753.
Crash when setting caption on a row with a multicolumn.

If there is already a multicolumn on the row, the number of cells is different from column_info.size().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28427 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 00:02:39 +00:00
André Pönitz
20d5148dca move ColorSet to a header of its own to reduce #include dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28426 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 23:30:24 +00:00
Vincent van Ravesteijn
c912d253f2 Fix bug 5711: http://bugzilla.lyx.org/show_bug.cgi?id=5711.
Add button in Citation dialog grayed out when key matches the start of an already selected key.

One parameter of match() was forgotten, so the MatchFlags were basically ignored, i.e. the standard flags were used always.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28425 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 23:20:52 +00:00
Vincent van Ravesteijn
09a0e37b15 Replace the PainterInfo::erased_ member by a proper Change object and remove the Color_deletedtext from InsetTabular.
see:
http://thread.gmane.org/gmane.editors.lyx.devel/114326

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28424 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 21:14:23 +00:00
Vincent van Ravesteijn
26c5e8a83b Fix bug 5629: http://bugzilla.lyx.org/show_bug.cgi?id=5629.
Hard to distinguish between added and deleted text.

* Changes.cpp/h: add a merge_color for deletions and change the return type to Color.

* ColorCode.h/Color.cpp: add a new customizable color that indicates the merge color for deletion.

See: 
http://thread.gmane.org/gmane.editors.lyx.devel/114189 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28423 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 20:47:32 +00:00
Vincent van Ravesteijn
438aaf2ec9 Add a new member to FontInfo denoting the color to be used when painting.
* rowpainter.cpp: now the color for painting selected text and changed text is set via FontInfo::setColor. However, this color should remain a ColorCode as this color is used in e.g. the GuiCharacter dialog and for LateX output. Therefore I use now the FontInfo::setPaintColor function.

* FontInfo.cpp/h: new members paint_color_ and setPaintColor(). The function realColor is updated to return the paintColor when it is set.

See:
http://thread.gmane.org/gmane.editors.lyx.devel/114189

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28422 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 20:22:48 +00:00
Vincent van Ravesteijn
a37eaf4f0b Use the new Color class (see r28420) in the Painter code.
See:
http://thread.gmane.org/gmane.editors.lyx.devel/114189

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28421 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 20:10:11 +00:00
Vincent van Ravesteijn
2e7698c4e6 Add a new Color class. This class makes it possible to specify a color as a merging of two other colors. The actual computation of the new color is done in ColorCache::get.
See:
http://thread.gmane.org/gmane.editors.lyx.devel/114189

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28420 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 20:00:31 +00:00
Vincent van Ravesteijn
74163aa0cf Fix bug 5766: http://bugzilla.lyx.org/show_bug.cgi?id=5766.
Crash when selecting a row and doing "Delete column" in a table with multicolumns.

The check "column + 1 < column_info.size()" checks whether there is at least one column after this one. However, this check is no longer valid if we remove the column from column_info first.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 19:39:28 +00:00
Vincent van Ravesteijn
71c44aa9d0 Add a comment for r28404.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28408 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 09:14:38 +00:00
Vincent van Ravesteijn
96eac2ca3f Fix bug 5750: http://bugzilla.lyx.org/show_bug.cgi?id=5750.
Wrong width display of multicolumn cells.

When changing a custom width cell into a multicolumn, the isFixedWidth bool should be set to false. Now, the function setFixedWidth could only set isFixedWidth to true when needed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28407 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 09:02:50 +00:00
Uwe Stöhr
ff12fcb01b GuiTabular.cpp: a whitespace fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28406 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 00:06:32 +00:00
Pavel Sanda
887ba34eeb Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5767
(disabled keep&sort buttons on ToC in readonly mode)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28405 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 23:45:17 +00:00
Vincent van Ravesteijn
adac53cbb2 Prevent assertion when closing LyX with GuiTabular open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28404 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 19:44:53 +00:00
Uwe Stöhr
66eb4fa193 - Math.lyx: translation updates by Ignacio
- Braille.lyx: new Spanish translation by Ignacio

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28402 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 19:01:26 +00:00
Vincent van Ravesteijn
72fdd1b861 Fix bug 5604: http://bugzilla.lyx.org/show_bug.cgi?id=5604.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28400 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 18:33:01 +00:00
Vincent van Ravesteijn
0730c9235a Fix bug 5764: http://bugzilla.lyx.org/show_bug.cgi?id=5764.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28399 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 14:14:30 +00:00
Vincent van Ravesteijn
24cd681863 Fix bug 5573. http://bugzilla.lyx.org/show_bug.cgi?id=5573.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28397 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 12:35:14 +00:00
Peter Kümmel
1fe1080cf6 cmake: Kornel's package versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28396 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 12:20:31 +00:00
Vincent van Ravesteijn
78bc661ff8 * MathAutoCorrect: kill compiler warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28390 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 01:21:54 +00:00
Vincent van Ravesteijn
2daac3125f * InsetMathNest.cpp: Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28389 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 01:14:48 +00:00
Vincent van Ravesteijn
814a8411eb Reverse unwanted commits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28388 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 01:11:27 +00:00
Vincent van Ravesteijn
f694cf7135 * InsetMathNest.cpp: Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28387 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 01:01:15 +00:00
Vincent van Ravesteijn
4706961841 Fix bug 1802: http://bugzilla.lyx.org/show_bug.cgi?id=1802.
* allows the selection of a whole cell with shift+key
* shift-movement between empty cells with a single keystroke 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28385 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-07 15:24:47 +00:00
Jürgen Spitzmüller
1f58d53deb Bug 5562: Fix command line output of subfigure insets by introducing new OutputParams and LaTeXFeatures members that tell the insets whether they are in a (sub)float.
Later, this can be replaces by a backpointer approach, as proposed at bugzilla (note that there are already similar cases such as InComment or InTableCell, so a backpointer approach would need to adapt the OutputParams methos anyway).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28382 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-07 12:27:24 +00:00
Jean-Marc Lasgouttes
26751d83ee Move the half baked code that guesses whether to default on metric or
imperial units in only one place (instead of thousands of slightly different
copies). Functionally equivalent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28380 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-06 21:24:13 +00:00