First of all, your package is absolutely amazing and really helpful. Thanks for your work!
However, it seems like the function body_replace_img_at_bkm() in combination with external_img pastes images not with the given width and height into a Word-document. To be more precise, I get the correct sizing, when I divide the target size in inches by 72 and use this value for width and height. The bug can be reproduced with any simple document. I'm not sure, if there's a way for to provide the Word-document and the used image for you. Please let me know.
Anyway, the code I used for this purpose was:
Of course,I used the newest version of your package and all the other packages are also up to date. I hope, you can reproduce the bug with the given information. If not, don't hesitate to ask for more information.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
Hi davidgohel,
First of all, your package is absolutely amazing and really helpful. Thanks for your work!
However, it seems like the function
body_replace_img_at_bkm()
in combination withexternal_img
pastes images not with the given width and height into a Word-document. To be more precise, I get the correct sizing, when I divide the target size in inches by 72 and use this value for width and height. The bug can be reproduced with any simple document. I'm not sure, if there's a way for to provide the Word-document and the used image for you. Please let me know. Anyway, the code I used for this purpose was:The word document only contained the bookmark
MyBookmark
.This code did the trick for me (notice the introduced factor):
Of course,I used the newest version of your package and all the other packages are also up to date. I hope, you can reproduce the bug with the given information. If not, don't hesitate to ask for more information.
sessionInfo()
gave me the following output: