Am 09.08.2025 um 17:04 schrieb John Was:
Hello list

Some years ago, when plain TeX was still pure ASCII, I had to set an article on Luwian hieroglyphs, which involved a large number of very small scans that appeared in running text without disturbing the interlinear spacing.  If I wanted to do the same in ConTexT, what would be the preferred method (both in the preamble and in the text itself)?

Native support for Unicode in plain TeX is possible since more than 2 decades with the introduction of XeTeX.

Ideally I would want the label option to work for the benefit of any visually impaired readers accessing the PDF.  The following MWE doesn't seem to work (which means no more than that I am still regrettably ignorant of ConTexT's capabilities with artwork):

1. Context doesn't load images present in the TeX tree unless you tel it to do so.

2. The cow sample figure is provided as a pdf file while you try to load an jpeg image.

Be aware the keys for additional texts of figures have ben changed to descriptiontext and alternativetext.

\starttext

The small cow \externalfigure[cow.jpg] [width=0.5em,height=2ex,label={This is a small cow.}] was attacked by the quick brown fox that jumped over the lazy dog's back.\stoptext

\setupexternalfigures[location={local,global,default}]

\starttext

Cow: \externalfigure[cow][height=2ex].

Cow: \offset[y=sd]\externalfigure[cow][height=lh].

\stoptext

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