Commit Graph

351 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
534e97edf3 remove duplicate entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16637 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-10 08:45:44 +00:00
Georg Baum
12c39b974d more Sweave commands from Gregor Gorjanc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16631 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 19:01:33 +00:00
Uwe Stöhr
b9d2dfa06f again a tipo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16628 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 10:03:00 +00:00
Uwe Stöhr
1c814d993b Spanish version of Extended-Insets manual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16627 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 10:00:34 +00:00
Jürgen Spitzmüller
63183ee9da * src/insets/insetcite.C (getNatbibLabel): correct check for citation key cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16625 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 08:26:11 +00:00
Jean-Marc Lasgouttes
d2b8a31616 * os_unix.C (canAutoOpenFile, autoOpenFile): on Mac OS X, use
the role kLSRolesAll for both editor and viewer, since it is what 
	the finder does.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16605 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 13:32:20 +00:00
Jürgen Spitzmüller
8c143c72d6 * src/frontends/qt2/QGraphicsDialog.C:
- do not focus filename widget for already existing insets (bug 1663).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16603 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 13:21:36 +00:00
Jürgen Spitzmüller
b474cb3353 * src/frontends/qt4/QBibtexDialog.C: sanitize button behaviour (bug 2895)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16596 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 09:20:18 +00:00
Jürgen Spitzmüller
0b9dad040c Fix bug 3057.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16532 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-05 14:36:50 +00:00
Jean-Marc Lasgouttes
61da85eb4b * bufferparams.C (writeLaTeX):
* lyx_sty.C: use \setlength{\foo}{bar}, not \setlength\foo{bar}
	(bug 2843)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16477 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-03 10:39:35 +00:00
Georg Baum
125e638bdb Fix bug 2868
* src/insets/insetgraphics.C
	(findTargetFormat): return pdf for vector graphics

	* src/format.h
	(Flags): new enum describing format flags
	(flags_): new member variable for format flags
	(vectorFormat): new, tell whether a format can contain vector graphics

	* src/format.C: adjust to flags changes

	* src/frontends/qt2QPrefsDialog.C
	(QPrefsDialog::QPrefsDialog): handle new vector flag
	(QPrefsDialog::switch_format): ditto
	(QPrefsDialog::updateFormatsButtons): ditto
	(QPrefsDialog::new_format): ditto
	(QPrefsDialog::modify_format): ditto

	* src/frontends/qt2/ui/QPrefFileformatsModule.ui
	(vectorCB): new checkbox for vector flag

	* src/lyxrc.C
	(LyXRC::read): read vector flag
	(LyXRC::write): write vector flag

	* lib/doc/Customization.lyx: document format flags

	* lib/configure.py
	(checkFormatEntries): Add vector flag to some formats


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 21:11:42 +00:00
Jean-Marc Lasgouttes
382e7201b0 * cursor.C (popRight): place cursor at the right spot:
notifyCursorLeaves may have killed the inset and put its contents
	at lower level (bug 2908)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16431 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 14:18:15 +00:00
Jean-Marc Lasgouttes
b37ba814ca new textclass (bug 2929)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16429 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 13:42:19 +00:00
Jean-Marc Lasgouttes
ce848ae52b * insetcollapsable.C (hasFixedWidth): new virtual method, returns
false by default.
	(metrics): do not set to openinlined if
	hasFixedWidth is true.

	* insetbox.C (hasFixedWidth): returns true if the box has a fixed
	width. 
	(metrics): use hasFixedWidth.
	



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16425 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 11:49:20 +00:00
Jean-Marc Lasgouttes
e4f1405c4e * math_nestinset.C (handleFont): avoid crash on undo when
suppressing a font inset (bug 3019).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16423 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-29 11:06:15 +00:00
Georg Baum
fb979f06cf Fix bug 2978 (inset-dissolve does not reset latex language)
* src/text.C
	(LyXText::dissolveInset): Reset language to buffer language if the
	dissolved inset is an ERT inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16412 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 10:45:33 +00:00
