74

Prelude The items in this post are not generally regressions; they are simply changes and enhancements that may break code or cause problems in moving from one version to another. The work-arounds are offered as specific solutions to instances of incompatibility, not as recommendations of general practice. For example, Plot Themes are a powerful tool one ...


45

This behaviour has changed since that book was published. I am writing this additional answer to make it clear how Mathematica 9 searches contexts for symbols and that even the current version 9 documentation is incorrect in describing this. How symbol lookup actually works When you enter a symbol name such as x, Mathematica will check if a symbol with ...


43

I use this function getList[name_String] := Module[{options, idx}, options = Names[name <> "`*"]; options = ToExpression /@ options; options = {#, Options[#]} & /@ options; idx = Range[Length[options]]; options = {#[[1]], TableForm[#[[2]]]} & /@ options; options = Insert[options[[#]], #, 1] & /@ idx; options = Insert[...


38

I'll be totally honest with you and admit that I had no idea how these functions worked (or what the point of them was) for a long time, so you're not alone in your struggle trying to understand the documentation here. This is one of those things where you first need to build the right mental picture of the language before you can start making sense of the ...


30

Edit: This solution no longer works due to changes in the Entity framework. The "UnderDevelopment" EntityClass no longer exists. It's not part of EntityClassList["WolframLanguageSymbol"] or WolframLanguageData["Classes"] anymore. The symbols that are market [[EXPERIMENTAL]] in the documentation are in their own entity class of the "WolframLanguageSymbol" ...


28

Yes, it is possible: The idea is to look at the underlying cell expressions in the documentation for those string property tables. As I said already in my comment above, basically we have two different situations here: the trend since Mathematica V6 that many options are not symbols any more but rather strings. function arguments, that are given as ...


28

DocGen Paclet Note: the main function is no longer GenerateRefPages but rather GenerateSymbolPages The paclet can be gotten by running: PacletInstall["DocGen", "Site" -> "http://www.wolframcloud.com/objects/b3m2a1.paclets/PacletServer" ] Or by going here and just downloading it. For those interested there's a GitHub repo for it here but I am ...


28

Version 11.2 features a completely rewritten documentation search system. This version is incompatible with the search indices created by previous versions, nor can previous versions read the new indices. And for reasons of performance, the new system will generally ignore the old indices. Internal packages have been rewritten to produce both types of ...


27

While trying to debug this issue myself, I stumbled across Todd Gayley's name in the source of one of the documentation .m files and contacted him directly. Todd was super great to work with---and at the end of an hour of screensharing he provided an easy workaround. The workaround essentially short-circuits one tiny feature of a normal documentation search....


24

Possibly this way: << PrimalityProving` ?PrimalityProving`* or alternatively (see the copy&paste issue in the comments) ?"PrimalityProving`*" See also the help under ref/Information, subsection "Generalizations & Extensions". In some cases you have to provide a string argument: Information["*Values"]


24

The function you are looking for is Documentation`HelpLookup["some input"]. This is the function that is executed when you hit F1 (after the front end figures out what is under the cursor).


21

A Graphics object essentially describes a state-machine. Each object allowed in the primitive list has one of three actions associated with it add to state, display something while accounting for the current state, and save/restore state. Note, this can be modeled by a stack based system quite easily. According to the documentation, the first two make up ...


21

Here's a little thing you can use. First the code to compile the TOC: getTutorialURLs[] := SortBy[Length@URLParse[#, "Path"] &]@ Map[If[FileNameTake[#, {-3}] === "System", "", StringSplit[FileNameTake[#, {-5}], "-"][[1]] <> "/"] <> "tutorial/" <> FileBaseName[#] &]@ FileNames[ "*.nb", Prepend[ ...


20

Even though documentation indices built with Mathematica 8 or older are not compatible with Mathematica 9, indices built with 9 are compatible with 8 or older. And even though Mathematica 9 can choke up converting documentation notebooks, it has no problems generating documentation indices. So the workaround to points 1 and 4 in the question above is to ...


20

how to reproduce the default hashing behaviour when explicitly choosing a method Hash[1, "Expression"] (* 6568131406215528669 *) Hash[1, "Expression"] === Hash[1] (* True *) re-create the default hashing behaviour in different versions? Not possible as far as I know. The one-argument Hash implementation may change between versions. The ...


20

This is not a bug, the tick specification used in the documentation is incorrect. The tick specification in these examples is {bottom, left} which is the short form of {bottom, left, top, right} which was an older tick specification that was deprecated in v7 (according to the docs). But, it was allowed to continue to work until v10. The form you are ...


19

The old documentation center used to have index pages for things like tech notes, but that seems to be absent in version 12.1. But until they reappear... "Tech note" in 12.1 is not so much a first-class concept as it is a qualifier applied to tutorials. Tutorial types are identified by a certain style of Cell in the notebook that holds each documentation ...


18

Not an answer. Just screen shot. I booted up version 2.2 to verify the book result. And it does verify: The same result we get with version 5.2: Something changed since the book was written (screenshot from version 9 follows):


17

Using this webcrawler code from Wolfram site, and Guides page in online docs as the starting url: webcrawler[rooturl_, depth_] := Flatten[Rest[NestList[Union[Flatten[Thread[# -> Import[#, "Hyperlinks"]] & /@ Last /@ #]] &, {"" -> rooturl}, depth]]]; style = {VertexStyle -> White, VertexShapeFunction -> "Point", EdgeStyle -> ...


17

So I think the docs are mostly clear, if hard to visualize. Here's my version of such a table: { "Numerics" -> { "Negative Integer" -> -1, "Zero" -> 0, "Positive Integer" -> 1, "Negative Float" -> N@-\[Pi], "Positive Float" -> N@\[Pi], "Symbolic Constant (Pi)" -> \[Pi], "...


17

Although I haven't examined it to see how complete it is, putting Virtual Book into the search bar of the Documentation Center quickly found this: http://reference.wolfram.com/language/tutorial/VirtualBookOverview.html Which can be accessed locally with: tutorial/VirtualBookOverview


17

Are you interested in a Wolfram Workbench Update? No, because it is based on Eclipse, and I prefer IntelliJ IDEA. The Mathematica plugin for IntelliJ IDEA is absolutely great and fairly sufficient for what I do. Many of my (ex-)co-workers at WRI use(d) Wolfram Workbench and are(were) productive with it. I never particularly liked it because of Eclipse. (...


17

From Your First Wolfram Language Calculations: 2x means 2*x. Examples of no-space multiplication from Times: 0x evaluates to 0, and 0.0x evaluates to 0.0. ... Times threads element-wise over lists: In[1]:= 2{x,y,z} Out[1]= {2 x,2 y,2 z} In[2]:= {{a,b},{c,d}}{x,y} Out[2]= {{a x,b x},{c y,d y}} Update: As Sjoerd notes, according to Symbol, a ...


17

A simple example of the use of formal symbols is for mathematical tasks that require the use of dummy variables. Most functions like Plot will localize their dummy variables, but not all. For example, LinearModelFit will not work with symbols that already have a value assigned to them: x = 1; LinearModelFit[RandomReal[1, {10, 2}], {1, x}, x] (spits out ...


16

I will answer the technical part of the question - namely, how to get the entire graph. How one would go about analyzing and visualizing it, is another story. This will open and parse a given guide notebook, and get the links to other notebooks: ClearAll[getLinks]; getLinks[file_] := With[{nb = NotebookOpen[file]}, With[{result = Cases[...


16

As of Mathematica 9, multiple autocomplete templates are supported and the different templates are delimited by newlines. So for your example, you'll need to define them as: myfunc::usage = "foo[x,y,z] will combine x, y and z for you. foo[x,y,z,w] will be even better.";


16

I've been really shocked at how much the features supporting Associations and Datasets have changed my coding style. Association itself is very convenient, and a lot of useful functions (like Keys and Values) introduced for Associations also work with lists of Rules, and the way Append and Join work with Associations is very convenient, if slightly confusing,...


16

I have put to the test Leonid's second suggestion, ApplicationMaker by jmlopez, I have shared out an extended example here. It's a little library for rotation quaternions and rigid-body dynamics that illustrates the Dzhanybekhov effect. I created it from scratch by straight reading of the documents provided with ApplicationMaker (most of it in a very nice ...


16

One may also call up the old navigator palette with TreeBrowse`DocsNavigatorLookup[False]


16

Shortly: automatic behavior happens when you use a backtick `. I think there are multiple typos in docs for Get. I added Test2 dir and and Test2\init.m file to the first path in $Path. In my case Links dir. According to Get documentation <<Test2 should get it. It won't but <<Test2` will. Additionally this will work, even without SetDirectory: ...


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