When inserting SVG images in DokuWiki with Scalable SVG Insert Plugin use the following scale factors:
When exporting SVG graphics as PNG in Inkscape for inserting into DokuWiki, use the following DPI settings:
The maximum screenshot size for DokuWiki should be 900×600. This dimensions of Workcraft window can be set via ~/.config/workcraft/config.xml
(note the height is set 28 pixel less to accommodate for the title bar):
... <var name="main.maximised" value="false"/> <var name="main.height" value="572"/> <var name="main.width" value="900"/> ...
For fullscreen screenshots the good dimensions seem to be 1900×1000 (minus 28 pixel for the title bar):
... <var name="main.maximised" value="false"/> <var name="main.height" value="972"/> <var name="main.width" value="1900"/> ...
We use a tweaked version of dokuwiki-light
template for generating offline pages. See DokuWiki setup for instructions of how to produce this template.
workcraft
user to anonymise the generated html files.:tutorial:feedback
page (that is included in all tutorials) as follows:<WRAP hide>
.rm -r _export rm -r lib/scripts rm -r lib/tpl rm -r lib/plugins/acl rm -r lib/plugins/dw2pdf rm -r lib/plugins/extensions rm -r lib/plugins/imagereference rm -r lib/plugins/include rm -r lib/plugins/siteexport rm -r lib/plugins/tag rm lib/exe/opensearch.html
lib/images/interwiki
directory as it contains pictograms for Wikipedia references.*.html
files of help
directory:"tutorial/
→ "../tutorial/
(3 occurrences);"../overview/
→ "../../overview/
(1 occurrence).*.html
files of tutorial
directory:"../../help/
→ "../../../help/
(more than 70 occurrences);"../../a2a/
→ "../../../help/a2a/
(6 occurrences);"../../overview/
→ "../../../overview/
(2 occurrence).*.*.png
then some of the exported images do not have ?nolink
tag. The best option is to correct the corresponding wiki page and export it again. The best margins for printout of handouts:
SVG diagrams can be reduced up to the following scale:
This is mostly to avoid wide SVG files that do not fit the page width and have side effect on the scale of all the document, including text.
This feature requires Workcraft v3.2.3(alpha) or newer.
Register Workcraft with Lyx via Tools→Preferences→File Handling menu as follows:
Work
work
work
application/workcraft
workcraft
workcraft
Work
SVG
workcraft -nogui -dir:$$p -exec:"exportSvg(load(args[0]), args[1]); exit();" $$i $$o
Note that Workcraft runner script is assumed to be in the search path. Otherwise you would have to use the full path.