Georg Baum
280557cbd0 Fix the remaining bits of bug 2476
* src/paragraph.C
	(Paragraph::changeLanguage): Don't forget the dummy font change at
	the end of the paragraph when changing the language. This does not
	affect the other place where this code is used:
	Buffer::changeLanguage.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16409 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 08:09:28 +00:00
Jürgen Spitzmüller
fdb9f4d62f * src/mathed/math_nestinset.C (do_dispatch):
- catch LFUN_QUOTE and output plain quote (bug 3044).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16404 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 15:05:32 +00:00
Jean-Marc Lasgouttes
3bb0f423e3 understand Sweave special macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16402 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 12:08:26 +00:00
Jean-Marc Lasgouttes
9cd79c39c7 update German documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16400 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 11:18:51 +00:00
Jean-Marc Lasgouttes
3172c91da4 new Galician tutorial; updated Intro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16398 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 10:41:19 +00:00
Jean-Marc Lasgouttes
83ee897908 Add layout AltAffiliation ; add optional argument support for Author Email and
Author URL


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16346 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-20 14:08:36 +00:00
Jean-Marc Lasgouttes
d2061138de * insetcollapsable.C (doDispatch): do nothing on mouse release if
there is a selection.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16336 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 15:39:26 +00:00
Jean-Marc Lasgouttes
5053826965 boost works perfectly with gcc 4.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16329 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-19 06:33:29 +00:00
Jean-Marc Lasgouttes
273d4dd3c4 From Martin Vermeer:
* rowpainter.C (paintPar): do not use wide insets when the
	paragraph is centered or right-justified.

	* paragraph.C (getAlign): take in account LYX_ALIGN_LAYOUT if
	needed. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16321 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 15:17:49 +00:00
Jean-Marc Lasgouttes
f90079cd11 update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16290 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 17:16:26 +00:00
Georg Baum
4e7e77962a * src/tex2lyx/text.C
(parse_text): Don't output a newline in front of an InsetLatexAccent
	(because InsetLatexAccent::write does does it neither)
	(parse_text): Don't create invalid code for \i{} and \j{}
	(parse_text): Handle \l{} and \L{}


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16255 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-12 19:03:44 +00:00
Jürgen Spitzmüller
4e51633adf * insettabular.C (doDispatch): call mouseSetCursor on mouse
click to ensure dEPM is triggered.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16243 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-11 16:46:19 +00:00
Jean-Marc Lasgouttes
3622f57986 update Hungarian l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16242 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-11 14:46:02 +00:00
Enrico Forestieri
c39da92066 Autoconf 2.61 has been released, and it works with LyX
http://www.mail-archive.com/autotools-announce@gnu.org/msg00023.html

	* autogen.sh: allow for autoconf 2.61


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16238 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-10 23:08:24 +00:00
Enrico Forestieri
c1d417fa65 Fix crash with PageDown/Up when the next/previous paragraph is an inset taller
than the workarea.

	* src/text3.C
	(cursorPrevious): use cur.dispatch(FuncRequest(LFUN_UP)) instead of
	cursorUp(cur).
	(cursorNext): ditto for cur.dispatch(FuncRequest(LFUN_DOWN)) vs
	cursorDown(cur).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16225 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-10 02:43:28 +00:00
Enrico Forestieri
2800f35900 Cache width, ascent, and descent font metrics as their calculation may be
really expensive on some platforms.

	* src/frontends/qt2/qfont_loader.[Ch]
	(QLFontInfo::width): rename WidthCache as MetricsCache.
	(QLFontInfo::ascent,QLFontInfo::descent): new, return (possibly cached)
	ascent/descent values.

	* src/frontends/qt2/qfont_loader.h:
	implement cache for ascent/descent values in the QLFontInfo class.

	* src/frontends/qt2/qfont_metrics.C
	(ascent, descent): use the corresponding methods in QLFontInfo class.
	Remove support for obsolete Qt/Win 3.2.1nc.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16224 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-10 02:25:05 +00:00
