On Wed, Sep 28, 2016 at 11:11 AM, Robert Beezer <
goo...@beezer.cotse.net> wrote:
> On Wednesday, September 28, 2016 at 10:57:44 AM UTC-7, William Stein wrote:
>>
>> Just to clarify -- What is the real problem you are trying to solve?
>
>
> Thanks, William. I'm building a converter to take MathBook XML source and
> turn it into SMC Sage worksheets. I can write out almost anything, so I'm
> using xFE20, xFE21, UUIDs, decorators, etc. to match the necessary format.
>
> I'd like to build a worksheet with a mix of HTML input cells and Sage code
> input cells. The student/reader experience when the worksheet is "opened",
> will be that all the HTML is rendered and visible as output cells, but none
> of the Sage is executed yet (except perhaps some setup).
>
> It is dawning on me as I write this, that maybe I just need to duplicate the
> HTML input inside an output cell with the thin JSON wrapper ("done", "html",
> etc.). I'll experiment, but perhaps that'll accomplish what I need/want?
> If you think so, and their are subleties I can't reverse-engineer, hints
> would be greatly appreciated.
That should work and be very easy to reverse engineer. Just take an
existing example and copy it. Be sure to make the output uuid's
unique. We really need to write a python library to do this asap
though... (maybe Hal Snyder <