Loading...
 

PluginWikiTex

This plugin allows you to insert LaTeX code in your wiki and have it displayed as an image.
With WikiTeX you can use math notation but also write music and chess schemes and much more!

Syntax example:

Copy to clipboard
{TEX(type=>math) \LaTeXe {TEX}

other examples are here

Installation

Download WikiTeX and extract it to tiki/lib/extensions/wikitex/. Then put the file attached to this page in tiki/lib/wiki-plugins/.
WikiTeX need latex to work, read WikiTeX's readme to know what you have to install to be able to use the extensions you want.
Be sure that your php configuration allows you to use the php function shell_exec. If you are in safe_mode you can substitute it by exec (in wikitex/wikitex.php) and eventually move wikitex.sh the script to be executed in your safe_mode_exec_dir directory. And make sure that php can write in tiki/lib/extensions/wikitex/tmp/.

You may want to put an index.php file in tiki/lib/extension/ and in tiki/lib/extension/wikitex/ like the one you find in tiki/lib/ and a .htaccess file containig

Copy to clipboard
<Files *> order deny,allow deny from all </Files>

to deny access, but you must allow access to tiki/extensions/wikitex/tmp/ by putting in it a .htaccess file like this one

Copy to clipboard
<Files *> order deny,allow allow from all </Files>


If there are extensions that you don't want to use you can comment them out from wikitex/wikitex.inc.php
You can also write your own extensions to WikiTeX by following it's documentation.

Beware that using latex may cause security issues - read wikitex's doc!
In effects ))WikiTeX(( limits the commands that can be passed to latex.
Also note that wikitex mantains his own cache of images in wikitex/tmp/ (you may want to delete them sometimes)


Page last modified on Monday 03 April 2006 19:32:50 GMT-0000

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting