From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42101 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Include SVG pictures with ConTeXt Date: Thu, 3 Jul 2008 16:22:53 +0300 Message-ID: <20080703132253.GA30216@khaled-laptop> References: <48602E09.9000803@laposte.net> <48643BAB.6090408@laposte.net> <4866F30A.6090601@laposte.net> <48673D4C.6000401@elvenkind.com> <4867E681.6020105@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0673045402==" X-Trace: ger.gmane.org 1215091532 22825 80.91.229.12 (3 Jul 2008 13:25:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 13:25:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 03 15:26:18 2008 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 1KEOp9-0001uh-KO for gctc-ntg-context-518@m.gmane.org; Thu, 03 Jul 2008 15:26:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A4AD41FE0D; Thu, 3 Jul 2008 15:25:16 +0200 (CEST) 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 16229-03-5; Thu, 3 Jul 2008 15:24:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 41BEA1FE23; Thu, 3 Jul 2008 15:24:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6D3551FE5A for ; Thu, 3 Jul 2008 15:24:26 +0200 (CEST) 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 18866-01-4 for ; Thu, 3 Jul 2008 15:23:49 +0200 (CEST) Original-Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by ronja.ntg.nl (Postfix) with ESMTP id ED3761FE1E for ; Thu, 3 Jul 2008 15:23:48 +0200 (CEST) Original-Received: by fk-out-0910.google.com with SMTP id 18so586799fks.2 for ; Thu, 03 Jul 2008 06:23:48 -0700 (PDT) Original-Received: by 10.82.182.18 with SMTP id e18mr44736buf.50.1215091428278; Thu, 03 Jul 2008 06:23:48 -0700 (PDT) Original-Received: from localhost ( [41.234.93.182]) by mx.google.com with ESMTPS id f6sm722872nfh.12.2008.07.03.06.23.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Jul 2008 06:23:47 -0700 (PDT) In-Reply-To: <4867E681.6020105@wxs.nl> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: amavisd-new at ntg.nl 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:42101 Archived-At: --===============0673045402== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline --KFztAG8eRSV9hGtP Content-Type: multipart/mixed; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 29, 2008 at 09:46:09PM +0200, Hans Hagen wrote: > Taco Hoekwater wrote: > > TeXWorld wrote: > >> TeXWorld a =C3=A9crit : > >>> Hello, > >>> > >>> I wonder if it is possible to include SVG picture directly in ConTeXt= =20 > >>> without conversion. > >>> Thank you. > >>> > >>> > >>> Jack > >>> =20 > >> No answer. Does it mean that it's not possible ? > >=20 > > Not that I know of, but I was hoping someone else did. >=20 > \usemodule[res-08] \setups[rl:manipulate] >=20 > \setupexternalfigures[location=3Dlocal,directory=3D.,conversion=3Dpdf] %= =20 > lowres,prefix=3Dlowres/] >=20 > \starttext >=20 > \externalfigure[svg/ausmap.svg][frame=3Don] >=20 > \stoptext >=20 > it assumes inkscape being present >=20 This doesn't work with luatex. It gives me some errors, see the log file. --=20 Khaled Hosny Arabic localizer and member of Arabeyes.org team --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="svg.log" Content-Transfer-Encoding: quoted-printable (svg.tex ConTeXt ver: 2008.06.28 23:33 MKIV fmt: 2008.7.3 int: english/english language : language en is active system : cont-new loaded (/opt/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/opt/context/tex/texmf-context/tex/context/base/cont-new.mkiv lua : used config path - /opt/context/tex/texmf/web2c/texmf.cnf lua : used cache path - /opt/context/tex/texmf-cache/luatex-cach= e/context/9d2177de8a31df158f21be632b7742b7 ) (/opt/context/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/opt/context/tex/texmf-context/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/opt/context/tex/texmf-context/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/opt/context/tex/texmf-context/tex/context/user/cont-sys.tex (/opt/context= /tex/texmf-context/tex/context/base/type-tmf.tex) (/opt/context/tex/texmf-c= ontext/tex/context/base/type-siz.tex) (/opt/context/tex/texmf-context/tex/c= ontext/base/type-otf.tex)) bodyfont : 12pt rm is loaded specials : tex loaded system : svg.top loaded (svg.top specials : loading definition file tpd (/opt/context/tex/texmf-context/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/opt/context/tex/texmf-context/tex/context/base/spec-fdf.tex (/opt/context= /tex/texmf-context/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded (/opt/context/tex/texmf-context/tex/context/base/spec-tpd.mkiv)) specials : fdf loaded ) system : module res-08 loaded (/opt/context/tex/texmf-context/tex/context/base/x-res-08.tex) (svg.tuo) (s= vg.tuo) systems : begin file svg at line 6 ! LuaTeX error ...text/tex/texmf-context/tex/context/base/core-inc.lua:375:= attempt to call global 'exists' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/core-inc.lua:375: in function <= =2E..text/tex/texmf-context/tex/context/base/core-inc.lua:341> (tail call): ? ...text/tex/texmf-context/tex/context/base/core-inc.lua:543: in function '= identifier' ...text/tex/texmf-context/tex/context/base/core-inc.lua:559: in function '= identify'
:1: in main chunk. \calculateexternalfigure ...a {figures.identify()} \ifconditional \testexter= n... ...\s!dummy ][sample.svg][][frame=3Don][] \calculateexternalscreenf= i... \firstofoneargument #1->#1 =20 \doexternalfigure ...value {\??ef \??ef #1}[#3]}}} \globallet \currentresour= c... =20 \par=20 l.9=20 =20 ?=20 color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is local activated fonts : resetting map file list {/opt/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {/opt/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map} fonts : using map file: lm-math {/opt/context/tex/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {/opt/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts : using map file: original-ams-base {/opt/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.= map} fonts : using map file: original-ams-euler {/opt/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler= =2Emap} fonts : using map file: original-public-lm {/opt/context/tex/texmf-context/fonts/map/pdftex/context/original-public-lm= =2Emap} [1.1] systems : end file svg at line 10 ) mkiv lua stats : used config path - /opt/context/tex/texmf/web2c/t= exmf.cnf mkiv lua stats : used cache path - /opt/context/tex/texmf-cache mkiv lua stats : modules/dumps/instances - 89/21/1 mkiv lua stats : input load time - 0.032 seconds mkiv lua stats : fonts load time - 0.894 seconds mkiv lua stats : xml load time - 0.000 seconds, lpath calls: 0,= cached calls: 0 mkiv lua stats : lxml load time - 0.000 seconds preparation, bac= kreferences: 0 mkiv lua stats : mps conversion time - 0.000 seconds mkiv lua stats : node processing time - 0.000 seconds including kernel mkiv lua stats : kernel processing time - 0.000 seconds mkiv lua stats : attribute processing time - 0.002 seconds mkiv lua stats : language load time - 0.025 seconds, n=3D2 mkiv lua stats : graphics processing time - 0.708 seconds including tex, n= =3D1 mkiv lua stats : metapost processing time - 0.000 seconds, loading: 0.000 = seconds, execution: 0.000 seconds, n: 0 mkiv lua stats : current memory usage - 46809519 bytes mkiv lua stats : cleaned up reserved nodes - 21 nodes, 8 lists of 100 mkiv lua stats : node memory usage - 19 glue_spec, 2 dir mkiv lua stats : loaded patterns - en:en:pat:exc:2 mkiv lua stats : loaded fonts - file:lmmono12-regular:otf file= :lmmono8-regular:otf file:lmroman10-bolditalic*default:otf file:lmroman10-i= talic*default:otf file:lmroman12-bold*default:otf file:lmroman12-italic*def= ault:otf file:lmroman12-regular*default:otf file:lmroman7-bold*default:otf = file:lmroman7-regular*default:otf file:lmroman9-bold*default:otf file:lmrom= an9-italic*default:otf file:lmroman9-regular*default:otf file:lmromancaps10= -regular*default:otf file:lmromanslant10-bold*default:otf file:lmromanslant= 10-regular*default:otf file:lmromanslant12-regular*default:otf file:lmroman= slant9-regular*default:otf lmex10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tfm lmsy10= :tfm lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm msbm10:tfm msbm7:tfm rm-lmr12= :tfm rm-lmr7:tfm rm-lmr9:tfm mkiv lua stats : runtime - 2.318 seconds, 1 processed pag= es, 1 shipped pages, 0.431 pages/second --UlVJffcvxoiEqYs2-- --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIbNKtRoqITGOuyPIRAp07AKCEbthB8y76QsVa5m98f7o8MwXc9ACdHphd dQ4f+56KNtQCYtEs59jwcxI= =Emfe -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP-- --===============0673045402== 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 ___________________________________________________________________________________ --===============0673045402==--