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
___________________________________________________________________________________