OpenWetWare:Software/Extensions/WikiTex

From OpenWetWare

Jump to: navigation, search

WikiTeX describes a modular system for incorporating LaTeX objects with MediaWiki output.  WikiTeX was designed with expansibility in mind; and, security willing, can accommodate any conceivable package.

See also: sandbox, additional features, bugs, usability review, todo.

Contents

Invoking WikiTeX

Enriching your article with WikiTeX is as easy as wrapping your LaTeX in <class></class> tags; thus:

<music>
	\relative c' { 
		e16-.->a(b gis)a-.->c(d b)c-.->e(f dis)e-.->a(b a)
		gis(b e)e,(gis b)b,(e gis)gis,(b e)e,(gis? b e)
	}
</music>

becomes:

data seg size (kbytes, -d) unlimited stack size (kbytes, -s) 10240 WikiTeX: lilypond reported a failure, namely:
Error code: 139

and <amsmath>\sideset{}{'}\sum_{n<k,\;\text{$n$ odd}} nE_n</amsmath>, for instance, data seg size (kbytes, -d) unlimited stack size (kbytes, -s) 10240

WikiTeX: latex reported a failure, namely:
Error code: 139
.

You can practice WikiTeX in the sandbox; and following an image's link will reveal its source.

Classes

The following classes have been implemented:

Amsmath

Plenary AMS-LaTeX, including commutative diagrams (doc | template).

data seg size (kbytes, -d) unlimited stack size (kbytes, -s) 10240 WikiTeX: latex reported a failure, namely:
Error code: 139

Chem

XyMTeX is an intuitive chemistry package by Shinsaku Fujita (doc | template).

data seg size (kbytes, -d) unlimited stack size (kbytes, -s) 10240 WikiTeX: latex reported a failure, namely:
Error code: 139

Chess

Skak by Torben Hoffmann supports SAN and FEN notation (doc | doc | doc | template).

data seg size (kbytes, -d) unlimited stack size (kbytes, -s) 10240 WikiTeX: latex reported a failure, namely:
Error code: 139

Feyn

feynMF by Thorsten Ohl for Feynman diagrams (doc | template).

data seg size (kbytes, -d) unlimited stack size (kbytes, -s) 10240 WikiTeX: latex reported a failure, namely:
Error code: 139

Go

sgf2dg by Daniel Bump and Reid Augustin for go games described in SGF (doc | template).

Genan—Shuwa, 1842:
data seg size (kbytes, -d) unlimited stack size (kbytes, -s) 10240 WikiTeX: sgf2dg reported a failure, namely:
Error code: 139

Graph

Graphviz by Lefty Koutsofios, et al.; for relational diagrams (doc | template).


<dot> rankdir=LR; node [shape = doublecircle]; LR_0 LR_3 LR_8; node [shape = circle]; LR_0 -> LR_2 [ label = "SS(B)" ]; LR_0 -> LR_1 [ label = "SS(S)" ]; LR_1 -> LR_3 [ label = "S($end)" ]; LR_2 -> LR_6 [ label = "SS(b)" ]; LR_2 -> LR_5 [ label = "SS(a)" ]; LR_2 -> LR_4 [ label = "S(A)" ]; LR_4 -> LR_8 [ label = "S(D)" ]; LR_5 -> LR_7 [ label = "S(a)" ]; LR_5 -> LR_5 [ label = "S(b)" ]; LR_6 -> LR_6 [ label = "S(b)" ]; LR_6 -> LR_5 [ label = "S(a)" ]; LR_7 -> LR_8 [ label = "S(b)" ]; LR_7 -> LR_5 [ label = "S(a)" ]; LR_8 -> LR_6 [ label = "S(b)" ]; LR_8 -> LR_5 [ label = "S(a)" ]; </dot>

Greek

Ibycus by Pierre MacKay for polytonic Greek (doc | template).

data seg size (kbytes, -d) unlimited stack size (kbytes, -s) 10240 WikiTeX: latex reported a failure, namely:
Error code: 139

Music

Lilypond with midi output (doc | template).

data seg size (kbytes, -d) unlimited stack size (kbytes, -s) 10240 WikiTeX: lilypond reported a failure, namely:
Error code: 139

Plot

Gnuplot by Hans-Bernhard Broeker, et al.; for plotting two- and three-dimensional line, point, dot, box, histogram graphs or vector fields (doc | template).

data seg size (kbytes, -d) unlimited stack size (kbytes, -s) 10240 WikiTeX: gnuplot reported a failure, namely:
Error code: 139

Teng

TengTeX by Ivan Derzhanski for Fëanorian Tengwar (doc | template).

data seg size (kbytes, -d) unlimited stack size (kbytes, -s) 10240 WikiTeX: latex reported a failure, namely:
Error code: 139

id est,

“One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.”

See also

Credits

WikiTeX was conceived by Peter Danenberg, where Tomasz Wegrzanowski's texvc provided impulse; which packages twain may yet coexist in a self installation.

Several security fixes have been submitted by Johannes Berg.

Personal tools