507
votes
19answers
123k views

Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
109
votes
3answers
4k views

Programmatic formatting for Mathematica code - possible?

It seems to be both an interesting programming challenge and a very useful practical application to have a Mathematica program which would allow one to pretty-print Mathematica code, so that it is ...
9
votes
3answers
243 views

How to create a documentation page for a given message issued by a (user-defined) function?

I want to create properly linked documentation pages dedicated to specific messages issued by my own functions inside a package, similar to those for messages of built-in functions like ...
12
votes
1answer
211 views

Documentation Tools: Prevent rasterizing output cell

When building documentation using the Workbench, some of the output cells get fully rasterized. I assume this is done to save space. Can I turn this off, either globally, or on a per-cell basis? I ...
11
votes
1answer
190 views

Creating version specific notebook styles: decide based on whether version is at least 11.1

I am trying to clean up the appearance of user-generated documentation in 11.1. I believe in some cases I need to set options based on the front end version: use one value for 10.0-11.0 and a ...
8
votes
1answer
313 views

Fixing links to symbol pages with special characters made with Workbench

I am writing documentation for a package using Workbench v2.0 and Mathematica v9.0.1, and certain Symbols defined by my package have special (Greek) characters characters e.g. ...
7
votes
1answer
306 views

Merging documentation from Workbench with package coded outside Workbench

On the one hand, I have been writing my package (directly into the .m file) separately using the standard Mathematica front-end. My source .m files and the init.m files have the appropriate folder ...
6
votes
1answer
207 views

linking usage message to package documentation

I am trying to write documentation for a package I made, using Workbench. Let's say I have a function test, first I write a usage message as: ...
7
votes
1answer
201 views

What is the purpose of the Kernel and Application extensions in PacletInfo.m?

Wolfram Workbench has a graphical editor for PacletInfo.m files. It is possible to add a "Kernel" extension with Symbols, ...
5
votes
1answer
121 views

How do I create a notebook with the functionality of the Mathematica help system?

I'd like to create and distribute a notebook that functions very much like the help window that appears in Mathematica to provide documentation about functions, tutorials, and etc., but my content ...
5
votes
1answer
91 views

What do the contents of Index and SpellIndex folders do in applications?

In the built documentation folder of an application with Wolfram Workbench, there are two folders /Documentation/English/Index and ...