Georg Baum
2c746320d2 * src/tex2lyx/text.C
(known_quotes): Fix typo (found by Charles de Miramon)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16204 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-07 17:12:11 +00:00
Jürgen Spitzmüller
9b6a039a6b * src/paragraph.C (corrected_env, endTeXParams):
- writeout \begin and \end alignment tags on their own lines (bug 3010).
(patch from Gregor Gorjanc and me).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16163 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-04 07:24:58 +00:00
Jürgen Spitzmüller
54950e4322 * lib/layouts/amsart.layout:
- reenable Address paragraph style to fix bug 2890
	  (as discussed on bugzilla)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16161 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-03 15:41:32 +00:00
Georg Baum
ee631de7c6 ifpdf update and small grammar and spelling fixes by John C. McCabe-Dansted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16082 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 18:29:15 +00:00
Jürgen Spitzmüller
369103a08b * status.14x: fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16074 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 14:42:27 +00:00
Jürgen Spitzmüller
03b1717723 * src/insets/insettabular.C (doDispatch): do not reset cursor/selection
if we have selected some cells (bug 2715).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16073 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 14:37:58 +00:00
Jean-Marc Lasgouttes
038e11dbc3 * languages: use nb_NO instead of no_NO for norwegian (bug 2850).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16025 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 10:56:54 +00:00
Enrico Forestieri
0a904d7ea1 Was forgetting this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16023 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 06:11:11 +00:00
Georg Baum
3be8ab0929 Fix bug 2982 (two undo steps are needed to undo inset-dissolve)
* src/CutAndPaste.C
	(pasteParagraphList): Don't record undo info here...
	(pasteSelection): ... but here ...

	* src/BufferView_pimpl.C
	(BufferView::Pimpl::menuInsertLyXFile): ... and here instead


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15962 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 20:45:35 +00:00
Georg Baum
c4b59fab79 Add button for default layout to the 'extra' toolbar
* src/text3.C
	(LyXText::dispatch): An empty argument of LFUN_LAYOUT is now allowd
	and means the default layout of the text class

	* lib/images/layout.xpm: New image for default layout

	* lib/Makefile.am: Add new file
	* development/scons/scons_manifest.py: ditto

	* lib/ui/stdtoolbars.ui: Add "Deafult" layout button to the extra toolbar


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15953 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 09:56:34 +00:00
Georg Baum
c904b9aa0c Fix bug 2393 (from Dov Feldstern)
* src/lyxtext.h
	* src/text.C
	(LyXText::charsTranspose): New method for transposing characters

	* src/text.C
	(LyXText::dispatch): Call charsTranspose for LFUN_CHARS_TRANSPOSE


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15952 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-17 09:34:31 +00:00
Georg Baum
0914aa347e Fix bug 2789 (as discussed)
* src/mathed/math_hullinset.C
	(MathHullInset::doDispatch): move code for ref insert to MathNestInset 
	(MathHullInset::getStatus): move code for ref insert to MathNestInset

	* src/mathed/math_nestinset.C
	(MathNestInset::doDispatch): move code from MathHullInset here
	(MathNestInset::getStatus): move code from MathHullInset here


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15901 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 14:25:55 +00:00
Jean-Marc Lasgouttes
c9b04ce446 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15900 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 14:24:00 +00:00
Jean-Marc Lasgouttes
1f2e71d57d update Italian UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15895 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 10:03:34 +00:00
Georg Baum
5b8d08adef Revert revision 14802.
* src/mathed/math_scriptinset.C
	(MathScriptInset::write): Do not add braces to the nucleus

	* src/mathed/math_parser.C
	(Parser::parse1): Do not remove brace insets from the nucleus of
	script insets

	* src/mathed/math_nestinset.C
	(MathNestInset::script): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15861 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-11 15:50:31 +00:00
