The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Attaching a notebook to a message
Replies: 5   Last Post: Jan 8, 2013 11:43 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
David Bailey

Posts: 714
Registered: 11/7/08
Re: Attaching a notebook to a message
Posted: Jan 7, 2013 11:04 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 07/01/2013 05:35, Frank K wrote:
> It worked on both Mathematica 8 and 9. Version 9 had a message saying it had updated the styling.

It is the creation of one of these objects that is a bit flaky under
9.0.0, because NotebookGet can generate junk in particular situations.

You can use an alternative for NotebookGet containing a workround:

NotebookGet1[nb_]:=(NotebookGet[nb]/.RowBox[x___]/;(Length[{x}]!=1 ||

An easy way to check, of course, is to reverse the process on the string
before posting it. Hopefully a version 9.0.1 will be out very soon!

Now we know it works, I should add a word of warning. Obviously it is a
good idea to turn off dynamic execution when using an 'attached'
notebook, unless you trust the sender.

David Bailey

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.