14,953
edits
m (→ImageMagick) |
mNo edit summary |
||
| Line 2: | Line 2: | ||
== 如何啟用數學表示 == | == 如何啟用數學表示 == | ||
{{Right | hedding= 軟體環境 | text= | |||
* MediaWiki: 1.10.0 | |||
* PHP: 5.2.2 (apache2handler) | |||
* MySQL: 5.0.41-community-nt | |||
* OS: MS Windows XP}} | |||
=== 可以辨識 <math></math>標籤內的Tex語法 === | === 可以辨識 <math></math>標籤內的Tex語法 === | ||
在LocalSettings.php啟用Tex | 在LocalSettings.php啟用Tex | ||
| Line 18: | Line 23: | ||
* 需要安裝[http://miktex.org/ MiKTeX] ([http://nchc.dl.sourceforge.net/sourceforge/miktex/basic-miktex-2.6.2742.exe 直接下載Basic MiKTeX 2.6 Installer]) | * 需要安裝[http://miktex.org/ MiKTeX] ([http://nchc.dl.sourceforge.net/sourceforge/miktex/basic-miktex-2.6.2742.exe 直接下載Basic MiKTeX 2.6 Installer]) | ||
* 安裝後, LocalSettings.php 加上<pre>$wgLaTexCommand = 'C:/Program Files/MiKTeX 2.6/miktex/bin/latex.exe';</pre> | * 安裝後, LocalSettings.php 加上<pre>$wgLaTexCommand = 'C:/Program Files/MiKTeX 2.6/miktex/bin/latex.exe';</pre> | ||
* 安裝完系統變數PATH會自動加上 C:\Program Files\MiKTeX 2.6\miktex\bin; | * 安裝完系統變數PATH會自動加上 C:\Program Files\MiKTeX 2.6\miktex\bin; ([[How to setup my system path|如何設定系統PATH]]) | ||
* LocalSettings.php的$wgLaTexCommand可以改成 <pre>$wgLaTexCommand = 'latex';</pre> | * LocalSettings.php的$wgLaTexCommand可以改成 <pre>$wgLaTexCommand = 'latex';</pre> | ||