Things to do before GUI-developers can start their work
Subject: Things to do before GUI-developers can start their work
From: Martin RUBEY
Date: Wed, 11 Jun 2003 17:14:14 +0200 (CEST)
On Wed, 11 Jun 2003, C Y wrote:
> > This sounds very much like the thing I'm much afraid of: notebooks I
> > cannot read.
>
> No, it should still be human readible, except for things like included
> plots. Think of it as html, except simpler and used only to define
> document structure of a notebook for Maxima. Something like:
>
> <min>
> integrate(sin(x),x)
> </min>
> <mout>
> cos(x)
> </mout>
>
> And just have emacs grey out anything in <>. What would you hope to
> see when you open it in emacs? To a certain extent, storing more
> information in the file limits how readible it can be and still do the
> job.
OK. If the maxima commands stay as they are and the additional information
is not much more than one line per maxima statement, its ok. I'd be happy
with that.
what I was afraid of is the following:
(Header skipped)
Notebook[{
Cell[BoxData[
\(<< DiscreteMath`Combinatorica`\)], "Input",
FontSize->14],
Cell[BoxData[
\(Map[TableauxToPermutation[First[#], \ Last[#]]\ &,
Flatten[Outer[List, Tableaux[{2, 1}], Tableaux[{2, 1}], 1],
1]]\)], "Input",
FontSize->14],
Cell[BoxData[
\(Map[
TableauxToPermutation[ConstructTableau[#],
ConstructTableau[InversePermutation[#]]] &, \
Permutations[{1, \ 2, \ 3}]]\)], "Input",
FontSize->14],
Cell[BoxData[
\(TableauxToMinor\ [t1_, t2_] := \ \[IndentingNewLine]Module[{d, \ x},
\
d = Max[t1, \ t2];
x\ = \ Array[
y, {d, d}]; \[IndentingNewLine]\[IndentingNewLine]Product[
Module[{m, s1, s2}, \[IndentingNewLine]s1 = \
Partition[Complement[Range[d], Extract[t1, i]],
1]; \[IndentingNewLine]s2\ =
Partition[Complement[Range[d], Extract[t2, i]],
1]; \[IndentingNewLine]m\ =
Transpose[Delete[x, \ s1]]; \[IndentingNewLine]m =
Delete[m, \ s2]; \[IndentingNewLine]Det[m]], {i,
Length[t1]}]]\)], "Input",
FontSize->14],
I think you get the picture.
Martin