Questions on Notebooks (*.nb, *.ma in earlier versions), structured interactive documents produced by Mathematica that can contain text, graphics, sound, calculations, typeset expressions, and user interface elements.

learn more… | top users | synonyms (1)

2
votes
0answers
49 views

How can I apply NotebookGet on invisible Notebooks?

My problem might be very specific, but can be quickly explained: First I create an invisible notebook nb by CreateDocument, then i apply NotebookGet on it to see its content, wich works fine! Now I ...
1
vote
1answer
43 views

Strange Issue with RowBox

Can someone explain why this notebook [RANGEWORKING.nb] ...
0
votes
0answers
46 views

Notebook does not open [duplicate]

When I save a simple notebook , with the sum 2 + 2 , it does not open at all or with double-click or by pressing CTRL + O. Have reinstalled Mathematica 3 times and did not work. I put the settings in ...
-2
votes
1answer
87 views

I can not open any notebook

I can not open any notebook. If I make a simple notebook with the sum 2 + 2 and save it, I can not open it again. Can anyone give me some suggestions for troubleshooting this problem? A problem ...
2
votes
1answer
46 views

What is the fastest way to get notebook CellGroups / Cells structure?

So the question is how to get this kind of information: from This is one of my ideas: ...
4
votes
2answers
99 views

Can I view a package as a regular notebook?

How can I open a package as a normal notebook, i.e. without the toolbars and formatting of the built-in .m file interface.
1
vote
0answers
25 views

Changing cell style in V10.0.2 [duplicate]

In Mathematica 10.0.0 and 10.0.1 I used to change cell style by putting the cursor anywhere in the cell and then invoking one the short cuts (Alt + 1, 2, 3, 4, 5, 6, 7, 8, 9) to change cell style ...
5
votes
1answer
99 views

How to move a cell up or down with a keystroke?

It is very useful during refactoring to move lines around. All popular IDEs or text editors have this feature (PyCharm, Vim, Sublime, etc..) for example in Xcode you press: ⌥⌘[ or ⌥⌘] to move lines up ...
0
votes
0answers
74 views

How to automate repetitive evaluation of a notebook from a parent notebook

I've got a code that I want to automate, but I'm not sure how. I have a Mathematica notebook that I need to run many times over, each time changing one variable and repeating. My idea was to set up ...
2
votes
0answers
69 views

Is there a notebook to create entries for OEIS?

Is there a notebook to create entries for OEIS? I seem to recall something like this a few years ago, but I haven't been able to find one. It might be from MathWorld. Any suggestions? Edit If I had ...
2
votes
0answers
103 views

Mathematica shift-enter problem

Would really appreciate if someone can help with this problem: When I first open a Mathematica note book, say you do 1+2 and press shift-enter. As expected, I get "3" as the output. Now suppose you ...
0
votes
1answer
64 views
3
votes
2answers
175 views

How to save all notebook outputs as pdf file

I have produced a lot of graphs and tables in my notebook. I am trying to save all these outputs as pdf file. As we know form Rodney and form Mr. Wizard , we can not use save as function. I have ...
1
vote
1answer
50 views

Programmatically selecting non adjacent Cells

One can of course Ctrl + MouseClick to select 1st and 3rd cell. But how to select non adjacent Cells programmatically? I was looking for neat examples here or in ...
2
votes
1answer
80 views

How can I make new outline cells be created above the current cell on return?

When you hit enter inside an item styled cell (e.g. Cell["", "Outline1"]), a new cell of the same type is created underneath the cell you are currently editing. ...
2
votes
2answers
51 views

How to programatically set options for a selected word?

I want to create a palette with buttons and have it apply to the selected word. No matter what combination I try it always applies it to the entire cell. Imagine that in the sentence: ...
0
votes
0answers
36 views

When printing a notebook in Mathematica 10, code sections do not wrap

I have a Mathematica 10 notebook where I am using code sections. The text in the code section does not wrap when printing. Is there a setting that I should use to allow the code to wrap?
2
votes
1answer
84 views

How to mimic Org-Mode with cell dingbats?

I love using org-mode to organize my to-do lists, the functionality is amazing, but it suffers from being stuck inside the emacs terminal... I'm hoping to replicate some basic features into a ...
5
votes
0answers
113 views

How to write markdown with Mathematica?

Usually I typeset with Latex and Compute with Mathematica and then copy the outputs as Latex code and insert them in Latex, so I have to switch between Latex and Mathematica frequently. Thanks to the ...
4
votes
1answer
131 views

How can you resize all the images in a notebook section?

I've pasted a large number of photos and they are too big which makes scrolling hard. Is there a way to automatically have mathematica size them to 10% or something reasonable without have to click on ...
4
votes
1answer
73 views

Getting the Box of a Button

I have a useful snippet of code that I use for anything in my Notebook that takes a while to execute and doesn't need to be executed for subsequent cells: ...
2
votes
1answer
81 views

How to dynamically filter cells in a notebook?

I have a notebook in outline form and a docked cell with a TextField[] for searching. I'd hide and show cells in a notebook to filter the cells based on the search string (any maybe type of cell and ...
0
votes
0answers
31 views

Possible bug in shallow representations of expressions in messages

I got the following message in Mathematica 10.0.2: I do not have questions about the message itself, but rather about its representation. The program was maninulating with mathematical expressions ...
0
votes
1answer
49 views

Issue with integration from 0 to infinity with constants [closed]

I am trying to take the integration for $\int_0^{+\infty}e^{-\alpha t}sin(\beta t)d t$. Here is a screen shot of what I did: The solution to this integeation should be ...
3
votes
1answer
113 views

