Commit Graph

14313 Commits

Author SHA1 Message Date
Martin Vermeer
967c30e354 Partial support for units
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20236 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-12 08:15:33 +00:00
Enrico Forestieri
cc9fb465a6 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20235 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-12 01:12:10 +00:00
André Pönitz
887bd847c6 remove unnneded #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20233 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 22:31:24 +00:00
Uwe Stöhr
dd19767b0d Intro.lyx: fix appearance of the word "LyX" in PDF-bookmarks
German Intro.lyx: update to format of the English and Spanish version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20231 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 22:11:06 +00:00
André Pönitz
f819d860c2 remove unused code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20230 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 21:52:30 +00:00
André Pönitz
9b8e429a64 remove unnecessary includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20228 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 21:43:55 +00:00
Uwe Stöhr
9f1ae6c425 German UserGuide.lyx: some corrections
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20227 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 21:39:43 +00:00
André Pönitz
cc4b9be893 shuffle stuff around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20225 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 21:27:57 +00:00
André Pönitz
470aba2a0e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 18:33:42 +00:00
André Pönitz
34492a9d03 less functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20216 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 17:06:15 +00:00
Richard Heck
63a190ef49 Add layout-reload LFUN. This is useful for people creating and editing layouts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20215 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 16:42:22 +00:00
Abdelrazak Younes
6ce171eec8 Transfer the Paragraph position cache from CoordCache to ParagraphMetrics and TextMetrics.
* ParagraphMetrics::position_: new private member (and associated access method).

* TextMetrics:
- origin_: new screen position cache.
- use origin_ and ParagraphMetrics::position() instead of the parPos cache.

* Cursor:
- comment out buggy bruteFind() method, will work on that later.

* BufferView::updateMetrics(): refactor and simplify to use new cache and to gather everything SinglePar related.





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20214 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 16:04:10 +00:00
Bo Peng
905324dd16 Embedding: for safety, update before changing embedding status
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20213 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 16:00:16 +00:00
Bo Peng
e2d5893eab Embedding: move manifest to .lyx file, as a separate section between header and body
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20212 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 14:23:12 +00:00
José Matox
6b50a6a6e8 Further cleanup, remove encoding since we now use utf-8 for all languages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 09:43:44 +00:00
José Matox
db09f89db4 Make TOC titles unicode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20207 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 09:04:54 +00:00
Bo Peng
b416cdbf47 adding missing header files due to the use of PCH (the 8th time?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20204 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 05:19:48 +00:00
André Pönitz
4e083bf73a adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20203 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 22:33:48 +00:00
André Pönitz
94e61a3bc9 shuffle some frontend stuff around. merge controller(base) and "Kernel". Make frontend::Dialog pure virtual
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 22:32:59 +00:00
Enrico Forestieri
b655369815 Another batch of improved icons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20200 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 21:29:21 +00:00
Uwe Stöhr
faf77f5d88 UserGuide.lyx: add note about LyX proper names and an info about LyX's proposed index entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 19:15:42 +00:00
André Pönitz
a17926e673 remove Dialog::title_, direct setting the title works as well.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20196 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 19:02:11 +00:00
Uwe Stöhr
0d03e50cde unicodesymbols: workaround fix for an encoding bug in teTeX 3 /TeXLive 2005, see http://bugzilla.lyx.org/show_bug.cgi?id=4192#c10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20195 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 18:22:49 +00:00
André Pönitz
d5c3b142ba remove duplicated entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20194 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 18:09:37 +00:00
Jürgen Spitzmüller
59c2e75e41 * src/insets/InsetCommand.{cpp,h}:
- implement edit function that opens the inset's dialog.
* src/BufferView.cpp (doDispatch):
	- call inset->edit (i.e. open dialog) for EDITABLE insets on next-inset-toggle (bug 2907)
* src/Text3.cpp (doDispatch: INDEX_INSERT):
	- move inset->edit to where it belongs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20193 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 16:06:01 +00:00
José Matox
e055ef0a33 Fix bug 3798.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20190 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 13:48:01 +00:00
Jürgen Spitzmüller
7e1861b41e * src/Paragraph.cpp (getLabelWidthString):
- don't judge possibility of configurable label string by the existence of such,
	  but rather by the margintype (bug 4127) 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20189 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 13:45:48 +00:00
Bo Peng
3189e7b5dd Embedding: prepare to read/write manifest in .lyx file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20186 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 03:54:02 +00:00
Uwe Stöhr
17112f655d Helge's wrapfig patch:
- Format incremented to 284
- LaTeX-package wrapfig is now used instead of flotflt for wrap floats (this allows us to implement now also a table wrap float)

(the optional overhang argument of wrapfig will be implemented later)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20185 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 23:47:22 +00:00
Uwe Stöhr
72d8e338d5 UserGuide.lyx: fix bug 4192 (hopefully)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20183 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 22:08:56 +00:00
Uwe Stöhr
b863a6baff Userguide: merge changes Georg committed last week to branch (unicode stuff)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20181 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 21:29:49 +00:00
Abdelrazak Younes
be38aa2638 fix outline dialog for non-Mac platform.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20178 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 20:51:04 +00:00
Abdelrazak Younes
c3e3534148 * TextMetrics::draw(): withdraw first row ascent before drawing because the convention is that the baseline of a multirow text is the baseline of the first row.
All other files: adapt to above change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20177 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 20:21:43 +00:00
Uwe Stöhr
36174647c8 lib/doc/Makefile: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20176 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 19:25:25 +00:00
Uwe Stöhr
ff9143b226 LyX.py: fix for previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20175 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 18:37:50 +00:00
Martin Vermeer
c143b34de8 update charstyle/flex docs a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20174 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 18:28:30 +00:00
Uwe Stöhr
350dad6f65 doc_toc.py: remove non-ascii character since LyX.py can't encode it at the moment
LyX.py: fix thinko that lead to out of range list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20173 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 17:02:48 +00:00
Edwin Leuven
2ec54cfde7 more frontend cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20172 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 15:56:58 +00:00
Enrico Forestieri
13c0796b8f Recover some other images lost in the xpm -> png transition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20171 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 14:57:55 +00:00
Uwe Stöhr
2a50c4e63d UserGuide corrections
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20170 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 14:25:44 +00:00
Uwe Stöhr
42f0d49b95 Thanks to Ignacio, we have a new Spanish UserGuide!
(Will commit this to branch too the next days.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 13:51:30 +00:00
Edwin Leuven
cc832049a9 connect to the right slots...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20165 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 12:06:37 +00:00
Bo Peng
2a1a156f47 Embedding: store inset pointer instead of ParConstIterator to enable more accurate navigation in the Embedding dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20164 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 07:07:13 +00:00
Bo Peng
8ea9c5a440 add missing header file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20163 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 02:59:57 +00:00
André Pönitz
022a231f3e fix some index/label issue
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20162 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 22:08:46 +00:00
André Pönitz
d21894949b make Controller a standalone class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20161 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 21:16:54 +00:00
Peter Kümmel
d19e684383 msvc fixes: remove warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20160 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 21:00:49 +00:00
Peter Kümmel
e5cf6e8566 remove recursive call
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20159 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 21:00:03 +00:00
Enrico Forestieri
6db24496fd Another improved icon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20158 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 20:43:45 +00:00
André Pönitz
b4f7b0360b Fix return value
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20157 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 20:06:31 +00:00