Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable copying org-preview image files in ltximg folder when using mathjax for equation rendering. #723

Open
panmengguan opened this issue Aug 8, 2023 · 2 comments

Comments

@panmengguan
Copy link

panmengguan commented Aug 8, 2023

Thanks very much for this awesome package! Since I use mathjax for the equation rendering of exported hugo pages, is it possible to disable copying the org-preview image files in the ltximg folder (org-preview-latex-image-directory) to the static/ltximg folder?

@vherrmann
Copy link

vherrmann commented Aug 10, 2023

I actually think that the copying of the ltximg folder should be disabled by default since this feature could leak information (the latex snippets) that is not part of the blog files .

@panmengguan
Copy link
Author

panmengguan commented Aug 10, 2023

According to the definition of the function org-hugo-body-filter
https://github.com/kaushalmodi/ox-hugo/blame/cb1b6cfd7b080e889352150416c1725f11ba937a/ox-hugo.el#L3746
the default behaviour of ox-hugo is to copy this ltximg folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants