lyx_mirror/src/mathed
André Pönitz 6adb9c9122 remove unneeded inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4616 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 10:28:15 +00:00
..
.cvsignore read ChangeLog, a lot of whitespace changes. experimental use of libtool 1999-11-22 16:19:48 +00:00
BUGS next try, part I 2002-01-03 18:37:18 +00:00
button_inset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
button_inset.h First shot at inset-unification mathed & rest of the world 2002-06-24 15:51:35 +00:00
ChangeLog Move fontloader into lyx_gui stuff. Now Qt should compile out of the box 2002-07-12 03:05:13 +00:00
command_inset.C First shot at inset-unification mathed & rest of the world 2002-06-24 15:51:35 +00:00
command_inset.h First shot at inset-unification mathed & rest of the world 2002-06-24 15:51:35 +00:00
dimension.C forgotten files 2002-07-09 08:44:30 +00:00
dimension.h replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
formula.C remove unneeded inset 2002-07-12 10:28:15 +00:00
formula.h Preview code 2002-07-05 21:24:15 +00:00
formulabase.C math internal re-organization to prepare de-centralized dispatch 2002-07-08 06:39:40 +00:00
formulabase.h binom is binom is binom and choose is choose is choose ... 2002-07-04 11:00:51 +00:00
formulamacro.C binom is binom is binom and choose is choose is choose ... 2002-07-04 11:00:51 +00:00
formulamacro.h binom is binom is binom and choose is choose is choose ... 2002-07-04 11:00:51 +00:00
Makefile.am remove unneeded inset 2002-07-12 10:28:15 +00:00
math_amsarrayinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_amsarrayinset.h remove hard-wired association LaTeX macro <-> mathed inset 2002-07-11 09:34:58 +00:00
math_arrayinset.C fonts as insets 2002-05-30 07:09:54 +00:00
math_arrayinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_atom.C several smallish changes/bugfixes/left overs from Porto 2002-06-25 13:19:50 +00:00
math_atom.h several smallish changes/bugfixes/left overs from Porto 2002-06-25 13:19:50 +00:00
math_autocorrect.C *duck* 2002-06-18 15:44:30 +00:00
math_autocorrect.h First shot at "auto correction" feature in mathed 2002-05-24 08:29:16 +00:00
math_biginset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_biginset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_binaryopinset.C fonts as insets 2002-05-30 07:09:54 +00:00
math_binaryopinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_binominset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_binominset.h binom is binom is binom and choose is choose is choose ... 2002-07-04 11:00:51 +00:00
math_boxinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_boxinset.h remove unneeded member 2002-07-11 10:20:31 +00:00
math_braceinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_braceinset.h more robust lable parsing, convenience contructor for braceinset 2002-07-11 07:56:14 +00:00
math_casesinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_casesinset.h use a single function dimension() instead of three. 2002-07-08 16:20:53 +00:00
math_charinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_charinset.h remove "remove seemingly unneeded {} hack" 2002-06-28 09:40:40 +00:00
math_cursor.C more cosmetics 2002-07-10 07:15:36 +00:00
math_cursor.h math internal re-organization to prepare de-centralized dispatch 2002-07-08 06:39:40 +00:00
math_data.C *duck* 2002-06-18 15:44:30 +00:00
math_data.h *duck* 2002-06-18 15:44:30 +00:00
math_decorationinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_decorationinset.h most of the so far unapplied stuff from porto including proper support for 2002-06-24 15:37:14 +00:00
math_deliminset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_deliminset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_diffinset.C make a some members private 2002-07-08 14:57:12 +00:00
math_diffinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_diminset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_diminset.h replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_dotsinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_dotsinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_envinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_envinset.h New support for \begin{...}...\end{...} style environments 2002-07-09 09:46:31 +00:00
math_exfuncinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_exfuncinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_exintinset.C Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_exintinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_extern.C make a some members private 2002-07-08 14:57:12 +00:00
math_extern.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_factory.C Move fontloader into lyx_gui stuff. Now Qt should compile out of the box 2002-07-12 03:05:13 +00:00
math_factory.h fonts as insets 2002-05-30 07:09:54 +00:00
math_fboxinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_fboxinset.h most of the so far unapplied stuff from porto including proper support for 2002-06-24 15:37:14 +00:00
math_fontinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_fontinset.h small advances with \mbox 2002-06-04 09:06:04 +00:00
math_fracbase.C Wonder why Angus' compiler did not complain about this... 2002-03-22 15:50:50 +00:00
math_fracbase.h ws cleanup 2002-03-21 17:42:56 +00:00
math_fracinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_fracinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_funcliminset.C fonts as insets 2002-05-30 07:09:54 +00:00
math_funcliminset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_gridinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_gridinset.h fix #456 2002-06-24 18:10:01 +00:00
math_hullinset.C ascii export tweaking 2002-07-11 15:04:43 +00:00
math_hullinset.h preliminary work for \parbox support 2002-07-08 11:29:51 +00:00
math_inset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_inset.h replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_iterator.C ws cleanup 2002-03-21 17:42:56 +00:00
math_iterator.h ws cleanup 2002-03-21 17:42:56 +00:00
math_kerninset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_kerninset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_lefteqninset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_lefteqninset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_macro.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_macro.h fonts as insets 2002-05-30 07:09:54 +00:00
math_macroarg.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_macroarg.h fonts as insets 2002-05-30 07:09:54 +00:00
math_macrotable.C fonts as insets 2002-05-30 07:09:54 +00:00
math_macrotable.h get recently broken \mathcircumflex working again (hackish, proper fix in 1.3) 2002-04-03 10:45:32 +00:00
math_macrotemplate.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_macrotemplate.h fonts as insets 2002-05-30 07:09:54 +00:00
math_mathmlstream.C remove hard-wired association LaTeX macro <-> mathed inset 2002-07-11 09:34:58 +00:00
math_mathmlstream.h remove hard-wired association LaTeX macro <-> mathed inset 2002-07-11 09:34:58 +00:00
math_matrixinset.C fix crash due to wrong export of AMS's pmatrix etc in math-extern 2002-04-24 17:07:42 +00:00
math_matrixinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_metricsinfo.C using previews might be a good alternative to hard coding such diagrams... 2002-07-10 15:51:28 +00:00
math_metricsinfo.h using previews might be a good alternative to hard coding such diagrams... 2002-07-10 15:51:28 +00:00
math_nestinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_nestinset.h replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_numberinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_numberinset.h *duck* 2002-06-18 15:44:30 +00:00
math_parboxinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_parboxinset.h some code shuffling. New 'Dimension' class instead of passing around three 2002-07-09 08:24:33 +00:00
math_parinset.C move code from nestinset 2002-07-08 13:35:26 +00:00
math_parinset.h move code from nestinset 2002-07-08 13:35:26 +00:00
math_parser.C fix parser bug 2002-07-12 06:47:05 +00:00
math_parser.h killing MathType simplifies a few things... 2002-07-03 10:36:44 +00:00
math_pos.C ws cleanup 2002-03-21 17:42:56 +00:00
math_pos.h ws cleanup 2002-03-21 17:42:56 +00:00
math_replace.h *** empty log message *** 2001-11-16 11:24:55 +00:00
math_rootinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_rootinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_scriptinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_scriptinset.h replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_sizeinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_sizeinset.h more cosmetics 2002-07-10 07:15:36 +00:00
math_spaceinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_spaceinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_splitinset.C support for 'gathered', 'aligned', 'matrix', \overleftrightarrow, 2002-02-15 14:50:40 +00:00
math_splitinset.h ws cleanup 2002-03-21 17:42:56 +00:00
math_sqrtinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_sqrtinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_stackrelinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_stackrelinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_streamstr.C Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_streamstr.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_stringinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_stringinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_substackinset.C fonts as insets 2002-05-30 07:09:54 +00:00
math_substackinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_support.C remove unneeded inset 2002-07-12 10:28:15 +00:00
math_support.h remove unneede functions 2002-07-11 14:28:11 +00:00
math_symbolinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_symbolinset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_undersetinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_undersetinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_unknowninset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_unknowninset.h Geof Piroux's patch for Mathematica support 2002-07-01 11:17:14 +00:00
math_xarrowinset.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_xarrowinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_xdata.C replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_xdata.h replace (ascent, descent, width) triples by a structure 'dimension' 2002-07-11 11:27:24 +00:00
math_xyarrowinset.C using previews might be a good alternative to hard coding such diagrams... 2002-07-10 15:51:28 +00:00
math_xyarrowinset.h fonts as insets 2002-05-30 07:09:54 +00:00
math_xymatrixinset.C fonts as insets 2002-05-30 07:09:54 +00:00
math_xymatrixinset.h fonts as insets 2002-05-30 07:09:54 +00:00
preview.C preview as preview can... 2002-06-26 19:04:45 +00:00
preview.h Asymptotic approach to a well-designed graphics loader. 2002-06-28 11:22:56 +00:00
README deep iterators for math insets; 2001-12-05 17:50:18 +00:00
ref_inset.C math internal re-organization to prepare de-centralized dispatch 2002-07-08 06:39:40 +00:00
ref_inset.h First shot at inset-unification mathed & rest of the world 2002-06-24 15:51:35 +00:00
texify fix cursor font bug 2001-08-28 13:34:04 +00:00
textpainter.C ascii export tweaking 2002-07-11 15:04:43 +00:00
textpainter.h ascii export tweaking 2002-07-11 15:04:43 +00:00

Inset 'Xyz' is implemented by 'MathXyzInset' in 'math_xyzinset.[hC]'


Inset hierarchy:
                                   
                                   MathInset   
                                (abstract base)

                         /            |             \

              Dim                  Char                   MacroArg
         (thing that need       (for things formerly 
          the width_/ascent_     known as characters) 
          /descent_ cache)
        
          /             \

       Nest              Dots  Func  Space  Symbol Bigop Noglyph
  (for thing with      
   nested content)     

        |         \

      Grid        Decoration   Delim   Frac  Macro  Root  Script  Sqrt

      /   \

 Array    Hull
         (base for eqnarray/align/...)



There are only two "real LyXInsets" in here:

Formula       - containing a pointer to a  MathHullInset 
FormulaMacro  - containing a pointer to a  MathMacroTemplate