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

issue with org2html when using png images in org-file #30

Open
curiousgg opened this issue Feb 18, 2020 · 0 comments
Open

issue with org2html when using png images in org-file #30

curiousgg opened this issue Feb 18, 2020 · 0 comments

Comments

@curiousgg
Copy link

A few issues here.
For one, I am unsure whether i am using the correct
way to specify certain \usepackages within org
(e.g.
#+LATEX_HEADER: \usepackage{tikz}
#+LATEX_HEADER: \usepackage{algorithm}
etc ...)
to generate a png image.

I specify :
#+BEGIN_SRC latex :exports results :file example.png
latex code here that might necessitate
certain packages such as tikz or algorithm
#+END_SRC

I run it and obtain the example.png file.

Now I would like to specify the example.png file within
the org file so that it can be accordingly exported to html.

When I run org2html now, the following error messages
appears:
........
........
executing Latex code block...
Attempt to calculate the dpi of a non-graphic display
org2html: Exported file wasn't produced
Recovering OLD file file.html...

What is happening ?

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

1 participant