Commit Graph

9671 Commits

Author SHA1 Message Date
Uwe Stöhr
c54bae8e64 New Extended-Insets manual
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16622 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 02:29:35 +00:00
Uwe Stöhr
6b38ef29ea Updated Extended manual: delete the stuff that is now described much better in the Extended-Insets manual
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16621 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 02:26:57 +00:00
Uwe Stöhr
196495bea8 Updated Intro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16620 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-09 02:25:19 +00:00
Enrico Forestieri
7de882829b Fix conversion of n-th roots to mathematica and octave syntax.
* src/mathed/math_extern.C
	(pipeThroughOctave): take into account that the output from octave
	may contain ansi control sequences.

	* src/mathed/math_rootinset.[Ch]
	(MathRootInset::mathematica): new virtual method to output n-th
	roots in mathematica syntax.

	* src/mathed/math_rootinset.C
	(MathRootInset::octave): octave has not a root command.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16612 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 19:00:24 +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
Bo Peng
34e341f366 Scons: fix a mingw/scons bug (it is a scons bug)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16538 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-05 18:29:52 +00:00
Jean-Marc Lasgouttes
ea42168437 more German docs updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16535 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-05 14:40:51 +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
Bo Peng
4cbb5e701b Scons: fix a mingw problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16523 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-05 06:30:28 +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
Bo Peng
911df6bc1c Scons: no longer copy lyx.exe to lyx-qt2.exe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16473 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-03 05:52:15 +00:00
Bo Peng
d541c89914 Scons: create libs directory for res file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16471 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-03 04:56:45 +00:00
Bo Peng
7f0d11f7e3 Scons: embed lyx icon to lyx.exe etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16470 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-02 22:34:40 +00:00
Bo Peng
ce7e1004d9 Scons: backport some 1.5.x scons features, fix qt translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16445 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-30 20:12:24 +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
654d891fce add new galician file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16410 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 09:07:23 +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
9a816ee379 Galician update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16396 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-27 10:25:52 +00:00
Bo Peng
e5fa228715 Scons: add qt translation flag
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16350 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-20 15:26:34 +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
5593aa5dd4 remove change tracking on file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16320 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 09:24:00 +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
Jean-Marc Lasgouttes
31540ed80f update from Claudio Coco
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16289 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 17:15:16 +00:00
Jean-Marc Lasgouttes
f800b0f284 update from alex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16287 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-15 17:09:02 +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
1bf75e8fbe Oops, wrong version ...
* 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@16244 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-11 16:47:48 +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
Jürgen Spitzmüller
2a436e855d * paragraph.C (startTeXParams, endTeXParams):
reset column count after linebreak.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-08 17:56:47 +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
Joost Verburg
859e121079 support for direct debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16084 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 22:56:56 +00:00