Jean-Marc Lasgouttes
f0575463d0 * dociterator.C (forwardPar): remove debug code.
(forwardInset): speed up (like forwardPar).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15847 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-10 23:31:02 +00:00
Martin Vermeer
05b14cc357 * src/toc.C
(outline): Fix undo bug in TOC navigation



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15836 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-10 11:37:41 +00:00
Jean-Marc Lasgouttes
77bfc3a011 * MenuBackend.C (expandToc2, expandToc): add a view argument in
order to disable correctly the entries when needed.

	* lyxfunc.C (dispatch): update menus and toolbars here
	(getStatus): only honor LyXView::hasFocus when command originates
	from a menu (bug 2877)

	* funcrequest.h: split the UI enum value into TOOLBAR and MENU.

	* lyxfunc.C (sendDispatchMessage): 
	* MenuBackend.C (MenuItem): 
	* ToolbarBackend.C (add): 
	* frontends/qt2/Toolbars.C (layoutSelected): adapt to the change above.

	* frontends/qt2/QtView.C (hasFocus): return a correct value now (and fix bug 1720).

-This line, and those below, will be ignored--

M    src/ChangeLog
M    src/lyxfunc.C
M    src/frontends/Toolbars.C
M    src/frontends/qt2/ChangeLog
M    src/frontends/qt2/QtView.C
M    src/frontends/ChangeLog
M    src/funcrequest.h
M    src/MenuBackend.C
M    src/ToolbarBackend.C
M    status.14x


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15768 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 15:34:58 +00:00
Georg Baum
438b6cbf18 Fix invalid help documents: s/\\color default/\\color inherit/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15667 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 15:01:07 +00:00
Georg Baum
b415929e67 Add beamer.layout and example document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15659 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 11:53:57 +00:00
Michael Schmitt
442b9c271e * status.14x:
* po/ChangeLog:
        * po/de.po: update German localization


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15658 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 10:53:13 +00:00
Georg Baum
93d5d41c24 Fix generation of invalid LyX files
* src/lyxfont.C
	(LyXFont::lyxWriteChanges): Don't change color "inherit" to
	"default", since that cannot be read in.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15655 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 09:46:14 +00:00
