Title: Mathematica Toolbox
Author: C. E.
Published: <strong>2015年7月10日</strong>
Last modified: 2018年10月27日

---

搜尋外掛

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

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Mathematica Toolbox

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

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

 * [詳情](https://zh-hk.wordpress.org/plugins/mathematica-toolbox/#description)
 * [評價](https://zh-hk.wordpress.org/plugins/mathematica-toolbox/#reviews)
 *  [安裝](https://zh-hk.wordpress.org/plugins/mathematica-toolbox/#installation)
 * [開發](https://zh-hk.wordpress.org/plugins/mathematica-toolbox/#developers)

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

## 描述

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

## 螢幕截圖

[⌊CDFs can be included in WordPress posts, as well as data and images from Wolfram
Cloud APIs.⌉⌊CDFs can be included in WordPress posts, as well as data and images
from Wolfram Cloud APIs.⌉[

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.⌉⌊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.⌉[

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.⌉⌊
Handy shortcodes can render usernames and links to the online documentation.⌉[

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.⌉⌊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.⌉[

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.⌉⌊Answers specified
by IDs, retrieved from the Stackexchange API.⌉[

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.⌉⌊
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
.⌉[

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.

## 安裝

 1. Upload the folder `Mathematica-Toolbox` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in 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)

## 常見問題

  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.

## 評價

![](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/) 2016年9月3日

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/) 2016年9月3日 7 replies

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.

 [ 閱讀全部2個評價 ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/)

## 貢獻者及開發者

“Mathematica Toolbox” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

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

[將 Mathematica Toolbox 外掛本地化為台灣繁體中文版。](https://translate.wordpress.org/projects/wp-plugins/mathematica-toolbox)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/mathematica-toolbox/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/mathematica-toolbox/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/mathematica-toolbox/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/mathematica-toolbox/)。

## 修改日誌

**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.

## 其它

 *  Version **1.0.4**
 *  Last updated **8 年之前**
 *  Active installations **40+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **4.9.30**
 *  Language
 * [English (US)](https://wordpress.org/plugins/mathematica-toolbox/)
 * Tags
 * [CDF](https://zh-hk.wordpress.org/plugins/tags/cdf/)[Computable Document Format](https://zh-hk.wordpress.org/plugins/tags/computable-document-format/)
   [Mathematica](https://zh-hk.wordpress.org/plugins/tags/mathematica/)[Wolfram Language](https://zh-hk.wordpress.org/plugins/tags/wolfram-language/)
 *  [進階顯示](https://zh-hk.wordpress.org/plugins/mathematica-toolbox/advanced/)

## 評分

 3.5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mathematica-toolbox/reviews/)

## 貢獻者

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

## 支援

有話想說？需要協助？

 [檢視支援論壇](https://wordpress.org/support/plugin/mathematica-toolbox/)