Aha, Well, my contribution will be to adjust the wiki for simple minded people like me…as I think my solution will be (if I decide for svg) to batch convert these before launching the context build process.
Thanks to all On 11 May 2012 08:57, Hans Hagen <pra...@wxs.nl> wrote: > On 10-5-2012 18:50, Aditya Mahajan wrote: >> >> On Thu, 10 May 2012, Hans Hagen wrote: >> >>> On 10-5-2012 16:59, Aditya Mahajan wrote: >>>> >>>> On Thu, 10 May 2012, Ian Lawrence wrote: >>>> >>>>> I read on the wiki that now svg is natively supported. Hmm. >>>> >>>> >>>> No. You need to have inkscape installed (and in your PATH) for svg to >>>> pdf conversion to work. >>>> >>>>> FWIW, I cannot find the intermediate file >>>>> 'm_k_i_v_ChangingField_ILUC.pdf' on my disk either…both graphics files >>>>> are in the same location, both exist, both are named correctly…. >>>> >>>> >>>> @Hans, could we change the conversion so that it checks for inkscape and >>>> gives a more sensible warning if inkscape is absent? >>> >>> >>> so what is a robust check ... >> >> >> How about just implementing the unix which command in lua? >> >> (untested code) > > > Indeed -) > > It's more complicated as on windows there can be implicit 'exe', 'cmd', > 'bat' suffixes but some testing shows that a path checker is faster than > calling which/where so I've added an os.[which|where] to l-os.lua that we > can use. > > I've added a check to the graphic converter code but didn't test (not in the > mood to rename/remove programs and/or make a test file). > > Hans > > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 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@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 ___________________________________________________________________________________