Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7827

Nested Manipulate copies to clipboard as "grey box"

From Szabolcs Horvát <szhorvat@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Nested Manipulate copies to clipboard as "grey box"
Date 2012-01-14 22:06 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jesua3$cd4$1@smc.vnet.net> (permalink)

Show all headers | View raw


It seems a nested Manipulate will not copy correctly as a bitmap.

Here's a toy example:

Manipulate[
  Manipulate[
   Plot[Sin[k x]^n, {x, 0, 10}], {k, 1, 5}], {n, {1, 2, 3, 4}}]

Evaluate this, select the output cell, then choose Edit -> Copy As -> 
Bitmap.  I believe this is only available on Windows.  Then paste the 
bitmap back to the notebook to view it.

The inner Manipulate's contents will show as a grey box.

Is there a workaround for this?

Motivation: I am using 
FrontEndTokenExecute[FrontEnd`SelectionNotebook[], "CopySpecial", "MGF"] 
to obtain a rasterized version of the selection in the notebook.  I have 
not found any other reliable way to rasterize the notebook selection 
without changing the way it looks.


-- 
Szabolcs Horvát
Mma QA site proposal: http://area51.stackexchange.com/proposals/37304

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Nested Manipulate copies to clipboard as "grey box" Szabolcs Horvát <szhorvat@gmail.com> - 2012-01-14 22:06 +0000

csiph-web