Hi John, 

You can use the inline option:


\setupexternalfigures[location=default]
\starttext
Is it this   \externalfigure[hacker.jpg][height=2ex,inline]{}  or  
\externalfigure[cow][height=2ex,inline]{}
what you mean?
\stoptext



Matthias

> On Aug 10, 2025, at 5:26 AM, John Was <johno...@gmail.com> wrote:
> 
> Dear Wolfgang and Pablo
> 
> Many thanks for the replies.  I've no immediate requirement for small in-text 
> graphics but it's the sort of thing that could well come up in a journal 
> article or some of the early English volumes I copy-edit and typeset. (But my 
> lateral-thinking brain is just beginning to formulate a possible adaptation 
> for footnote tagging - more anon. if I get anywhere with this.)
> 
> It's good to know that some of these hieroglyphs are available in Unicode 
> (the specialist article I had to typeset had some non-standard requirements 
> specific to a certain set of inscriptions.)
> 
> I well remember the relief when Unicode support came in for TeX.  Suddenly 
> the first line of the Iliad could appear as:
> 
> Μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος,
> 
> whereas before I had had to get used to:
> 
> {\porsongreek M{\etacircumflex}nin {\alphalenisacute}eide, ue{\alphaacute}, 
> Phlh{iotadiaeresis}{\alphaacute}dev {\Alphalenis}xil{\etacircumflex}ow}
> 
> It's surprising how quickly that sort of thing becomes legible!  In those 
> days I latched on to WordPerfect (and even CP/M's LocoScript), which had 
> unique slots for Greek and Cyrillic characters, so that the rebarbative 
> coding I had invented could be introduced automatically with multiple 
> search-and-replace operations. I'm sure all this kept the brain active (like 
> pre-decimal coinage) - but then so does learning ConTexT.
> 
> Best wishes
> 
> John  🇪🇺  Слава Україні! 🇺🇦
> 
> 
> On Sat, 9 Aug 2025 at 16:37, Wolfgang Schuster 
> <wolfgang.schuster.li...@gmail.com 
> <mailto:wolfgang.schuster.li...@gmail.com>> wrote:
>> 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 <mailto:ntg-context@ntg.nl> / 
>> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
>> webpage  : https://www.pragma-ade.nl <https://www.pragma-ade.nl/> / 
>> https://context.aanhet.net <https://context.aanhet.net/> (mirror)
>> archive  : https://github.com/contextgarden/context
>> wiki     : https://wiki.contextgarden.net <https://wiki.contextgarden.net/>
>> ___________________________________________________________________________________
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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