http://www.pythonreader.com/2024/04/integrating-document-embedding-in.html