Dear List

Following the helpful advice received about in-line figures, I had a
thought about adapting this for the purpose of allowing an audio reader to
read out a footnote in situ to a visually impaired reader (before
continuing with reading of the main text).  The following MWE essentially
works in a rather Heath Robinson way (using \tagnote in place of
\footnote), but there are obvious glitches (for example, italic and other
font switches in a footnote ought really to be eliminated in the audible
version).  The reader would also have the irritation of the notes being
read again when the audio reader gets to the foot of the page:   I am
wondering if something could be done with \phantom or an equivalent, so as
to leave all the space occupied by the note (thus preserving the pagination
of the physically printed book).  But there's no sense in going further if
the consensus is that I'm barking up the wrong tree!  Here is the sample:

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

\setupinteraction

      [state=start]

\setupinteractionscreen

      [option=bookmark]

\setupbackend[format=pdf/ua-2]% needs to come before:

\setuptagging[state=start]%otherwise lots of stuff will silently break

\setupstructure[state=start]

\setupnote

   [textcommand={\offset[y=-1ex]},% raise the number

      textstyle={\switchtobodyfont[10pt]}]

\setupnotation

   [footnote]

   [  alternative=serried,% number in the paragraph

      headcommand=\groupedcommand{\hskip{8pt}}{},% space before the number

         distance=4pt,% space after the number

    numbercommand={\offset[y=-1ex]},% raise the number

      numberstyle={\switchtobodyfont[10pt]},

           before={\blank[medium]}]% vertical space before the entry

\define[1]\notetag

      {\footnote{#1}\llap{\let \it \relax \externalfigure[cow]
[width=0pt,height=0pt,label={Footnote: #1}]}}

\starttext

The phenomenon of colonialism extended borders well beyond traditional
dynastic realms.\notetag{Among recent works, see David Graeber and Marshall
Sahlins, {\it On Kings\/} (Chicago, 2017), and Elena Woodacre, Lucinda
H.~S. Dean, Chris Jones, et~al. (eds.), {\it The Routledge History of
Monarchy\/} (London, 2019).} Furthermore, monarchies do not consist solely
of individual rulers, but encompass an intricate network of family members.

\stoptext


Best wishes

John  *🇪🇺 * Слава Україні!
* 🇺🇦*


<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___________________________________________________________________________________
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