Tag Info

Hot answers tagged

9

By default, DynamicModule uses SynchronousInitialization -> True. This causes the initialization to be performed on the preemptive link, disabling any updates to the front-end. In particular, print statements, cell creation and dynamic box updates will all be deferred until the initialization completes. If we wish to monitor that initialization within ...


9

There are several ways to do that. Perhaps, the simplest is to do something like this: ClearAll[color]; SetAttributes[color, HoldAll]; color[_Export | _Import] := LightGreen; color[_Set] := LightBlue; color[_] := None; and then $Pre = Function[ code , SetOptions[ EvaluationCell[], Background -> color[code]]; code , ...


5

I think the better solution that I find so far is shown as below: SetOptions[SelectedNotebook[], PrintingStyleEnvironment -> "Printout", ShowSyntaxStyles -> True]


5

Why not take advantage of the fantastic on-board tool "Slide Show"? Edit I'm using "10.0 for Mac OS X x86 (64-bit) (June 29, 2014)" Slide Show has two Modes. Edit and Presentation. On Menue>Palettes you'll find the Palette Slide Show Just use this Palette to Start, Stop, Create ... Setttings. The Screenshot shows a Slide Show file in some (?) ...


3

I forwarded this question to Wolfram technical support and have received a reply. I quote the relevant part (slightly edited for clarity). The interruption of evaluation is intentionally removed [from the Evaluation menu in V10], but if you still would like to use it, you can use the keyboard combination: Option+Cmnd+.. ... filed a bug report for ...


2

The method described in File-name completion for custom functions can be used to complete the "description" argument in your examples, but it won't work for the curried parameters and variables. Note that the method does not appear to support dynamic computation of completion choices, so it cannot be used to generate the list directly from a symbol's ...


1

1. Is this a bug or a feature? My opinion is that it is not a bug. Different selections yield different inputs, so different outputs are at least possible. On the other hand, I'm not sure I would call it a feature. It strikes me that users will wonder why they cannot easily get an image of what they see. "Save Selection As..." seems to consistently show ...


1

Try manually changing the corresponding option in the "Option Inpector". You can open it by going to Format -> Option Inspector in the menu. The option is called TradiotionalFormEvaluationWarning and you should set it to False. Make sure you are on "Global Preferences" in the leftmost dropdown. Screenshot:


1

As pointed in the comments by @Nasser, Monitor needs a front end, so it should be outside ParallelTable. It also needs a variable that acts as a "counter" and that is shared among all the kernels participating in the calculation, for that you can use SetSharedVariable. Therefore, a solution to your question would be: SetSharedVariable[iter] iter = 0 ...



Only top voted, non community-wiki answers of a minimum length are eligible