Martin Vermeer
163bfbfcf8 Added note to status.14x on tabs removal from layout2layout.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15631 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-31 07:32:58 +00:00
Enrico Forestieri
6ce8659e50 Make MathBigInset working and implement GUI for fixed size math delimiters
(by Georg and me)

	* src/lfuns.h
	(enum kb_action): New lfun LFUN_MATH_BIGDELIM

	* src/LyXAction.C
	(init): New lfun LFUN_MATH_BIGDELIM

	* src/cursor.C
	(macroModeClose): try to intepret the current macro before
	it is simply inserted

	* src/mathed/math_biginset.[Ch]
	(name): implement
	(isBigInsetDelim): new, test whether a given token is a valid
	MathBigInset delimiter
	(infoize2): implement to show name if the cursor is to the right

	* src/mathed/math_biginset.C
	(size): handle Big, bigg and Bigg
	(increase): ditto
	(draw): fix deco drawing
	(write): don't write space before delimiter but append one if necessary

	* src/mathed/math_factory.C
	(createMathInset): handle l->inset == "big"

	* src/mathed/math_parser.C
	(asInput): return a token as input, stolen from tex2lyx
	(parse1): create a MathBigInset when needed

	* src/mathed/math_nestinset.C
	(doDispatch): try to intepret the argument of LFUN_SELFINSERT also
	if it is longer than one character
	(doDispatch): remove debug message
	(doDispatch): remove LFUN_MATH_DELIM test for multiple cells (now
	in getStatus)
	(doDispatch): handle LFUN_MATH_BIGDELIM
	(getStatus): Disable LFUN_MATH_DELIM and LFUN_MATH_BIGDELIM when
	the selection spans multiple cells

	* src/mathed/math_nestinset.[Ch]
	(interpret): new, combine the previous math atom with the new
	character to a MathBigInset if possible

	* src/mathed/math_support.C
	(deco_table): add lbrace and rbrace

	* src/frontends/qt2/QDelimiterDialog.[Ch]
	(fix_name, QDelimiterDialog, insertClicked, size_selected):
	Allow for fixed size delimiters.

	* src/frontends/qt2/ui/QDelimiterDialogBase.ui:
	Added a combobox for selecting delimiter size.

	* src/frontends/xforms/forms/form_maths_delim.fd: ditto

	* src/frontends/xforms/FormMathsDelim.h:
	Added a private variable to store selected delimiter size

	* src/frontends/xforms/FormMathsDelim.C:
	Correct entry in delim_rversion[] for matching braces.
	(fix_name): new, return correct name for fixed size delimiter
	(build, apply, update): allow for fixed size delimiters.

	* src/frontends/gtk/GMathDelim.C: Add FIXME comment for fixed
	size delimiters

	* src/frontends/controllers/ControlMath.[Ch]:
	Added dispatchBigDelim() to deal with fixed size delimiters.

	* src/ParagraphParameters.C
	(findToken): move from here

	* src/support/lstrings.[Ch]
	(findToken): to here

	* src/text3.C
	(dispatch): handle LFUN_MATH_BIGDELIM
	(getStatus): ditto

	* src/ToolbarBackend.C
	(getIcon): handle LFUN_MATH_BIGDELIM

	* lib/symbols: add MathBigInset symbols



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15570 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 19:09:10 +00:00
Jean-Marc Lasgouttes
c77cfd3960 update Hebrew translation of Intro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15558 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 13:44:24 +00:00
Jean-Marc Lasgouttes
c57bff5fa5 * text.C (backspacePos0): rewrite to make it simple and allow
deleting empty paragraphs even when keepempty is true. Do not rely
	on dEPM, since this was silly (bugs 2587 and 2882)
	(Delete): simplify also and avoid calling backspace.
	(backspace): small tweak.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15547 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 12:18:56 +00:00
Jean-Marc Lasgouttes
18bfc160eb forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15530 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-24 13:54:06 +00:00
Martin Vermeer
4854791af8 Give Wide() inset proper clickable area
* status.14x: updated

	* src/insets/insettext.[Ch]: added covers() method



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15415 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 16:46:03 +00:00
Jürgen Spitzmüller
d0b141506f fix bug 2910:
* QDocumentDialog.C (updateNumbering): don't include headings
	that have no counter in their label.

* ui/NumberingModuleBase.ui: show scrollbar when appropriate. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15351 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 16:20:08 +00:00
Georg Baum
06836918b8 * src/factory.C
(readInset): Add comment about citation commands

	* src/tex2lyx/text.C
	(known_jurabib_commands): remove fullcite
	since LyX does not know it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15350 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 12:06:50 +00:00
Martin Vermeer
7424e3a0d7 Forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15321 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-13 10:48:13 +00:00
Georg Baum
17f2dfdda4 Fix bug 2901: Add menu entry for numbered formulas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15309 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 15:06:32 +00:00
Jean-Marc Lasgouttes
b37e65c2c7 fix casing in svn command
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15287 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-09 13:02:21 +00:00
Jürgen Spitzmüller
11b7b84d1f Fix bug 2744:
* buffer.[Ch] (changeRefsIfUnique): extend to handle bibitems 
	as well	(the function takes a InsetCode argument now) [bug 2744];
	clean up by using InsetIterator.

* math_hullinset.C (doDispatch): changeRefsIfUnique needs a
	InsetCode argument now (bug 2744).

* insetlabel (doDispatch): changeRefsIfUnique needs a
	InsetCode argument now.

* insetbibitem (doDispatch): use changeRefsIfUnique
	(actual fix for bug 2744).

* insetcommand.[Ch]:
* insetcite.[Ch]: implement replaceContents, which is
	used by changeRefsIfUnique.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15282 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-09 09:52:07 +00:00
