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.
workcraftuser to anonymise the generated html files.
:tutorial:feedbackpage (that is included in all tutorials) as follows:
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/interwikidirectory as it contains pictograms for Wikipedia references.
"../../../help/(more than 70 occurrences);
*.*.pngthen some of the exported images do not have
?nolinktag. 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:
workcraft -nogui -dir:$$p -exec:"exportSvg(load(args), args); 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.