Am 14.10.24 um 13:12 schrieb David Roderick:
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’re right, that makes sense.
I added the path, but not the width setting.

I never used extracted images unchanged; usually the result of the script is just raw material for me, so I can live with imperfections.

Perhaps it would make sense to use adaptable templates for all constructs (paragraph, itemization, table, image…); for me, the main missing feature is splitting by chapter.

This little script won’t become something like Pandoc.

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
___________________________________________________________________________________

Reply via email to