Georg Baum
294109c66a Add lilypond external inset
* src/graphics/GraphicsConverter.C
	(build_script): Change the current directory to the directory of
	the output file

	* src/converter.C
	(Converters::convert): Add comment

	* lib/external_templates: Add lilypond template

	* lib/configure.py
	(checkFormatEntries): Add lilypond format
	(checkConverterEntries): Add lilypond converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15260 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-05 19:58:42 +00:00
Georg Baum
0b77857427 Document that python 2.2.0 is required.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15255 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-05 13:09:10 +00:00
Georg Baum
698763da0f Give a better error message for missing layout include files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15238 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-04 16:18:53 +00:00
Georg Baum
411024615c Support lgathered and rgathered math environments
* src/mathed/math_splitinset.C
	(MathSplitInset::validate): Only require amsmath for AMS stuff

	* src/mathed/math_factory.C
	(createMathInset): create MathSplitInset if the latexkey is "split"

	* src/mathed/math_parser.C
	(Parser::parse1): create MathSplitInset if the latexkey is "split"

	* lib/symbols: Add aligned, gathered, lgathered and rgathered


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15227 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 20:11:00 +00:00
Georg Baum
006106094d Parse optional arguments of aligned, gathered and alignedat
* src/mathed/math_splitinset.[Ch]
	(MathSplitInset): Add valignment argument to constructor

	* src/mathed/math_splitinset.C
	(MathSplitInset::write): write vertical alignment if needed

	* src/mathed/math_parser.C
	(Parser::parse1): parse optional arguments of aligned, gathered and
	alignedat


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15225 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 19:49:57 +00:00
Martin Vermeer
a5168640c1 The Outline patch. Movement in four directions, moving headers
deeper and shallower, up and down.

	* LyXAction.C

	* BufferView_pimpl.C:
	(BufferView::Pimpl::getStatus)
	(BufferView::Pimpl::dispatch)

	* frontends/qt2/QTocDialog.C:
	(QTocDialog::select_adaptor)

	* frontends/qt2/ui/QTocDialogBase.ui

	* frontends/qt2/QTocDialog.h:
	(QTocDialog : public QTocDialogBase)

	* frontends/qt2/QToc.[Ch]:
	(QToc::build_dialog)
	(QToc::updateType)
	(QToc::updateToc)
	(QToc::updateToc)
	(QToc::updateToc)
	(QToc::select)
	(QToc::set_depth)

	* frontends/controllers/ControlToc.[Ch]:
	(ControlToc::goTo)

	* toc.[Ch]:
	(asciiTocList)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15221 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 16:41:12 +00:00
Jürgen Spitzmüller
0bdf054359 Fix the fix for bug 2869.
* src/insets/insetvspace.C (doDispatch): open dialog on 
	mouse release, not mouse press 
	(fixes cursor positioning: bug 2869).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15217 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 15:18:27 +00:00
Georg Baum
ebc38de12a Add latex2rtf converter
* lib/configure.py
	(checkFormatEntries): Add rtf format
	(checkConverterEntries): Add latex2rtf converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15170 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-27 14:17:55 +00:00
Jean-Marc Lasgouttes
8aa36f90ac update romanian translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15162 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-27 10:56:59 +00:00
Jean-Marc Lasgouttes
83bf839fcc small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15154 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-26 10:35:58 +00:00
Enrico Forestieri
9d8b608c5e Was forgetting this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15139 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-25 14:43:33 +00:00
Georg Baum
927155ee00 Fix bug 2845
* lib/configure.py
	(checkFormatEntries): Add wmf format
	(checkConverterEntries): Add wmf -> eps converter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15122 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 14:27:23 +00:00
