Recent Changes - Search:

PmWiki

pmwiki.org

Devel

Move issues here to the "Resolved issues" section as soon as they have been incorporated into the "official" code. Add or vote for features below.

Feature wish list

  • 2006-08-21: Make the latex preamble an editable document located in group Site (or similar), similar to the local localization pages. (Vote (using +/0/-): +)
    Hello to anyone who might know this: how in principle does one implement such a preamble? ThomasP August 21, 2006, at 08:35 AM
  • 2006-08-21: (advanced) Make latex syntax directly accessible as wiki markup, without a wrapping markup. (Vote (using +/0/-): +)

Resolved issues

Less or greater-than symbols

In order to use the math symbols "<" and ">" you have to insert the following lines at the beginning of the "makepng"-function

 
$tex = str_replace('&lt;','<',$tex);
$tex = str_replace('&gt;','>',$tex);

- Nils

Incorporated into latest file version. ThomasP August 21, 2006, at 03:58 AM

Some errors

There are small errors in the above linuxtexnk.php file.

In the following line a quote in the tex call is missing:

Markup('{%','directives','/\\{\\%(.*?),(.*?)\\%\\}/e',"tex('$1','$2')"); // for formula with reference

In the following line the ref function should be called instead of the inline function.

Markup('/EQ','directives','/EQ\((.*?)\)/e',"ref('$1')"); //for references to formulas

Furthermore i have added the code to make use of the combination 'dvips' and 'convert' instead of 'dvipng'. Default now is 'dvips-convert', but setting $useMethod="dvipng" uses the original method.

Here is the file: Attach:linuxtexrvdb.php

Make sure that the directory pub/cache in the pmwiki home directory is writable for the server.

- Rein

Incorporated into latest file version. ThomasP August 21, 2006, at 03:58 AM

I have added the two lines from Nils to Rein's version and changed the template for the TeX file a little bit.
Here it is for everyone ready to download: Attach:linuxtexsb.php

- Stefan

Done. ThomasP August 21, 2006, at 03:58 AM

Now, there are three versions in three different files here. Isuggest reducing this to one official version (but I don't want to just delete the other comments). I'd stick with Stefans version and delete the other two Attach-statements.This seems reasonable to me to avoid confusion of potential users.

- Nils

Done. ThomasP August 21, 2006, at 03:58 AM

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 12:58 PM