Commit Graph

302 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
b90cacb659 * src/frontends/qt2/QGraphicsDialog.C:
- allow double values in the bounding box widgets (bug 3055, 3056).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16663 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 10:32:25 +00:00
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