David Roderick schrieb am 14.10.2024 um 13:12:
Thank you for fixing this.  I espy another feature which is required.  I save 
the png's into a subdirectory called images_0007 which is a subdirectory of 
where my tex files are located.  I run context from the latter (main or lower) 
working directory.  Your script looks for the png's in this lower (main) 
directory:

  \startplacefigure[location=here,reference=Picture 1178610960,title={}]% rId6
  \externalfigure[image1.png]
  \stopplacefigure

should be:
\startplacefigure[location=here,reference=Picture 1178610960,title={}]% rId6
\externalfigure[images_00007/image1.png][hfactor=fit]
\stopplacefigure

If you could fix this it would be greatly appreciated, and methinks useful.

You don't have to include the subdirectory in \externalfigure when you set the search path at the begin of the document with

\setupexternalfigures[directory=images_00007]

Even the file extension can be left out.

%%%% begin example
\setupexternalfigures[directory=images_00007]

\starttext

\startplacefigure[reference=Picture 1178610960]
\externalfigure[image1][hfactor=fit]
\stopplacefigure

\stoptext
%%%% end example

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to