This shows you the differences between the selected revision and the current version of the page.
| tech:dokutexit 2010/07/28 12:47 | tech:dokutexit 2010/08/25 21:31 current | ||
|---|---|---|---|
| Line 749: | Line 749: | ||
| - | - | ||
| - | - | ||
| - | --- 69,96 ---- | + | --- 69,94 ---- |
| $renderer->doc .= '<span style="color: '.$data[1].'">'.$data[0].'</span>'; | $renderer->doc .= '<span style="color: '.$data[1].'">'.$data[0].'</span>'; | ||
| return true; | return true; | ||
| Line 759: | Line 759: | ||
| + $rgb[1] = substr($data[1], 3, 2); | + $rgb[1] = substr($data[1], 3, 2); | ||
| + $rgb[2] = substr($data[1], 5, 2); | + $rgb[2] = substr($data[1], 5, 2); | ||
| - | + $count = count($rgb) - 1; | + | + for ($i = 0; i < count($rgb); $i++) { |
| - | + while ($count >= 0) { | + | + $rgb[$i] = bcdiv(hexdec($rgb[$i]), 255, 2); |
| - | + $rgb[$count] = bcdiv(base_convert($rgb[$count], 16, 10), 255, 2); | + | |
| - | + $count--; | + | |
| + } | + } | ||
| + $renderer->putcmd('textcolor[rgb]{'. $rgb[0] | + $renderer->putcmd('textcolor[rgb]{'. $rgb[0] | ||
| Line 802: | Line 800: | ||
| $rgb[1] = substr($color, 3, 2); | $rgb[1] = substr($color, 3, 2); | ||
| $rgb[2] = substr($color, 5, 2); | $rgb[2] = substr($color, 5, 2); | ||
| - | $count = count($rgb) - 1; | + | for ($i = 0; i < count($rgb); i++) { |
| - | while ($count >= 0) { | + | $rgb[$i] = bcdiv(hexdec($rgb[$i]), 255, 2); |
| - | $rgb[$count] = bcdiv(base_convert($rgb[$count], | + | |
| - | 16, 10), 255, 2); | + | |
| - | $count--; | + | |
| } | } | ||
| $color = $rgb[0] . ',' . $rgb[1] . ',' . $rgb[2]; | $color = $rgb[0] . ',' . $rgb[1] . ',' . $rgb[2]; | ||
| Line 985: | Line 980: | ||
| * Leprechaun for spending time reading over my english :-) | * Leprechaun for spending time reading over my english :-) | ||
| * Philipp Neuser <pneuser[at]physik*dot*fu-berlin*dot*de> for Dokuwiki Color Patch | * Philipp Neuser <pneuser[at]physik*dot*fu-berlin*dot*de> for Dokuwiki Color Patch | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| ===== Who use it ? ===== | ===== Who use it ? ===== | ||
| Line 1016: | Line 996: | ||
| | [[http://www.mininterior.gov.ar| Ministerio del Interior - República Argentina]] | Debian | Apache | latex debian package | OK | | | [[http://www.mininterior.gov.ar| Ministerio del Interior - República Argentina]] | Debian | Apache | latex debian package | OK | | ||
| |Private wiki | Mac OS X((I thought that people might be interested that it works well)) | apache | texlive port package | OK | | |Private wiki | Mac OS X((I thought that people might be interested that it works well)) | apache | texlive port package | OK | | ||
| + | |Private wiki on a Stick | Windows | micro-apache | mikText Portable | Great! | | ||
| ====== News/Changes ====== | ====== News/Changes ====== | ||
| Line 1946: | Line 1927: | ||
| -- Sebastian (another thankful user) | -- Sebastian (another thankful user) | ||
| - | |||
| - | |||
| - | |||
| Line 2012: | Line 1990: | ||
| + | I'm using the jsmath plugin with MathJax to render LaTeX on my DokuWiki pages. When I ask DokuTeXit to render to PDF all the equations are removed. Do you have any advice as to how to get the jsmath and DokuTeXit plugins working together? | ||
| + | > Yep, you just have to add latex renderer to the jsmath plugin. Peace of cake --- //[[danjer@doudouke.org|Danjer]] 2010/08/25 21:28// | ||
| Line 2037: | Line 2016: | ||
| This looks like a normal latex error. The Tex engine cannot find your sty files, update the file ls-R. See your TeX documentation how to do it. -- [[herckb@gmail.com|Bart]] | This looks like a normal latex error. The Tex engine cannot find your sty files, update the file ls-R. See your TeX documentation how to do it. -- [[herckb@gmail.com|Bart]] | ||
| - | |||
| - | |||
| - | |||
| - | |||