Create a function that automatically generates Word hovertext when
passed some specification that indications the term should be pulled from a glossary (e.g., {{ glossary-hovertext: 'liquidity' }} )
some definition is manually passed to the function (e.g., {{ man-hovertext: 'liquidity', 'Liquidity is defined as something something' }})
Context / Problem
I'm facing a problem where many simple definitions are gumming up the main text of a Word document. Word has a function that allows you to create hover text (doesn't retain when converted to .pdf unfortunately).
Sample XML
Here is the underlying XML that creates the hovertext Liquidity is blah blah blah something about money. for the word liqudity. The formatting details specify that the word is colored blue and underlined
Goal
{{ glossary-hovertext: 'liquidity' }}
){{ man-hovertext: 'liquidity', 'Liquidity is defined as something something' }}
)Context / Problem
I'm facing a problem where many simple definitions are gumming up the main text of a Word document. Word has a function that allows you to create hover text (doesn't retain when converted to
.pdf
unfortunately).Sample XML
Here is the underlying XML that creates the hovertext
Liquidity is blah blah blah something about money.
for the wordliqudity
. The formatting details specify that the word is colored blue and underlined