Besides the scripts from section 2.5, Document administration, there are a couple of local tools available.
The script bin/inst.sh
installs the programs in the
appropriate places. See section Activity Diagrams for bin/inst.sh.
ImageMagick permissions problems with PDF (see imagemagick - convert:not authorized aaaa @ error/constitute.c/ReadImage/453):
In file /etc/ImageMagick-6/policy.xml
(or
/etc/ImageMagick/policy.xml
)
comment line (security risk!)
<!-- <policy domain="coder" rights="none" pattern="MVG" /> -->
change lines
<policy domain="coder" rights="none" pattern="PS" />
<policy domain="coder" rights="none" pattern="EPS" />
<policy domain="coder" rights="none" pattern="PDF" />
to
<policy domain="coder" rights="read|write" pattern="PS" />
<policy domain="coder" rights="read|write" pattern="EPS" />
<policy domain="coder" rights="read|write" pattern="PDF" />
add line
<policy domain="coder" rights="read|write" pattern="LABEL" />
ImageMagick conversion problems SVG -> PNG with inkscape (see convert aus ImageMagick verhält sich anders)
In file /etc/ImageMagick-6/delegates.xml
(or
/etc/ImageMagick/delegates.xml
)
change line
<delegate decode="svg:decode" stealth="True" command=""inkscape" "%s" --export-eps="%s" --export-dpi="%s" --export-background="%s" --export-background-opacity="%s" > "%s" 2>&1"/>
to
<delegate decode="svg:decode" stealth="True" command=""inkscape" "%s" --export-png="%s" --export-dpi="%s" --export-background="%s" --export-background-opacity="%s" > "%s" 2>&1"/>
This avoids the mentioned artifacts (actually caused by ghostscript, not inkscape).
rst2md.sh
¶
sphinx-doc-locate.sh
¶