From: Henning Hraban Ramm <texml@fiee.net>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: how to include an an svg file?
Date: Wed, 13 Mar 2024 13:37:25 +0100 [thread overview]
Message-ID: <a9c277bc-a2c4-4bae-b51f-8cc7cebd3a88@fiee.net> (raw)
In-Reply-To: <861c49b2-f697-4e1f-bcb4-96bd6aacb977@free.fr>
Am 13.03.24 um 13:14 schrieb Jean-Pierre Delange:
> 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).
Gimp is a really bad choice in this case, since it converts vectors into
pixels.
And if you place a PDF, no further conversion is needed.
If you have problems with SVGs, use Inkscape (or some commercial
alternative like Affinity Designer or Adobe Illustrator) for PDF conversion.
> 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).
Position options:
* relative placement as floats, i.e. \placefigure
* absolute placement on layers, i.e. \setlayer
* relative corrections with \offset (also within floats)
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-03-13 12:39 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
2024-03-13 12:37 ` Henning Hraban Ramm [this message]
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=a9c277bc-a2c4-4bae-b51f-8cc7cebd3a88@fiee.net \
--to=texml@fiee.net \
--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).