# Tag Info

14

V11+ notes Stylesheet solution does not seem to work and the section repeatedly opens and closes. I am not sure why yet. If you are fine with details section permanently opened you can edit "Notebook" style and add: NotebookDynamicExpression :> Refresh[ CurrentValue[EvaluationNotebook[], {TaggingRules, "Openers", "NotesSection"}] = True , None ] ...

9

One can read the current setting using the undocumented symbol $InternetProxyRules. The undocumented functions to change the proxy settings are in the PacletManager context. The "Use proxy settings from my system or browser" setting is equivalent to PacletManagerUseInternetProxy[Automatic] the "Direct connection to the Internet" setting is equivalent ... 9 You can use the UnitSystem option of EntityProperty, EntityValue[Entity["Planet", "Earth"], EntityProperty[ "Planet", "Radius", UnitSystem -> "Metric" ] ] (* Quantity[6371.008, "Kilometers"] *) Why am I talking about EntityValue when you asked about PlanetData? Because PlanetData calls EntityValue under the hood (as do all newer XXXData ... 8 In Mathematica 12.2 the way to enter underscripts is Ctrl+Shift+, (comma). At least on macOS. 6 For removing a misspelled word from the correct word list, go to Edit->Preferences, select the Advanced tab, select Open Option Inspector, lookup/search for SpellingDictionaries, click on the edit button for the CorrectWords entry, highlight the incorrect entry and select remove. 6 I know there are discussions on this site about version control, etc. And it appears that CellChangeTimes are used for this purpose, but how They have nothing to do with version control. You might want to disable it so that it does not affect version control systems. As an individual user working alone, is this data potentially useful to me? If you ... 6 I use the following solution for this problem: I have a package called AddPath which can add pre-defined directories to the$Path. This package is placed in $UserBaseDirectory/Autoload, so it gets loaded on parallel kernels as well. I put another very basic package in Autoload which simply contains Needs["AddPath"] AddPath[{"Pack1","Pack2",...}] Then I ... 5 I recommend creating a palette with a button that can insert the code for you. Then save the palette and make it easy to access through the palettes menu. Create palette Suppose your code is (for sake of simplicity), code1 = HoldComplete[1+1]; The create the palette: CreatePalette[ Column[{ PasteButton["Template1", Defer @@ code1] }], ... 5 Usually by the time the front end gets something, aborting or interrupting interactively is useless, so I won't suggest that. IF I suspect a problem beforehand, I would use Short or something similar. For the type of question you are posing, I would try the Villegas-Gayley pattern to inject a high priority DownValue into MakeBoxes, flagging on something ... 5 This is most likely due to MathLink. The MathLink protocol can transfer information in several ways, most commonly using shared memory (the default on the local machine) and TCP/IP (when different computers communicate). Even if you just launch an installable MathLink program separately (not using Install), first it will prompt you for the name of a new ... 5 Preamble/Disclaimer: I will present my thoughts rather than giving a definite answer in the Wolfram language, focused solely on configurator technology/methodology, and will give some humble suggestions. I have NO knowledge about ASP (Answer Set Programming) and in addition have absolutely NO knowledge about the scope and organization of your project. I’m ... 4 For a different approach, beginning with version 12 you can use the EXPERIMENTAL function GeometricScene Clear["Global*"] Show[ GeometricScene[ {"O" -> {0, 0}, a -> {0, 1}, b -> {1, 0}, α -> {0, 0.7}, β -> {0.8, 0}, α2 -> {1.5, 0.7}, (* chosen outside the plot range *) β2 -> {0.8, 1.5}},(* ... 4 Answer by ciao shows a way to edit user-supplied list of correct words via GUI. The same can be done via setting$FrontEnd option: Options[$FrontEnd, SpellingDictionaries] {SpellingDictionaries -> {"CorrectWords" -> {}, "IncorrectWords" -> {}, "Suggestions" -> {}}} The meaning of the sub-options is documented: "CorrectWords"->{"word1",... 4 This works on my system (v7, Windows 7): Cases[ NotebooksMenu /. Options[$FrontEnd], FrontEndFileName[{_, path__}, name_, ___] :> FileNameJoin @ {path, name}, {3} ] The first _ in {_, path__} is to skip $RootDirectory; if you want to preserve$RootDirectory leave it out. To create a palette with buttons to open these Notebooks you may use: ...

4

The directory you are mentioning is what $UserBaseDirectory on a linux machine usually is set to. AFAIK the content of that is identical (despite some subdirectories for OS specific binaries) for other OS. There is also a similar directory$BaseDirectory which will contain similar data for all users on that system. Here is a description of some of the ...

3

sorry for answering so late but i just saw the question. Actually it is quite simple. Just go to evaluation>kernel configuration options add a new kernel and fill like this: replacing path/to/your/perm/key, yourec2user and your.ec2.address with your information. notice that we are using macs native ssh instead of mathematica's java ssh. the -i option is ...

3

According to the "Front End" section of Configuration Files for the Wolfram System, user preferences, including those set by Options Inspector, are located in $UserBaseDirectory in the file "/FrontEnd/init.m". This is a large file, and the options set by Options Inspector are at the end. The list appears to contain all options, whether changed by the user ... 3 There seem to be at least two ways of changing the MATHEMATICA_USERBASE directory variable, at least in the Windows XP environment, each of which has its own uses, and two of which follow: 1. Open a “Command Prompt” window; issue a “Set” command: Set MATHEMATICA_USERBASE=D:\WorkB\Mathematica, for example; Open MathKernel within the Command Prompt window ... 2 Based on Kuba's findings in this and this answers and also thanks to user1950580 who uncovered FrontEndPrivateSetCurrentValue (his answer was the only place where this function was listed), here is my modification of Kuba's stylesheet approach which works well with version 11.1 and is tuned on to influence other versions installed as little as possible. In ... 2 I think what you want is:$Post = ToString[#, FormatType -> InputForm] &; But this does not affect Print[]. Of course, you can always define your own print function which does exactly what you want. That is what I recommend here. Do something such as, for example: print[x_] := Print[ToString[x, FormatType -> InputForm]];

2

Closely related: How to customize the package editor interface? You can create a ReverseColor.nb in \$UserBaseDirectory/SystemFiles/FrontEnd/Stylesheets, customize it and point it to ReverseColor.nb from$InstallationDirectory. $path = FileNameJoin[{$UserBaseDirectory, "SystemFiles", "FrontEnd", "StyleSheets", "ReverseColor.nb"}] If[ FileExistsQ @ $... 2 You can typeset a directed edge between nodes x and y as x -> y or x \[DirectedEdge] y or DirectedEdge[x, y], and an undirected edge as x <-> y or x \[UndirectedEdge] y or UndirectedEdge[x, y]. When used with rules we need to parenthesize directed edges as in EdgeLabels -> {(x -> y) ->5} to force correct parsing: bpGraph[Join[keys1, ... 2 These strange behaviors can be produced by: SetOptions[EvaluationNotebook[], FrontEndReturnCreatesNewCell -> True] SetOptions[$Output, FormatType -> OutputForm] or SetOptions[EvaluationNotebook[], CommonDefaultFormatTypes->{"Output"->StandardForm}] It's quite strange for a new Wolfram Mathematica installation to be like this. I'm not ...

2

{a, b} = MapThread[Graphics[{#, Disk[], White, Inset[Style[#2, FontSize -> Scaled[.5]]]}, ImageSize -> 40] &, {{Blue, Red}, {"α", "β"}}]; Deploy @ DynamicModule[{pt1 = {0., .8}, pt2 = {.8, 0}}, Graphics[{EdgeForm[Black], FaceForm[], Triangle[], FaceForm[Opacity[1]], Locator[Dynamic[pt1, (pt1 = {#[[1]], .8})...

1

initURL = CloudExport["$myStart = 42;", "Text", "init.m", Permissions -> "Public"] and then CloudImport[initURL , "Package"] will evalaute$myStart to 42

1

Try putting this in an initialization cell in your notebook. Module[{val, update}, update = If[BooleanQ[val = ToExpression[Environment["SAVEABLE"]]], val, False]; CurrentValue[EvaluationNotebook[], Saveable] = update]

1

Place the code in your init.m file. It will then be run each time the kernel is started. On Linux the init.m file is in ~/.Mathematica/Kernel/. I forget where it is on Windows but just look at the output of $Path and you will be able to find the "Kernel" directory within your account directories. 1 Still doesn't work in v11.2: This is a response to elbOlita: 1 The answer to your question is system dependent. The value of$InitialDirectory is very different on OS X, say, than on Windows or Linux. I recommend you evaluate ?"*Directory" The result is an array of buttons, each -- when clicked on -- will give you a brief description of the Mathematica symbol it displays all of which will have some relation to ...

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