Georg Baum
75ffbdd2e0 Fix a crash that occured on exit if the clipboard was not empty
(only on windows).
	* src/frontends/Dialogs.C
	(Dialogs::hide): Don't send the signal if we are quitting


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15115 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 10:00:19 +00:00
Jean-Marc Lasgouttes
9ecb7a7d4c begin 1.4.4svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15113 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 09:31:49 +00:00
José Matox
b487206145 Change python requirement to 2.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15106 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 12:07:09 +00:00
Jean-Marc Lasgouttes
0ce5f5cedf * insettabular.C (doDispatch): do not modify cursor when iterating
over the cells to apply LFUN_EMPH and friends.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15100 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:42:09 +00:00
Jean-Marc Lasgouttes
757bbecf45 tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15098 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:16:51 +00:00
Peter Kümmel
a989be6e85 add scons and cmake to the lyx-1.4.3 distribution
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15095 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 09:43:46 +00:00
Jean-Marc Lasgouttes
24e0a84407 * lyxfunc.C (getStatus): fix handling of LFUN_RUNCHKTEX (bug 2831)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15094 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 09:29:54 +00:00
Georg Baum
94d391b183 Fix a crash when lyx2lyx failed to convert LyX file.
* src/buffer.C
	(Buffer::readFile): Only call updateDocLang if reading the file
	succeeded


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15093 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 07:57:45 +00:00
Jean-Marc Lasgouttes
a84c402884 * insettabular.C (cutSelection): reset cursor when it is invalid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15087 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-20 12:13:38 +00:00
Jean-Marc Lasgouttes
1bc5b6a567 forgotten entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15067 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 12:38:48 +00:00
Jean-Marc Lasgouttes
abb6dab873 more tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15066 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 10:37:41 +00:00
Jürgen Spitzmüller
18dc22d2dc Fix bug 2382:
* src/CutAndPaste.C (pasteSelectionHelper): pass Cursor 
	as argument, remove cursor-dependent arguments, 	
	implement method to reset layout in insets which
	forceParagraphsToDefault.

	* CutAndPaste.C (pasteParagraphList): adapt call of 
	pasteSelectionHelper.

	* insetert.C (doDispatch):
	* insetcharstyle.C (doDispatch): remove ad-hoc-Code to 
	reset paragraph layout. 
	This is now done generally in CutAndPaste.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15061 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 09:34:42 +00:00
Jean-Marc Lasgouttes
10a49d10d8 new Hungarian translation of the Tuturial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15039 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 12:10:29 +00:00
Jean-Marc Lasgouttes
e2f1ea229d l10n updates before release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15037 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 10:33:03 +00:00
Michael Schmitt
8089eb77a2 add menu entries for phonetic symbols and accepting/rejecting
a single change in CT mode


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15015 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-16 13:09:46 +00:00
Georg Baum
73da83f89e Add phantom icons from Uwe and me (last part of bug 1473)
* src/frontends/controllers/ControlMath.C
	(latex_misc): Add phnatom, vphantom and hphantom

	* lib/images/math/hphantom.xpm: new
	* lib/images/math/phantom.xpm: new
	* lib/images/math/vphantom.xpm: new

	* lib/Makefile.am: add new files
	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15008 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 10:53:42 +00:00
Jean-Marc Lasgouttes
29396209ad * text.C (setCursorFromCoordinates):
* text2.C (setCursorIntern): add an assertion.

	* BufferView_pimpl.C (scrollDocView): reset cursor before setting
	it from coordinates (bug 2830).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15005 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 09:53:33 +00:00
Jean-Marc Lasgouttes
c50a5e9897 * paragraph_funcs.C (breakParagraph): make sure to respect nesting
when depth > 0 (bug 2445)/



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15001 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 09:37:33 +00:00
Jean-Marc Lasgouttes
6aa2f26bdb update french l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14999 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 07:59:25 +00:00
Jürgen Spitzmüller
e6bb6625ea * src/text3.C (doInsertInset): reset first paragraph to default after selected content has been pasted (bug 2802)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14994 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-14 13:50:37 +00:00
Jean-Marc Lasgouttes
309e1990fd Update Nynorsk; remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14984 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-13 13:21:51 +00:00
Jean-Marc Lasgouttes
e983b7c499 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14972 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-11 09:54:44 +00:00