Fair comment Denis. I decided to try the lookup based approach on pages 85 - 86 of the xml manual and my setups are based on those pages. I have to admit that I find the xml manual a wee bit difficult in places since xml is outside my expertise. I attach my tex and html files which should save some copy and pasting. Thanks Keith McKay On 11/04/2023 14:51, denis.maier@unibe.ch wrote: > Hard to tell, if you don't show us what you've tried so far. > In one of my setups I use the lua based approach described on page 86/87. But again, we'll probably need more information to figure it out. > >> -----Ursprüngliche Nachricht----- >> Von: ntg-context Im Auftrag von Keith >> McKay via ntg-context >> Gesendet: Montag, 10. April 2023 17:30 >> An: mailing list for ConTeXt users >> Cc: Keith McKay >> Betreff: [NTG-context] Help with typesetting footnotes in an HTML >> document >> >> Hi, >> >> I have been puzzling over how to typeset footnotes in a HTML document, >> most elements have been relatively easy to typeset but I'm stumped with >> footnotes.  I have been studying the the xml manual in particular Chapter  7.4 >> Cross Referencing, but I'm still struggling to get xmlsetups which come >> anywhere near working. Any hints  to a solution would be greatly >> appreciated. >> >> Best Wishes >> >> Keith McKay >> >> %%%%%%%%%%%%%%%%%%% >> >> Here is a snippet of the HTML document with footnotes >> >> >> >   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> >> >>   >> >> >>  

‘What is a weed? A plant whose virtues have >> not been discovered,’ wrote Ralph Waldo Emerson> class="footnote">> data-fnref="53-1">. Those delicate crucifers with their >> manifold faces of four pink or lilac petals striated with veins of deeper >> lavender are the perfect introduction to flowers for children. So delicate and >> yet hardy.

>>  

I spend some of April abroad, travelling by road >> from an unseasonably snowy Austria (‘dieses Wetter ist verrückt!’> class="footnote">> data-fnref="53-2"> as an elderly lady exclaimed to me) to >> northern France, and when I come home, it’s to a landscape responding to >> substantially increased light levels and temperatures.

>>  

This was the early sixties. Like many thousands, >> we were rehoused from Maryhill in the heart of urban Glasgow to this >> peripheral housing scheme which completely changed the character of what >> had been a village. Within a decade those glasshouses were abandoned, >> glass broken in the frames, and a row of shops that included a chippy and a >> betting shop soon replaced them, betting ‘off’ licensed race-tracks having >> become legal in 1961.

>>  
>>    
>>    
>>       Emerson, R.W. (1878) Fortune of the Republic, p.3 quoted in >> Oxford Dictionary of Quotations, Rev Fourth Edition (1996). >>    
>>    
>>       ‘Crazy weather!’ >>    
>>     >>  
>> >> >> >> %%%%%%%%%%%%%%%%%% >> >> __________________________________________________________ >> _________________________ >> If your question is of interest to others as well, please add an entry to the >> Wiki! >> >> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg- >> context >> webpage : https://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : https://contextgarden.net >> __________________________________________________________ >> _________________________