From 604f766e2835c8264cff91b4386a6d35ed27a980 Mon Sep 17 00:00:00 2001 From: grok Date: Thu, 11 Aug 2005 12:44:27 +0000 Subject: [PATCH] moving ../diagrams into figures --- .../figures}/article-generation-example.sxd | Bin doc/developers-guide/figures/convert-sxd.sh | 21 +++++++++++++++++++++ .../figures}/mir-architecture-mirrored.sxd | Bin .../figures}/mir-architecture-singlehost.sxd | Bin doc/developers-guide/introduction.xml | 12 ++++++------ 5 files changed, 27 insertions(+), 6 deletions(-) rename doc/{diagrams => developers-guide/figures}/article-generation-example.sxd (100%) create mode 100755 doc/developers-guide/figures/convert-sxd.sh rename doc/{diagrams => developers-guide/figures}/mir-architecture-mirrored.sxd (100%) rename doc/{diagrams => developers-guide/figures}/mir-architecture-singlehost.sxd (100%) diff --git a/doc/diagrams/article-generation-example.sxd b/doc/developers-guide/figures/article-generation-example.sxd similarity index 100% rename from doc/diagrams/article-generation-example.sxd rename to doc/developers-guide/figures/article-generation-example.sxd diff --git a/doc/developers-guide/figures/convert-sxd.sh b/doc/developers-guide/figures/convert-sxd.sh new file mode 100755 index 00000000..1f110290 --- /dev/null +++ b/doc/developers-guide/figures/convert-sxd.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# converts a single-paged openoffice drawing into pdf,eps and +# png. This script only works if you have a PDF printer defined in +# openoffice + +# you can also do all this manually by opening openoffice and using +# the export options... + +# usage: ./convert-sxd drawing.sxd + +src="$1" +name=`basename "$src" .sxd` + +ooffice -pt PDF "$src" +mv $HOME/"$src".pdf $name.pdf +pdf2ps $name.pdf +ps2eps -f $name.ps +convert -density 600 $name.eps t.png +convert t.png -geometry 600x600 $name.png + diff --git a/doc/diagrams/mir-architecture-mirrored.sxd b/doc/developers-guide/figures/mir-architecture-mirrored.sxd similarity index 100% rename from doc/diagrams/mir-architecture-mirrored.sxd rename to doc/developers-guide/figures/mir-architecture-mirrored.sxd diff --git a/doc/diagrams/mir-architecture-singlehost.sxd b/doc/developers-guide/figures/mir-architecture-singlehost.sxd similarity index 100% rename from doc/diagrams/mir-architecture-singlehost.sxd rename to doc/developers-guide/figures/mir-architecture-singlehost.sxd diff --git a/doc/developers-guide/introduction.xml b/doc/developers-guide/introduction.xml index 142b5648..8b0b2532 100755 --- a/doc/developers-guide/introduction.xml +++ b/doc/developers-guide/introduction.xml @@ -16,9 +16,9 @@ the dynamic site (see figure).
mir architecture (single host) - + - + @@ -35,9 +35,9 @@ site. Mirrors are simple to set up, since only static pages are involved
mir architecture (mirrored) - + - + @@ -75,9 +75,9 @@ feeds for the global wire.
An example of article generation with the producers framework - + - + -- 2.11.0