From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37693 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Zeus_G=F3mez_Marmolejo?= Newsgroups: gmane.comp.tex.context Subject: Re: SVG support Date: Tue, 04 Dec 2007 19:56:42 +0100 Message-ID: <4755A2EA.4080604@aluzina.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0311410976==" X-Trace: ger.gmane.org 1196843170 3392 80.91.229.12 (5 Dec 2007 08:26:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2007 08:26:10 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 05 09:26:18 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IzpaE-0004sG-Ar for gctc-ntg-context-518@m.gmane.org; Wed, 05 Dec 2007 09:26:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F0F231FB9B; Wed, 5 Dec 2007 09:25:56 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26618-02-5; Wed, 5 Dec 2007 09:25:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0347F1FB49; Wed, 5 Dec 2007 09:25:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3E7DD1FB71 for ; Tue, 4 Dec 2007 19:56:46 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11651-01 for ; Tue, 4 Dec 2007 19:56:43 +0100 (CET) Original-Received: from cafe.aluzina.org (9.pool85-58-186.dynamic.orange.es [85.58.186.9]) by ronja.ntg.nl (Postfix) with ESMTP id D873C1FB82 for ; Tue, 4 Dec 2007 19:56:42 +0100 (CET) Original-Received: from negraco.aluzina.org (negraco.aluzina.org [10.244.133.67]) by cafe.aluzina.org (Postfix) with ESMTP id AC0022014D for ; Tue, 4 Dec 2007 19:57:00 +0100 (CET) User-Agent: Thunderbird 2.0.0.6 (X11/20070728) X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Wed, 05 Dec 2007 09:25:07 +0100 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37693 Archived-At: --===============0311410976== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit It works!! And can be scaled nicely... Thank you very much!!

The other thing I've tried is to move my figures to a subdirectory called "figs/". Following the wiki instructions, in the preamble I write:

\setupexternalfigures[conversion=pdf,directory={./figs}]

\starttext
\externalfigure[system.svg]
\stoptext

So, running "texexec --output=pdftex pfc.tex", somewhere in the output it says:

figures         : figure system.svg can not be found

I've tried the complete path, but nothing... any ideas?

Regards,
Zeus.


---
Zeus Gómez Marmolejo wrote:
> Hi all,
>
> I'm working with Inkscape and I would like to embed some figures
> directly in vector format. How do I do that??
>
> I'm trying this:
>
> \externalfigure[system][type=svg][scale=1000]
>
> But a "dummy" image appears. Is there any svg support in context?!


\usemodule[res-08] \setups[rl:manipulate]

\setupexternalfigures[conversion=pdf]

\starttext

\externalfigure[system.svg]

\stoptext

if you're lucky, it works, otherwise you need to look into how rlxtools
works --===============0311410976== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0311410976==--