How to execute a notebook in background

I am developing an algorithm that take time to return results. I thought if I could run this notebook in background and continue to develop the rest of my work. It is possible to do that?
0
votes
1answer
90 views

My matematica notebook dosen't work,its bring syntax error ,why?

i have many matematica notebooks and all of them are working clearly besides one which is the most important for me.There is my whole project.Please someone help me.What should i do???
5
votes
2answers
326 views

Adjusting size and positioning of math notation in a Mathematica notebook? [duplicate]

Writing mathematics in a notebook is OK, but consider the following image: In LaTeX, I can write: $$y^2=\frac{1+2\sin^{-1}x}{2}$$ which displays as: ...
2
votes
1answer
28 views

Setting Page Scale [duplicate]

When a notebook opens in Mathematica, the lower right corner allows me to set a percentage for the page, 150% being my preference for my old eyes. Is there a way to set all pages, including help ...
1
vote
1answer
38 views

Specify format to NotebookSave

When I save a Mathematica notebook using the front-end Save dialog, I can specify the format: However, the documentation for the NotebookSave command indicates ...
2
votes
2answers
126 views

Adding NotebookDirectory to $Path when notebook opens

I'm trying to get relative notebook paths work without evaluating $Path = Append[$Path, NotebookDirectory[]]; each time I open a notebook. A bonus would be to keep ...
9
votes
2answers
157 views

What are the purposes of functions in FrontEnd` context which are duplicates of those in System`?

I noticed that for notebook-related heads, there are usually a pair of same functions, one in System context, another in ...
6
votes
2answers
465 views

How Can Notebook Know When it Called by Another Notebook?

I would like a notebook to behave slightly differently depending on whether it is evaluated from another notebook; i.e., ...
2
votes
1answer
104 views

Mathematica notebook is corrupt

Well great, I had some work done (though it wasn't much, it was just laid out nicely) in a cdf file. My computer decided to shut down on my randomly while I was working on it (some kind of error). I ...
2
votes
1answer
86 views

Executing Multiple Notebooks at Once

I wish to run a few notebooks (with distinct contexts) at once using MMA 10 on Windows 8.1. I wish to run at least one of the notebooks interactively, adding and executing lines of code. If another ...
4
votes
1answer
281 views

“Choose how to enter input” - leave me alone

How to get rid of: I can't find the appriopriate entry in Option Inspector or in WolframPredictiveInterface
0
votes
0answers
39 views

Changing Default Notebook Window Magnification level [duplicate]

I have searched for an answer to this problem in Mathematica documentation, googling, and here on this Mathematica.SE forum. So far, no answer that I can find. When a new Notebook window is opened, ...
1
vote
1answer
63 views

working with notebooks ('looping' a notebook and storing the results of each step in another notebook)

A notebook contains a series of numerical calculations (numerical integrations, numerical solution of systems of equations etc). Many parameters are involved. The final result is in the form of a ...
1
vote
2answers
64 views

Set Options on a system function has effect on all notebooks

I have a Notebook A with default context: "Unique to this Notebook". In there I set an option: SetOptions[Interpolation, InterpolationOrder -> 1] This has ...
4
votes
2answers
81 views

Save imported sound into a notebook (so I can e-mail it)

At the end of my code I'd like to put an imported (wav) sound. I would then play it with EmitSound[my_sound] when this cell will ...
0
votes
1answer
103 views

Front-end: How can one programmatically extract window titles?

I would like to programmatically get the titles that appear at the top of notebook windows, particularly for notebooks that have not yet been saved (if they have been saved, I can get the information ...
1
vote
1answer
54 views

Converting a testing notebook to a notebook

I build a testing notebook and it got too slow and unreliable with many test cases. I want to have a new (classical) notebook with all the the inputs I have in the testing one. Is there an automatic ...
2
votes
1answer
51 views

Deleting empty cells and selecting cells matching a pattern

Is there any way for me to automatically select all cells that are completely empty? You know, those cells that you create but end up cutting what's in them and paste it somewhere else, so after a ...
1
vote
1answer
74 views

AutoGeneratedPackage Formatting

If you do Ctrl+Shift+o you open an option inspector. And then you can enable ...
2
votes
1answer
56 views

Identically styled cells from ToBoxes and Cell do not align

I'm trying to generate some worksheets using NotebookWrite so that I can control the page breaks, but have got stuck on the alignment as there appears to be a ...
4
votes
2answers
127 views

Display full path of current notebook on title bar?

Is there a setting in Mathematica notebook interface to get the title bar to display the full path to the current notebook?
7
votes
1answer
120 views

Notebook's WindowSize interference with contents' Dynamic ImageSizes

Consider the following MWE: ...
3
votes
2answers
135 views

Increase precision for a entire notebook

I am quite a newbie and it is taking me so much time to understand what I need to do to achieve something really simple and I still haven't found it. I run a dynamic model of a metabolic pathway in ...
2
votes
0answers
99 views

How to avoid the initialization cell evaluation dialog box?

I have a Mathematica notebook, a 940 NB file divided into 25 Sections. When I evaluate a cell with Shift+Enter, I always get a dialog box as shown below: Question: Is it possible to avoid it by ...
0
votes
1answer
39 views

How do I know if NotebookLocate did not find the cell tag?

Is there a way to programmatically detect whether or not NotebookLocate[{"file", "cell tag"}] has found the cell? And then if not found, stay at current selection ...
4
votes
1answer
69 views

Export notebook as epub?

Is there a way (preferably easy!) to have Mathematica export a notebook or CDF as an epub document, to be read on an e-reader? It would certainy seem possible to export as HTML, and then use ...