Questions tagged [front-end]

Questions related to the Mathematica front-end (graphical user interface).

3
votes
0answers
48 views

How to make print messages show up immediately on console when inside a long loop?

I noticed something changed, I am not sure when this started, if it is with 12.0 or 11.3. I like to use Print inside either Do ...
1
vote
1answer
39 views

Adjusting cell hierarchy?

I'm very much a beginner in Mathematica, so first of all sorry to waste you time with my problem. To learn the cell-structuring of a project I'm working on using the different format types available. ...
2
votes
1answer
36 views

Missing ticks and numbers on a plot when using JLink + Mathematica 11.3

I am facing a pretty random problem using JLink (Java) connected to a Mathematica 11.3 kernel and front-end. Basically I want to get an image using the JLink Java method ...
7
votes
0answers
102 views

How to make version 12 print Root objects to screen normally as in earlier versions?

From clean kernel, when typing result = Reduce[2 d^2 == -((2*(1 + d) + ((4 d^3)/(1 - d)))*(d - 1)),d] Here what version 12 displays on the screen, compared to ...
1
vote
0answers
31 views

How to undo “do this for all notebooks” when offered to revert or keep updated styling of older styled notebooks?

Check out this old question: How to stop V10 asking to continue with updated styling each time I open a new notebook Cool, right? But what if you checked "do this for all notebooks", naively ...
0
votes
0answers
61 views

How to increase font size in front-end in Mathematica 12?

In Mathematica 11 it was very easy: Inspector options (Global Preferences) -> Global Options -> PrivateFrontEndOptions -> XDefaultApplicationFont. Then change for example for 14pt: "Bitstream Vera ...
4
votes
1answer
52 views

Dynamic InputField with syntax highlighting?

I'm trying to create a notebook where a user can enter a Mathematica expression, and its syntax is analyzed (number of tokens, compressed size, etc.). Trying this answer, ...
7
votes
1answer
143 views

TraditionalForm-like typesetting in Jupyter notebook

One of the nice thing about running Mathematica codes in the front-end, is that one can attach custom typesetting rules to the user-defined symbols. Then, setting the format type of new output cells ...
6
votes
0answers
101 views

How to save animation generated in Jupyter notebook?

I'm playing with the Free Wolfram Engine for Developers together with Wolfram Language kernel for Jupyter notebooks. To my surprise, Manipulate/...
3
votes
1answer
109 views

How to execute this code on startup?

Every time I open a new notebook I have to manually evaluate this code in that notebook. In order order to stop my cursor moving to a new cell. How would I automate this? I would love this ...
2
votes
0answers
24 views

Almost unreadable input assistant text using the official stylesheet “ReverseColor”

When I use Mathematica's ReverseColor the input assistant is shown in almost the same color as the block's background. (Grey tones). See picture below: Can this really be true? Or is it a bug on my ...
45
votes
4answers
1k views

How to add a front-end to the free Wolfram Engine?

https://blog.stephenwolfram.com/2019/05/launching-today-free-wolfram-engine-for-developers/ http://www.wolfram.com/engine/ The Free Wolfram Engine for Developers is available for pre-production ...
0
votes
2answers
26 views

Possible to create an input cell containing Graphics/Graphics3D without Hold?

I am trying to implement a function that takes a Graphics instruction as its argument and then duplicated it in a new InputCell. ...
2
votes
0answers
37 views

How to terminate login screen to Wolfram cloud without rebooting Mathematica itself?

I wanted to try an example here NFourierTransform, so copied the example and pasted it into my notebook in my PC. I get a popup windows asking me to login to the Wolfram cloud. I did not want to do ...
1
vote
0answers
66 views

Why is my group opener a mess? (Version 12.0) [closed]

I am using Version 12.0, and found the arrow for the group opener is a mess. What happened?
8
votes
2answers
148 views

Query inside Dynamic triggers continuous high CPU load for FE

