www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/07/31/22:58:00

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 <knaak AT iqo DOT uni-hannover DOT de>
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: <lrevl5$613$1@ger.gmane.org>
Mime-Version: 1.0
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
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 : 
  <imgcaption xy|lorem ipsum>{{ :foobar.svg?300}}</imgcaption>

---<)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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019