Re: [NTG-context] Include SVG pictures with ConTeXt

Top Page
Author: Hans Hagen
Date:  
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Include SVG pictures with ConTeXt
TeXWorld wrote:
> Hans Hagen a écrit :
>> Taco Hoekwater wrote:
>>
>>> TeXWorld wrote:
>>>
>>>> TeXWorld a écrit :
>>>>
>>>>> Hello,
>>>>>
>>>>> I wonder if it is possible to include SVG picture directly in ConTeXt
>>>>> without conversion.
>>>>> Thank you.
>>>>>
>>>>>
>>>>> Jack
>>>>>
>>>>>
>>>> No answer. Does it mean that it's not possible ?
>>>>
>>> Not that I know of, but I was hoping someone else did.
>>>
>> \usemodule[res-08] \setups[rl:manipulate]
>>
>> \setupexternalfigures[location=local,directory=.,conversion=pdf] %
>> lowres,prefix=lowres/]
>>
>> \starttext
>>
>> \externalfigure[svg/ausmap.svg][frame=on]
>>
>> \stoptext
>>
>> it assumes inkscape being present
>>
>> -----------------------------------------------------------------
>> Hans Hagen | PRAGMA ADE
>> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>> | www.pragma-pod.nl
>> -----------------------------------------------------------------
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>>
>> maillist : ntg-context@??? / 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
>> ___________________________________________________________________________________
>>
>>
>>
> Sorry but I've got problems to compile this code. Inkscape is present.
> Besides, with this solution, will Context format the labels of my SVG
> picture with the right font ?


it just uses inkscape to convert the original to pdf (only when the file
has changed)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!


maillist : ntg-context@??? / 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
___________________________________________________________________________________