Here is a (vicious) problem I am able to reproduce with v12 and v11.3 (previous versions not tested) and OSX. This is a minimal example to demonstrate it (even if it seems useless here I do need <...
6
votes
0answers
46 views

Graphics Primitive Selector

Goal and motivation I want to build something that would intuitively work like: Graphics @ PaneSelector[{True -> something, False -> {}}, Dynamic @ show] ...
2
votes
1answer
111 views

Mac Touch Bar and Hidden Characters

I am reposting this question (Translate key events to nothing?) hoping to resolve an issue that is causing me no end of, bug chasing. Arggh, Help. On a Mac with a touchbar, if my finger slips and ...
1
vote
0answers
33 views

Split window appears when changing magnification

Upon opening Mathematica, the notebook contents appear very large (screenshot here ). Clicking the magnification button in the bottom right corner splits the window instead of just changing the size ...
2
votes
1answer
110 views

How to change the front-end's widget style on Linux?

In previous versions there used to be an option called XDefaultApplicationStyle in the Inspector. This option in no longer present in Mathematica 12. How can one change the widget style from (I think) ...
2
votes
0answers
203 views

Mathematica 12.0.0 crashes on second 'Quit[]'

I am trying to develop a module, and run 'Quit[]' from within a cell in a notebook to clear all symbols before reloading the module that I have modified. The second time I do this after starting ...
3
votes
1answer
35 views

How can I resolve the entire set of style options for a notebook?

Given a NotebookObject I'd like to know what settings all of its Cells have. This could be useful if I needed to distribute my ...
2
votes
0answers
35 views

Problem exporting vector graphics (PDF) in Mathematica Notebook Front-End using remote kernel on linux

I'm not being able to export vector graphics images (especially PDF) in a Mathematica Notebook Front-End in Windows 8.1 using a remote kernel on a Linux server. I can, however, export Raster Image ...
1
vote
1answer
31 views

Access system selection colour

On some operating systems it is possible to customize selection colours and other GUI colours. I have set yellow for mine: Is it possible to retrieve this colour in Mathematica, so that it can be ...
6
votes
2answers
77 views

Store Dynamic-accessible hidden metadata in a cell

Is there a way to store metadata in a cell in such a way that it can be accessed with Dynamic? Think of e.g. how ExternalLanguage cells work. We can select whether ...
4
votes
1answer
564 views

Limit the amount of RAM Mathematica may access?

Trying to solve a differential equation numerically, I noticed that Mathematica used up all RAM to the extent that my operating system (Windows 10) lost responsiveness and hung up. As a result I had ...
6
votes
1answer
36 views

Can I reimplement something like TogglerBox?

As a purely academic exercise can I make a box structure that'll toggle between two views when clicked and that doesn't ever depend on Dynamic or ...
1
vote
0answers
42 views

Problem with ssh -Y

I ssh -Y to the remote Linux machine and run "nohup mathematica&" and use the frontend graphically for a long time. Then, it disconnected. I login back and see that the Mathematica and ...
2
votes
1answer
56 views

Why can't I execute other commands while the dialog is running?

Bug introduced in v10.4 or earlier and persisting through 11.3 CASE:4226661 The code is from the following video: http://www.wolfram.com/broadcast/video.php?sx=Ian%20Johnson&v=2076 ...
7
votes
1answer
113 views

Strange behavior of Out[]

Let's create two notebooks external.nb and primary.nb. Then call the external.nb notebook from the primary.nb and investigate values of Out[ ]. The context of the external notebook is not important, ...
3
votes
1answer
96 views

Changing Color of error messages

I would like to change (from the stylesheet) the colors of the error messages. For example, trying to evaluate Solve[wrongsyntax = 0, var] gives an obvious error ...
2
votes
1answer
47 views

Update timestamp when saving [closed]

I re-worked a bit the solution for creating a timestamp in a previous post ...
2
votes
1answer
46 views

Using a FrontEndToken in an init.m file

I'm trying to create Menu Command that selects all cells in a notebook and closes them. I am able to select all the cells but cannot close them. Below is my attempt I placed in an init.m file. <...
2
votes
0answers
50 views

Is there a way to cancel a search in Mathematica?

Is there a way to cancel a word search in Mathematica initiated via the Find and Replace menu?
0
votes
1answer
24 views

Set the ClosingSaveDialog to False

I would like to stop Mathematica from showing the "Save Changes To" dialog whenever I try to close a notebook. I tried changing this from the Option Inspector by setting the losingSaveDialog -> False ...
2
votes
1answer
66 views

A stylesheet problem

I've run into a problem with a private stylesheet that I'm struggling to understand and resolve. The issue is that my notebook does not appear to always respect the values for ...
5
votes
2answers
55 views

SelectionMove within a GridBox?

I want to interactively manipulate the contents of a GridBox using keyboard commands. To approach this I need to control selection with something like ...
5
votes
1answer
48 views

How to set “SymbolContextStyles” for `$Context` symbols?

How to change the font colour of symbols defined in the current context (e.g. $Context) from black to some other colour, say purple? There is a ...
2
votes
0answers
40 views

Translate key events to nothing?

My Macbook Pro has a touch bar which is causing me to make a bunch of hard-to-find errors If my finger mistakenly hits the F3 through F12 positions on the touch bar, the front end inserts an ...
0
votes
0answers
21 views

Remove selected user definitions from autocompletion

Is it possible to remove selected user definitions from autocompletion list? E.g. several variables are defined with similar names: ...
2
votes
0answers
32 views

How can I move the cursor in a notebook using page up / page down?

When I am editing a notebook, currently when I hit the page up key, the cursor stays stationary. Same for page down. How can I connect page up / page down to the cursor? I want to be able to hit ...
5
votes
1answer
87 views

Code editor automatically forcing new line unnecessarily

Sometimes, Mathematica starts a new line of code, even though there is still enough space. For example, I have: ...
5
votes
1answer
48 views

IntervalSlider and updating function specification

IntervalSlider seems to ignore Dynamic's second argument: ...
8
votes
0answers
82 views

Current $Context of a given notebook

nb = CreateDocument[{Dynamic@$Context}, CellContext -> Notebook] It will show Notebook$$22$93500` or something similar. How ...
1
vote
1answer
28 views

How to create a notebook dialog that can receive contents dynamically?

When coding in notebook, I'm trying to show result(s) in a Single Notbook Dialog by this, ...
0
votes
0answers
28 views

Cursor / edit text in 11.3

I recently updated to 11.3 from 11.2 and am finding the most annoying problem: After typing out an input expression and evaluating it, I cannot immediately edit the input cell. Hovering over the ...
3
votes
0answers
94 views

Mathematica 11.3 crashing on either startup or after typing in a notebook [closed]

I have been having an issue with my Mathematica 11.3 installation. Often after running a notebook for a long time, my Mathematica will crash suddenly for strange reasons like just typing in the ...
0
votes
0answers
26 views

Can FrontEndTokenExecute[“Close”] work without a pop-up window?

I wanted to make the notebook automatically be saved and closed after an evaluation of all cells. So, I found a way to add at the end of the code: ...
7
votes
1answer
92 views

Why doesn't 'Abort evaluation' properly work when NotebookEvaluate is executed?

The following procedure can be easily aborted using Evaluation > Abort Evaluation menu item: Do[j + k, {j, 1, 10000}, {k, 1, 10000}] But it is not possible if <...
3
votes
0answers
81 views

Why does Mathematica indent comments the way it does?

Whenever I type multi-line comments in Mathematica, the standard editor automatically performs indentation. I find the indentation rather curious and annoying, with some example frustrations posted ...