small cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15154 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-09-26 10:35:58 +00:00
parent c19413f420
commit 83bf839fcc
2 changed files with 42 additions and 49 deletions

View File

@ -1,64 +1,56 @@
2006-09-25 Enrico Forestieri <forenr@tlc.unipr.it> 2006-09-25 Enrico Forestieri <forenr@tlc.unipr.it>
* src/mathed/math_symbolinset.C * math_symbolinset.C (maxima): newer maxima versions use inf
(void MathSymbolInset::maxima): newer maxima versions use inf
instead of INF. Add support for greek pi. instead of INF. Add support for greek pi.
(void MathSymbolInset::mathematica): Add support for \cdot. (mathematica): Add support for \cdot.
* src/mathed/math_stringinset.h: account for the const version * math_stringinset.h: account for the const version
of asStringInset(). of asStringInset().
* src/mathed/math_extern.C (bool extractScript): added a boolean * math_extern.C (extractScript): added a boolean to formal
to formal parameters in order to only extract superscripts. parameters in order to only extract superscripts.
(MathArray::iterator extractArgument): leave out delimiters and a (extractArgument): leave out delimiters and a possible superscript
possible superscript for function arguments. for function arguments.
(bool isKnownFunction): (isKnownFunction, extractFunctionName): recognize standard and
(bool extractFunctionName): recognize standard and user defined user defined function names.
function names. (splitScripts): correctly split scripts as expected by other
(void splitScripts): correctly split scripts as expected by other
functions. functions.
(MathAtom replaceDelims): ranamed as replaceParenDelims. (replaceDelims): renamed as replaceParenDelims.
(bool testOpenBracket): (testOpenBracket, testCloseBracket): test for "[" and "]",
(bool testCloseBracket): test for "[" and "]", respectively. respectively.
(MathAtom replaceBracketDelims): replace something delimited by (replaceBracketDelims): replace something delimited by "[" and "]"
"[" and "]" with a proper DelimInset. with a proper DelimInset.
(void extractDelims): create a DelimInset for "[" and "]" delimiters. (extractDelims): create a DelimInset for "[" and "]" delimiters.
(void extractFunctions): improved recognition of function names. (extractFunctions): improved recognition of function names.
(bool testTermDelimiter): test for '+' or '-' as term delimiters (testTermDelimiter): test for '+' or '-' as term delimiters
(MathArray::iterator extractTerm): extract a "term", i.e., something (extractTerm): extract a "term", i.e., something delimited by '+'
delimited by '+' or '-'. or '-'.
(bool testDiffItem): improved recognition of a "differential fraction" (testDiffItem): improved recognition of a "differential fraction"
(void extractDiff): call splitScripts() on numerator and denominator (extractDiff): call splitScripts() on numerator and denominator of
of a differential fraction before analyzing them. a differential fraction before analyzing them.
(void extractLims): improved recognition of a limit function. (extractLims): improved recognition of a limit function.
(void extractStructure): reorganized order of searches. (extractStructure): reorganized order of searches.
(MathArray pipeThroughMaxima): newer versions of maxima use simpsum (pipeThroughMaxima): newer versions of maxima use simpsum instead
instead of SIMPSUM. of SIMPSUM.
(string fromMathematicaName): translates from mathematica names. (fromMathematicaName): translates from mathematica names.
(void prettifyMathematicaOutput): convert to LyX format the latex (prettifyMathematicaOutput): convert to LyX format the latex
macros output by mathematica. macros output by mathematica.
(MathArray pipeThroughMathematica): call mathematica and collect (pipeThroughMathematica): call mathematica and collect its output.
its output. (pipeThroughExtern): add support for mathematica.
(MathArray pipeThroughExtern): add support for mathematica.
* src/mathed/math_numberinset.[Ch] * math_numberinset.[Ch] (mathematica): add support for mathematica.
(void MathNumberInset::mathematica): add support for mathematica.
* src/mathed/math_matrixinset.[Ch] * math_matrixinset.[Ch] (mathematica): add support for mathematica.
(void MathMatrixInset::mathematica): add support for mathematica.
* src/mathed/math_diffinset.[Ch] * math_diffinset.[Ch] (maxima): add support for maxima.
(void MathDiffInset::maxima): add support for maxima. (mathematica): mathematica uses "D" and not "Dt" for normal
(void MathDiffInset::mathematica): mathematica uses "D" and not derivatives.
"Dt" for normal derivatives.
* src/mathed/math_liminset.[Ch] * math_liminset.[Ch] (maxima): add support for maxima.
(void MathLimInset::maxima): add support for maxima. (mathematica): mathematica uses "Limit" and not "Lim" for limits.
(void MathLimInset::mathematica): mathematica uses "Limit" and
not "Lim" for limits.
* src/mathed/math_exfuncinset.C * math_exfuncinset.C (asMathematicaName): added some more function
(string asMathematicaName): added some more function names. names.
2006-08-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org> 2006-08-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>

View File

@ -19,6 +19,8 @@ What's new
** Updates: ** Updates:
- Improve Computer Algebra System support.
- Add a wmf -> eps converter (bug 2845) - Add a wmf -> eps converter (bug 2845)
** Bug fixes: ** Bug fixes:
@ -37,5 +39,4 @@ What's new
* Miscellaneous * Miscellaneous
- Improved Computer Algebra System support.