Title: Mathematica Toolbox
Author: C. E.
Published: <strong>10 de juliol de 2015</strong>
Last modified: 27 d'octubre de 2018

---

Cerca extensions

![](https://ps.w.org/mathematica-toolbox/assets/banner-772x250.png?rev=1195993)

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/mathematica-toolbox/assets/icon-256x256.png?rev=1196015)

# Mathematica Toolbox

 Per [C. E.](https://profiles.wordpress.org/c-e-1/)

[Baixa](https://downloads.wordpress.org/plugin/mathematica-toolbox.zip)

 * [Detalls](https://ca.wordpress.org/plugins/mathematica-toolbox/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/mathematica-toolbox/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/mathematica-toolbox/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/mathematica-toolbox/#developers)

 [Suport](https://wordpress.org/support/plugin/mathematica-toolbox/)

## Descripció

Mathematica Toolbox adds a set of shortcodes that can do Mathematica code highlighting,
CDF embedding, and more. For detailed information about all the shortcodes please
visit the documentation:
 [http://cekdahl.github.io/MathematicaToolbox](http://cekdahl.github.io/MathematicaToolbox)

If you would like to control WordPress programmatically from a Mathematica notebook,
check out the Wolfram Language WordPress XML-RPC client:
 [http://github.com/cekdahl/wl-wordpress-xmlrpc-client](http://github.com/cekdahl/wl-wordpress-xmlrpc-client)

**Syntax highlighting and formatting**

 * Uses the same highlighting script that is used on [Mathematica.StackExchange.com](http://mathematica.stackexchange.com)
   and on [Wolfram Community](http://community.wolfram.com).
 * Preserves code indentation and prevents WordPress from inserting `<br>` and `
   <p>` into code.
 * Replaces Wolfram Language character codes such as `\[Alpha]`, `\[Gamma]` etc.
   with their corresponding characters.

**Embed Wolfram technologies**

 * Easily embed CDFs in any post or page.
 * Retrieve and display an image from a Wolfram Cloud API.
 * Retrieve and display raw data from a Wolfram Cloud API.
 * Display a link to the documentation of a Wolfram Language function.

**Retrieve Mathematica.StackExchange data**

 * Show a box with profile information
 * Create links to questions and answers based on their IDs
 * Make arbitrary requests to the Mathematica.StackExchange API

## Captures

 * [[
 * CDFs can be included in WordPress posts, as well as data and images from Wolfram
   Cloud APIs.
 * [[
 * There are two different ways to include highlighted code blocks, but they produce
   the same result. Character codes such as `\[Alpha]` get replaced automatically
   with their corresponding characters.
 * [[
 * Handy shortcodes can render usernames and links to the online documentation.
 * [[
 * Shortcodes that interface with the Stackexchange API can retrieve information
   about a user. `[mma_se_profile_box user_id="731"]` creates the profile box seen
   in the image.
 * [[
 * Answers specified by IDs, retrieved from the Stackexchange API.
 * [[
 * The top metabox is the “toolbox” which the plugin is named after. A click on 
   one of those buttons inserts the corresponding shortcode into the editor. Below
   the toolbox there is an example of code in custom post fields, which can be included
   in the post using `[wlcode field="example"]` and `[wlcode field="glyphs"]` respectively.

## Instal·lació

 1. Upload the folder `Mathematica-Toolbox` to the `/wp-content/plugins/` directory
 2. Activa l’extensió mitjançant el menú ‘Extensions’ del WordPress

You should now be able to use any of the shortcodes. If you forget what they are
you can use the buttons that should have appeared in boxes underneath the text editor
to insert shortcode templates into the text. Either box can be hidden using the 
screen options pane. For more information, read the documentation:
 [http://cekdahl.github.io/MathematicaToolbox](http://cekdahl.github.io/MathematicaToolbox)

## PMF

  Where can I find more information about how to use this plugin?

Detailed information about all features is in the documentation:
 [http://cekdahl.github.io/MathematicaToolbox](http://cekdahl.github.io/MathematicaToolbox)

  Something is not working, what should I do?

If the problem cannot be solved with the information in the documentation I will
be happy to try to help you if you post a message under the support tab here in 
the plugin directory.

## Ressenyes

![](https://secure.gravatar.com/avatar/0cd574fc69bb7f78c664c90fbb6a131c59d23216d7c87e2bb33da8930470cce9?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-2904/)󠁿

 [jhmadden](https://profiles.wordpress.org/jhmadden/) 3 de setembre de 2016

Works as advertised. Simply upload you .cdf to your media library, copy the link
to it, paste link in the template. CDFs can be finicky to get displayed properly
but thats on the mathematica side. Link to my first example here Edit: Forgot to
mention: It should be noted that the 2 star review was based on a problem that turned
out to be unrelated to this plugin.

![](https://secure.gravatar.com/avatar/849eda91993b3d5058214b5d12fe9cbf655a28d7f2e639ec70155cecc8667055?
s=60&d=retro&r=g)

### 󠀁[CDF does not format well](https://wordpress.org/support/topic/cdf-does-not-format-well-1/)󠁿

 [0brane](https://profiles.wordpress.org/0brane/) 3 de setembre de 2016 7 respostes

I followed the StackExchange posting to use <code>[WolframCDF attributes]</code>
around Mathematica statements after upgrading to WordPress version 4.0 and 4.0.1.
This worked using the WolframCDF plugin (see http://mathematica.stackexchange.com/
questions/66311/wolfram-cdf-player-not-working-anymore-in-wordpress-v-4-0-1 ). The
CDFs do not display correctly with Wordpress version 4.3.1 so I switched to the 
Mathematica Toolbox plugin. The cdf still does not display properly and the font
still do not match the font family and size defined in the CDF.

 [ Llegiu totes les 2 ressenyes ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/)

## Col·laboradors i desenvolupadors

«Mathematica Toolbox» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ C. E. ](https://profiles.wordpress.org/c-e-1/)

[Traduïu «Mathematica Toolbox» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/mathematica-toolbox)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/mathematica-toolbox/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/mathematica-toolbox/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/mathematica-toolbox/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/mathematica-toolbox/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

**Version 1.0.4**

Release date: 2nd July, 2016

 * Fixed a CDF embedding problem.
 * Split the meta box into two.
 * Syntax highlighting update for Mathematica version 10.3
 * New documentation.

**Version 1.0.3**

Release date: 21st Mars, 2016

 * Fixed a code highlighting problem.

**Version 1.0.2**

Release date: 13th September, 2015

 * Fixed a problem with the `WolframCloudAPI` shortcode with custom parameters.

**Version 1.0.1**

Release date: 17th July, 2015

 * Inline code shortcode. Used to get special markup for inline code.
 * Fixed incorrect title attributes of some of the shortcode buttons.

## Meta

 *  Versió **1.0.4**
 *  Darrera actualització **fa 7 anys**
 *  Instal·lacions actives **50+**
 *  Versió del WordPress ** 3.0.1 o posterior **
 *  Provada fins a **4.9.29**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/mathematica-toolbox/)
 * Etiquetes
 * [CDF](https://ca.wordpress.org/plugins/tags/cdf/)[Computable Document Format](https://ca.wordpress.org/plugins/tags/computable-document-format/)
   [Mathematica](https://ca.wordpress.org/plugins/tags/mathematica/)[Wolfram Language](https://ca.wordpress.org/plugins/tags/wolfram-language/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/mathematica-toolbox/advanced/)

## Valoracions

 3.5 sobre 5 estrelles.

 *  [  1 valoració de 5 estrelles     ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/?filter=3)
 *  [  1 valoració de 2 estrelles     ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/?filter=1)

[Afegeix una ressenya](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/)

## Col·laboradors

 *   [ C. E. ](https://profiles.wordpress.org/c-e-1/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/mathematica-toolbox/)