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

View File

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