Commit Graph

9664 Commits

Author SHA1 Message Date
Enrico Forestieri
2f11dc727b * src/mathed/math_symbolinset.C
(void MathSymbolInset::maxima):
		- newer maxima versions use inf instead of INF
		- add support for greek pi

	(void MathSymbolInset::mathematica):
		- add support for \cdot

	* src/mathed/math_stringinset.h
		- account for the const version of asStringInset()

	* src/mathed/math_extern.C
	(bool extractScript):
		- added a boolean to formal parameters in order to
		  only extract superscripts

	(MathArray::iterator extractArgument):
		- leave out delimiters and a possible superscript
		  for function arguments

	(bool isKnownFunction):
	(bool extractFunctionName):
		- recognize standard and user defined function names

	(void splitScripts):
		- correctly split scripts as expected by other functions

	(MathAtom replaceDelims):
		- ranamed as replaceParenDelims

	(bool testOpenBracket):
	(bool testCloseBracket):
		- test for "[" and "]", respectively

	(MathAtom replaceBracketDelims):
		- replace something delimited by "[" and "]" with a
		  proper DelimInset

	(void extractDelims):
		- create a DelimInset for "[" and "]" delimiters, too

	(void extractFunctions):
		- improved recognition of function names

	(bool testTermDelimiter):
		- test for '+' or '-' as term delimiters

	(MathArray::iterator extractTerm):
		- extract a "term", i.e., something delimited by '+' or '-'

	(bool testDiffItem):
		- improved recognition of a "differential fraction"

	(void extractDiff):
		- call splitScripts() on numerator and denominator of a
		  differential fraction before analyzing them

	(void extractLims):
		- improved recognition of a limit function

	(void extractStructure):
		- reorganized order of searches

	(MathArray pipeThroughMaxima):
		- newer versions of maxima use simpsum instead of SIMPSUM

	(string fromMathematicaName):
		- translates from mathematica names

	(void prettifyMathematicaOutput):
		- convert to LyX format the latex macros output by mathematica

	(MathArray pipeThroughMathematica):
		- calls mathematica and collects its output

	(MathArray pipeThroughExtern):
		- add support for mathematica

	* src/mathed/math_numberinset.C
	* src/mathed/math_numberinset.h
	(void MathNumberInset::mathematica):
		- add support for mathematica

	* src/mathed/math_matrixinset.C
	* src/mathed/math_matrixinset.h
	(void MathMatrixInset::mathematica):
		- add support for mathematica

	* src/mathed/math_diffinset.C
	* src/mathed/math_diffinset.h
	(void MathDiffInset::maxima):
		- add support for maxima
	
	(void MathDiffInset::mathematica):
		- mathematica uses "D" and not "Dt" for normal derivatives

	* src/mathed/math_liminset.C
	* src/mathed/math_liminset.h
	(void MathLimInset::maxima):
		- add support for maxima

	(void MathLimInset::mathematica):
		- mathematica uses "Limit" and not "Lim" for limits

	* src/mathed/math_exfuncinset.C
	(string asMathematicaName):
		- added some more function names


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15138 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-25 14:36:28 +00:00
Joost Verburg
e8b1501de7 install dvipost package after LaTeX setup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15135 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 23:34:08 +00:00
Joost Verburg
91486fdfee removed an unnecessary backslash in the shortcut path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15134 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 23:03:48 +00:00
Joost Verburg
05995ad039 Update path environment variable after installing external components. This fixes problems with MiKTeX 2.5 detection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15133 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 22:30:06 +00:00
Bo Peng
b05f1989ea Distribute README.Cygwin and some source files of boost/regex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15123 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 14:33:07 +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
José Matox
20c3de818d Fix compatibility with python 2.2.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15117 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 10:37:44 +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
Jean-Marc Lasgouttes
7ecb173578 release 1.4.3 now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15108 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 13:53:23 +00:00
Jean-Marc Lasgouttes
7fbabb0b05 update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15107 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 13:43:36 +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
1ef2b4e4dc tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15105 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:57:21 +00:00
Peter Kümmel
86940dd605 create the binary in <build_dir>/bin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15102 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:49:23 +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
Peter Kümmel
adeb87826f already in CMakeLists.txt with 1.4.3 as version number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15099 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:21:26 +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
José Matox
5eac90cdd3 make configure.py compatible with python 2.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15097 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:12:08 +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
Joost Verburg
997a774c9f another bugfix for modern DVI drivers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15092 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 05:55:41 +00:00
Joost Verburg
1550cbc155 set standard fonts for screen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15091 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-20 23:01:44 +00:00
Peter Kümmel
c85fc27ba3 add cmake support for 1.4.x with Qt3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15089 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-20 17:58:50 +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
Joost Verburg
3d3911d32d fixed name of dependency package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15086 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-20 07:00:15 +00:00
Jürgen Spitzmüller
20e3105ec5 * src/CutAndPaste.C (pasteSelectionHelper):
remove accidentally committed, obsolete FIXME comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15084 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-20 06:44:39 +00:00
Joost Verburg
345e85dd06 Updated set of patches for external components
* Compatible with both MSVC and MinGW
* dtl bugfix for recent DVI drivers
* dvipost works for restricted users
* new Aspell Windows port

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15083 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 23:10:58 +00:00
Joost Verburg
e161bf59cf Updated LyX/Windows installer
* MSVC 2005 compiler support
* Compatible with MiKTeX 2.5
* Updated for latest ImageMagick and Python
* Removed MSYS installation
* Improved multi-user installations
* Added separate user settings file
* Added German and French translation
* Fixed Norwegian LyX language support

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15082 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 23:07:00 +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
Jean-Marc Lasgouttes
e2d15fa266 Revert fix to bug 2423 and replace it by a temporary workaround (that unfixes
bug 1720)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15065 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 10:27:11 +00:00
Jean-Marc Lasgouttes
5bdbf213a7 small french update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15063 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 09:59:37 +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
4b4d394fbf some updates for 1.4.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15059 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 09:00:51 +00:00
Jean-Marc Lasgouttes
8ea6fb9b4a update Nynorsk l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15057 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 08:10:56 +00:00
Jean-Marc Lasgouttes
f767f53e33 italian l10n update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15041 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 14:19:01 +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
Jürgen Spitzmüller
66c283e13b * lib/doc/UserGuide.lyx:
* lib/doc/Tutorial.lyx:
* lib/doc/de_UderGuide.lyx:
* lib/doc/de_Tutorial.lyx:
	document inset-dissolve.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15035 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 09:11:01 +00:00
Michael Schmitt
0247edfda6 de.po: yet another update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15021 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-16 14:44:26 +00:00
Michael Schmitt
a2117d4e6c po/*.po: remerge po files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15016 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-16 13:27:29 +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
Michael Schmitt
99d63e231d * de.po: small update (2 fuzzy messages)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15014 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-16 10:15:31 +00:00
Enrico Forestieri
8b485bbd97 Let LyX compile again against Qt 3.0
* src/frontends/qt2/qt_helpers.C (toqstr): use fromAscii only
	with Qt 3.1 and higher.

	* src/frontends/qt2/QLyXKeySym.C (initEncodings): use
	setCodecForCStrings only with Qt 3.1 and higher.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15011 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 15:22:55 +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
b010795913 small tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15006 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 10:19:16 +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