From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82766 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: Including a large SVG image Date: Wed, 5 Jun 2013 12:38:20 +0200 Message-ID: References: <51AC7A38.2080502@student.ru.nl> <20130603112520.GB30592@homerow> <51AE2572.3050208@student.ru.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1370428750 10057 80.91.229.3 (5 Jun 2013 10:39:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Jun 2013 10:39:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 05 12:39:11 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UkB7U-0000aE-KG for gctc-ntg-context-518@m.gmane.org; Wed, 05 Jun 2013 12:39:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A58F8101E8; Wed, 5 Jun 2013 12:39:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YrJmOFuk1t7i; Wed, 5 Jun 2013 12:39:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A9A30101E4; Wed, 5 Jun 2013 12:39:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F213101E4 for ; Wed, 5 Jun 2013 12:39:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bjMsNROQuCFJ for ; Wed, 5 Jun 2013 12:39:02 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 3A29A101E0 for ; Wed, 5 Jun 2013 12:38:52 +0200 (CEST) Original-Received: from mail-ee0-x230.google.com (mail-ee0-x230.google.com [IPv6:2a00:1450:4013:c00::230]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r55AcpXE007004 for ; Wed, 5 Jun 2013 12:38:51 +0200 Original-Received: by mail-ee0-f48.google.com with SMTP id e53so394257eek.35 for ; Wed, 05 Jun 2013 03:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=glAB5PU4+cX3xSk7IqsSlYsgu9XP9kxlY/dnd+FAEmo=; b=Ao35mcZxVRctatghJT0Vb0ruURYcILB8GD9iThqbVyER2Dg6ZveCxdkNCdXHDQKThZ VseYTs4F/wGsOadw9TilX5jKXuoC/7dqemV0+7xOgzmzaolBvlIrE4f/iF589g9W9kAy QbxT+NsS6imNgvloSOZuWUDfOmZaEs5f+FD1McjZzIj1W0DKriHkdEArQ1x84LN23YLS txGizQa4yLce/r98E+8bt5UopWCcUTlHlrTsaZLPZDOiqRKY8Q1LjQpB0vXAfhbIxtTl QAl3j0bZVCwBfVko0gYE7qMl6AQNod1xv94PcUPkcwvUVYUFnrVLumzA7jxHebQTP+hd n80Q== X-Received: by 10.14.221.195 with SMTP id r43mr11034943eep.70.1370428730875; Wed, 05 Jun 2013 03:38:50 -0700 (PDT) Original-Received: by 10.15.83.73 with HTTP; Wed, 5 Jun 2013 03:38:20 -0700 (PDT) In-Reply-To: <51AE2572.3050208@student.ru.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::230; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07JIyCPL3 - 481a60dd61bb - 20130605 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82766 Archived-At: Sander wrote: > The inkscape command works okay from the command line. Thanks for checking this! Hmm, so Inkscape is not the problem... Does ConTeXt still fail to include the picture when you make a minimal document containing only some text and the problematic SVG? > Should I upload the SVG and manual PDF output somewhere? Yes, if you could, that would be appreciated. Cheers, Sietse On 4 June 2013 19:35, Sander Maijers wrote: > The inkscape command works okay from the command line. Should I upload the > SVG and manual PDF output somewhere? > > > > On 03-06-13 18:53, honyk wrote: >>> >>> Sander Maijers wrote: >>>>> >>>>> I have a few SVG graphics of multiple megabytes. They contain a lot >>>>> of objects (text/shapes). All graphics except for one gets properly >>>>> included in my ConTeXt document. >>> >>> >>> Marco Patzer wrote: >>>> >>>> Maybe inkscape failed to convert the file. Is a corresponding >>>> m_k_i_v_filename.svg.pdf file generated? >>> >>> >>> It might be informative to try running the Inkscape conversion >>> manually. This is the command line ConTeXT uses: >>> >>> inkscape "%oldname%" --export-dpi=600 -A "%newname%" >>> >>> (The quotation marks are literal: they are there in case the filename >>> has spaces, e.g.) >> >> >> If processing in Inkscape fails, you can try another tool: >> http://xmlgraphics.apache.org/batik/tools/rasterizer.html >> >> It can (despite its name) transcode SVG to vector PDF: >> >> java -Xmx2G -jar batik-rasterizer.jar -m application/pdf image.svg >> >> In that case you have to transcode your files first and reference PDF >> variants in your input. >> >> Jan >> >> >> ___________________________________________________________________________________ >> 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 : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> >> ___________________________________________________________________________________ >> > > ___________________________________________________________________________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________