X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Injected-Via-Gmane: http://gmane.org/ To: geda-user AT delorie DOT com From: Kai-Martin Knaak Subject: [geda-user] vectorized schematics on web page Date: Fri, 01 Aug 2014 04:56:37 +0200 Organization: Institut =?UTF-8?B?ZsO8cg==?= Quantenoptik Lines: 43 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Complaints-To: usenet AT ger DOT gmane DOT org X-Gmane-NNTP-Posting-Host: bibo.iqo.uni-hannover.de User-Agent: KNode/4.12.4 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s712utqx023376 Reply-To: geda-user AT delorie DOT com I like to put documentation on my projects on a dokuwiki web page. However, when I got my stuff going, schematics were a bit cumbersome. Pixelized versions tended to be huge in file size and still hardly legible. Vector graphics did not render well in www browsers. So I settled for downloadable PDFs. Today, I tried again and was pleasantly surprised. The relevant tools have improved! The new gaf tool of geda facilitates the export (Thank you so much, Peter Brett!). There is a plugin for dokuwiki, which adds a caption and allows to link dynamically to the figure. And finally major www browsers can handle images in SVG format. Here is the result: http://bibo.iqo.uni-hannover.de/dokuwiki/doku.php?id=bauteil:spannungskonstanten&#variable_positive_spannung (German only, but I think you get the impression) You can click on the image to get a scaled version. The work-flow was surprisingly straight forward: 1) export the schematic as *.eps gaf export -l auto -o foobar.eps foobar.sch 2) convert to *.svg inkscape --export-plain-svg=foobar.svg foobar.eps 3) command in dokuwiki : {{ :foobar.svg?300}} ---<)kaimartin(>--- -- Kai-Martin Knaak tel: +49-511-762-2895 Universität Hannover, Inst. für Quantenoptik fax: +49-511-762-2211 Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de GPG key: http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get