From: Jean-Pierre Delange <adeimantos@free.fr>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: how to include an an svg file?
Date: Wed, 13 Mar 2024 13:14:26 +0100 [thread overview]
Message-ID: <861c49b2-f697-4e1f-bcb4-96bd6aacb977@free.fr> (raw)
In-Reply-To: <7f332270-d30b-4418-88f5-71005c6d83f7@fiee.net>
[-- Attachment #1.1: Type: text/plain, Size: 1981 bytes --]
Hi Hraban & Seyal
I can confirm that converting the *.svg file into a *.pdf file displays
the colour shades correctly ...
(I used Gimp to export the smile.svg file to a smile03.pdf file).
The MWE below works correctly, even if you have to make finer
adjustments to place the figure in a precise position on the page. As
I'm in the process of enriching and clarifying a few pages of the
ConTeXt wiki and the French wikibook, I'm interested in the details
concerning the position of figures, images and photos etc. So please let
me know (in private mail) how you make your documents (a MWE will do).
\starttext
\input tufte
\externalfigure[smile03.pdf][conversion=mp]
\stoptext
It seems to me that Pablo has been struggling with the fine graining of
PDF files in recent months, but I think it was more about the
information contained in the PDF output than the processing of PDF
images in *.tex file output.
JP
Le 13/03/2024 à 09:16, Henning Hraban Ramm a écrit :
> Am 12.03.24 um 23:59 schrieb seyal zavira:
>> You are correct. when i convert this svg to pdf via inkscape it works
>> like a charm.
>>
>> But what is standard way of including an svg file with context if we
>> want to inkscape render the images?
>
> \externalfigure[smile]
>
> without any other settings, but inkscape must be callable on the
> command line (which doesn’t work for me on MacOS any more, must
> investigate…).
>
> Hraban
> ___________________________________________________________________________________
>
> If your question is of interest to others as well, please add an entry
> to the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net
> (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 4727 bytes --]
[-- Attachment #2: ctx-test-metapost-svg.pdf --]
[-- Type: application/pdf, Size: 43435 bytes --]
[-- Attachment #3: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2024-03-13 12:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-12 13:36 [NTG-context] " seyal.zavira
2024-03-12 13:43 ` [NTG-context] " Jean-Pierre Delange
2024-03-12 13:53 ` seyal zavira
2024-03-12 14:01 ` Henning Hraban Ramm
2024-03-12 14:44 ` Jean-Pierre Delange
2024-03-12 18:21 ` Hans Hagen
2024-03-12 22:59 ` seyal zavira
2024-03-13 8:16 ` Henning Hraban Ramm
2024-03-13 12:14 ` Jean-Pierre Delange [this message]
2024-03-13 12:37 ` Henning Hraban Ramm
2024-03-13 12:44 ` Jean-Pierre Delange
2024-03-15 19:39 ` Hans Hagen via ntg-context
2024-03-16 2:46 ` seyal zavira
2024-03-16 12:21 ` Jean-Pierre Delange
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861c49b2-f697-4e1f-bcb4-96bd6aacb977@free.fr \
--to=adeimantos@free.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).