Hi all, I use org-mode for web publishing. My web contains four pages that share a common (HTML) header, with some links to the different sections of the web and other stuff.
At some point, I decided to include a common raw HTML in every page. This raw HTML is Javascript stuff for visits counting using Google Analytics. That file is included in every page right after the title, using #+INCLUDE header/header.org. Everything was working fine when I had just links, but now that I have included the #+BEGIN_HTML stuff, it is escaped when exporting everything to HTML, and instead of my raw HTML in the output files I get a line starting by ",#+BEGIN..." (properly written and escaped in HTML; notice the initial comma). I though of #+INCLUDE as a sort of C's #include, i.e. it just copies the text of the included file in the line where #+INCLUDE is. However this seems not to be the case. I have found in the list a discussion about how to insert source code in HTML outputs, without inserting the initial commas, which confirms that included org files are escaped when exporting to HTML: http://thread.gmane.org/gmane.emacs.orgmode/15707 I have also found this approach to include files approach, that I have tried without success: nothing is shown in the HTML output (see second message in the thread): http://thread.gmane.org/gmane.emacs.orgmode/4127 Is there any way to do a plain (no escape) import of org files? Cheers, Israel _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode