add endnotes to test file
render <mentioned> in italic by default. make sure endnotereference style defined in Word
simpliy the way LaTeX comversion handles xelatex vs pdflatex

The old reencode param is thrown away, and the test is put in the LaTeX
instead. redo the way examplefont is done
better support for endnotes

Adding an endnote to the test file, and associated fixes to render a
mixtire of footnotes and endnotes properly
clean up artefacts