Tagged Questions
4
votes
2answers
155 views
Adapting “Find and Replace” functionality to work with Patterns
I was thinking if there is something like Find and Replace (Crtl+F) functionality adapted to work with patterns.
Probably not, but it seems possible to create this with some effort and skills in ...
2
votes
1answer
72 views
Fastest way to select the longest cell
I'm trying to learn low-level notebook programming and I have a question.
Is there faster way to select the longest cell in a notebook than this:
...
3
votes
1answer
73 views
How to replace a string within a selected region in a notebook?
I want to replace a string in a selected region/cell in mathematica notebook/package. I searched but didn' t get any result. I think it' s a quite common feature for editors/programming environments. ...
12
votes
3answers
236 views
Notebook vs. DocumentNotebook; display a Notebook inline, like a DocumentNotebook
If you evaluate a DocumentNotebook[] expression in the front-end, it nicely displays inline, inside of an output cell in the current notebook:
For my purposes, ...
4
votes
0answers
64 views
Is there a way to check whether two notebooks share the same variables?
When I code in Mathematica, I often re-use code from old notebooks which fulfilled a specific purpose; for example, one testing for soft matches in strings, or one that identifies outliers on a graph ...
5
votes
3answers
256 views
More structure in Source Code/Notebooks
Mathematica is great for small and quick projects and has a great syntax. However as soon as a project grows I run into trouble. How do you scale and maintain projects in Mathematica? What is beyond ...
20
votes
3answers
610 views
Are there suitable versioning systems for Mathematica notebooks?
I am considering a project using Mathematica and openCL. I know that the openCL C source code can be tracked.
Has anyone used a versioning site or software so multiple developers can modify a common ...
9
votes
2answers
347 views
How do I automatically evaluate a cell when a notebook is opened?
I'm trying to put together a GUI in Mathematica and need to evaluate one cell to kick that off. Is there a way to automatically evaluate that cell when the notebook is opened? Here is an example of ...
0
votes
1answer
190 views
Graphics copy paste
Background. I have a function ( stored in a package ) that creates 2D graphic images, its prototype looks like this:
...
11
votes
3answers
1k views
Programmatically generate packages from notebook files?
Currently, there are two ways I know of to generate a package (.m) file from a notebook file; one is to set the AutoGeneratedPackage option in the Option Inspector, ...