Naresh Gurbuxani <naresh_gurbux...@hotmail.com> writes: > In org-mode export to LaTeX (then to pdf), I want to include html file. In > exported document, html file contents should be rendered (not in raw html > code). My export comment (C-c C-e ll) seems to have no effect on the first > of the two #+INCLUDE: commands below. Second #+INCLUDE: command works as > expected. How can this be fixed? > > My org file (include_html.org) > > #+TITLE: Include html > In org-mode export to LaTeX to pdf, include html file. In exported document, > html file contents should not be in raw html code. They should be rendered. > > #+INCLUDE: "hello_world.html" export html > #+INCLUDE: "hello_world.html" src html
#+INCLUDE: ... export html will yield #+begin_export html <html contents here> #+end_export And that markup, as expected, will be ignored during latex export. I am not sure what you mean by "contents should be rendered". -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>