Help:Books: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 29: Line 29:
* http://www.mediawiki.org/wiki/Extension:PDF_Writer
* http://www.mediawiki.org/wiki/Extension:PDF_Writer
* http://code.pediapress.com/wiki/wiki (PediaPress Open Source Repository, Wiki and Bug Tracking System)
* http://code.pediapress.com/wiki/wiki (PediaPress Open Source Repository, Wiki and Bug Tracking System)
* http://code.pediapress.com/hg/mwlib/raw-file/tip/docs/commands.txt (command line options, important!)
* http://code.pediapress.com/wiki/wiki/Examples
* http://groups.google.com/group/mwlib/topics (Google forums)
* http://groups.google.com/group/mwlib/topics (Google forums)


Line 48: Line 50:
* Perl => 5
* Perl => 5
* g++
* g++
* Latex
Install Blahtexml
* (not done so far)


Install setuptools-0.6c9-py2.5.egg
Install setuptools-0.6c9-py2.5.egg
Line 71: Line 77:
* Get it from http://www.sunfreeware.com/
* Get it from http://www.sunfreeware.com/
  pkgadd -d re2c-0.13.5-sol10-sparc-local  
  pkgadd -d re2c-0.13.5-sol10-sparc-local  
Install ocaml
* http://caml.inria.fr/
* Get if from http://www.sunfreeware.com/
pkgadd -d ocaml-3.10.2-sol10-sparc-local


; Mwlib (installed with the tar ball, alternatively install mercurial)
; Mwlib (installed with the tar ball, alternatively install mercurial)
Line 82: Line 93:
  easy_install Pygments
  easy_install Pygments


; Fribidi
; Fribidi - both a library and the Python bindings
* http://fribidi.org/
./configure --prefix=/usr/local
make
make install
* http://pyfribidi.sourceforge.net/index.html
* http://pyfribidi.sourceforge.net/index.html
(this is difficult to install)
  setenv fribidi_CFLAGS "-L/usr/local/lib -I/usr/local/include"
  setenv fribidi_LIBS -lfribidi
./configure
make
make install


; Ploticus
; Ploticus
* http://ploticus.sourceforge.net/doc/welcome.html
* http://ploticus.sourceforge.net/doc/welcome.html
(not installed)


; mwlib.rl
; mwlib.rl
* http://www.mediawiki.org/wiki/Extension:PDF_Writer
* http://www.mediawiki.org/wiki/Extension:PDF_Writer
  easy_install mwlib.rl
  easy_install mwlib.rl
; texvc
* Is in your mediawiki installation
* Compile with gmake it if not already done (needs ocaml, see above)
cd /XXX/mediawiki/math
gmake
./texvc_test
* Add the directory to the system path
; Configuration
; Testing
* mw-render --config=http://edutechwiki.unige.ch/mediawiki/ --writer=odf --output=./edutech.odt Educational_technology
** Images dont work
*

Revision as of 15:42, 1 May 2009

This extension is experimental for the moment - Daniel K. Schneider 19:02, 30 April 2009 (UTC).

There are problems with server overload. If your book is large you likely will loose between a third and half of the pages. Therefore, only create smaller books.

Genral user information

Basic help:

Further help:

General information:

For wiki maintainers

Bugs and feature requests:

Information about the collection extension and related server-side software

Installation notes

(I will move this at some point - Daniel K. Schneider)

  • The collection extension installs like any other Mediawiki extensions. Really easy with Mediawiki=> 1.14 (Spring 2009).
  • You then can just leave all the defaults and the PDF will be generated by PediaPress.

Server-side stuff

(not needed if you have a fast server and want to use the pediapress server)

Made for Solaris

Prerequisites

Install these if don't have them (usually you do)

  • Python => 2.5
  • Perl => 5
  • g++
  • Latex

Install Blahtexml

  • (not done so far)

Install setuptools-0.6c9-py2.5.egg

sh setuptools-0.6c9-py2.5.egg

Install python imaging library (PIL)

 python setup.py install

Install odfpy 0.7.0 (not 0.8.0)

python setup.py build
python setup.py install

Install rec2c

pkgadd -d re2c-0.13.5-sol10-sparc-local 

Install ocaml

pkgadd -d ocaml-3.10.2-sol10-sparc-local
Mwlib (installed with the tar ball, alternatively install mercurial)
 python setup.py install
pygments
easy_install Pygments
Fribidi - both a library and the Python bindings
./configure --prefix=/usr/local
make
make install

(this is difficult to install)

 setenv fribidi_CFLAGS "-L/usr/local/lib -I/usr/local/include"
 setenv fribidi_LIBS -lfribidi
./configure
make
make install
Ploticus

(not installed)

mwlib.rl
easy_install mwlib.rl
texvc
  • Is in your mediawiki installation
  • Compile with gmake it if not already done (needs ocaml, see above)
cd /XXX/mediawiki/math
gmake
./texvc_test
  • Add the directory to the system path
Configuration


Testing