plugin:ditaa
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:ditaa [2016-02-15 23:25] – [Example] 37.115.223.10 | plugin:ditaa [2017-11-27 16:06] – [Example] 217.7.183.164 | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : andi@splitbrain.org | email : andi@splitbrain.org | ||
type : syntax | type : syntax | ||
- | lastupdate : 2016-02-02 | + | lastupdate : 2016-06-24 |
- | compatible : lemming, anteater, rincewind, angua, weatherwax, adora belle | + | compatible : Lemming, Anteater, Rincewind, Angua, Weatherwax, Adora Belle, Hrun, Detritus |
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
tags : media, images, diagram, java | tags : media, images, diagram, java | ||
Line 32: | Line 32: | ||
===== Configuration ===== | ===== Configuration ===== | ||
- | The plugin provides a configuration setting in the [[plugin: | + | The plugin provides a configuration setting in the [[plugin: |
- | <del>When you do not provide a Java interpreter | + | When you not provide a Java path, the plugin will instead |
- | :!: **ditaa.org is down since long time** (02.12.2012 acc. below comment), and is still down today 17.12.2015. --- //tmomas// | + | |
===== Syntax ===== | ===== Syntax ===== | ||
Line 55: | Line 54: | ||
| height=//< | | height=//< | ||
| //< | | //< | ||
- | | < | + | | < |
- | | (no)round | + | | (no)round |
- | | (no)shadow | + | | (no)shadow |
- | | (no)antialias | + | | (no)antialias |
- | | (no)edgesep | + | | (no)edgesep |
| left center right | | left center right | ||
Line 82: | Line 81: | ||
< | < | ||
<ditaa round noedgesep right> | <ditaa round noedgesep right> | ||
- | + | | |
- | | + | |
- | | + | |
| | --+ ditaa +--> | | | | | --+ ditaa +--> | | | ||
| Text | | | Text | | ||
Line 95: | Line 92: | ||
</ | </ | ||
</ | </ | ||
- | ===== Discussion ===== | ||
- | Would it be possible to embed active dokuwiki links, or even implement an imagemap for the rendered png, so the boxes can become active links - a bit like flowchartwiki ? -- //LS 20120111// | + | ===== Further Doc ===== |
+ | * [[ http://ditaa.sourceforge.net/ | ditaa @ sourceforge ]] | ||
- | ==== Workaround for wrong java version ==== | ||
- | Ditaa did not work out of the box as the servers default version of java was 1.5 \\ | ||
- | I created therefor a small bat file called CorrectJavaDitaa.bat containing the following text: | ||
- | <code dos CorrectJavaDitaa.bat> | ||
- | set JAVA_HOME=F: | ||
- | path %JAVA_HOME%\bin; | ||
- | java %* | ||
- | </ | ||
- | %%F: | ||
- | In the config screen of DokuWiki the value of java was set to the location of the bat file: \\ | ||
- | | The path to your Java runtime interpreter (eg. / | ||
- | Hope this may help others, also in setting other environmental parameters to get the jvm behave as needed \\ | ||
- | // JH - 29-may-2013 // | ||
- | thanks a lot. it is not just workaround, it is a must! | ||
- | I use version java1.7 | ||
- | // AQ - 13-feb-2014 // | ||
- | ==== Bugs ==== | ||
- | Ditaa don't understand non-latin characters. For example: Cyrillic. | ||
- | |||
- | The server at ditaa.org seems to be down, and has not been responsive for a while. | ||
- | Confirmed, ditaa.org still down --- //tmomas 2015/ | ||
- | |||
- | ---- | ||
- | Ditaa works with Cyrillic/ | ||
- | |||
- | Ditaa Plugin pref | ||
- | |||
- | plugin»ditaa»java | ||
- | The path to your Java runtime interpreter | ||
- | (eg. / | ||
- | remote rendering at ditaa.org. | ||
- | |||
- | - type something (without quotes) - " | ||
- | |||
- | ==== broken.png is displayed / plugin doesn' | ||
- | I found that ditaa recently broke on my system - running < | ||
- | ... | ||
- | Caused by: java.lang.Error: | ||
- | ...</ | ||
- | |||
- | This seems to happen on OpenJDK on Linux, and was resolved by installing the dejavu font package. On Gentoo:< | ||
- | --- [[user> | ||
- | |||
- | ==== farm mode ==== | ||
- | This plugin fails in farm mode. Report to the [[https:// | ||
- | |||
- | You can workaround adding one line in ''< | ||
- | function _cachename($data, | ||
- | unset($data[' | ||
- | unset($data[' | ||
- | unset($data[' | ||
- | +++ | ||
- | return getcachename(join(' | ||
- | } | ||
- | </ | ||
- | --- [[user> |
plugin/ditaa.txt · Last modified: 2024-01-01 19:52 by Aleksandr