I found that the explicit \setmainfont etc. commands may have loaded a
system-provided font instead of the TeX-Live provided font, which caused
various interoperability issues. Loading the packages is more
appropriate as they will load the correct font variants for whatever
variant of latex is being used.
Preloading newtxmath is recommended as per:
http://mirrors.ctan.org/fonts/ebgaramond-maths/ebgaramond-maths.pdf
Solves issue #34. I agree that it's nicer to have that *directly* in the
text, but I provide the commands nevertheless for demo purposes. Fixed a
bug that arose from using `unicode-math` here.
This allows unicode characters in bookmarks as metion in 11.5 form the hyperref manual. (ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf)
Thanks to Holger Peters [1] for raising this issue on Twitter. I would
not have caught it otherwise because I am not using `pdflatex` to work
with the package.
[1]: https://www.holger-peters.de/