all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* #+INCLUDE: myfile.html html does not include /literally/; Org processes
@ 2014-06-01  4:06 Omid
  2014-06-01  4:42 ` Nick Dokos
  2014-06-01  7:53 ` Achim Gratz
  0 siblings, 2 replies; 24+ messages in thread
From: Omid @ 2014-06-01  4:06 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I am trying to include an HTML file (say myfile.html, which has only
the <body>) in an Org file so that upon export the contents of
myfile.html are /literally/ inserted in the appropriate section of the
exported HTML file. Following
http://orgmode.org/manual/Include-files.html, I used

#+INCLUDE: "myfile.html" html

But checking the exported HTML document, I see that the included HTML
file myfile.html has been "processed" by Org. Other options (such as
src or example) work as expected. How can I get the literal include
behaviour with #+INCLUDE, as if the contents of myfile.html were wrapped
in
#+BEGIN_HTML

#+END_HTML
delimiters?

I don't want to use

#+BEGIN_SRC sh :results html exports results
cat myfile.html
#+END_SRC

for these reasons:
1. myfile.html could be rather large and dumping its contents in the
  Org file clutters things up.
2. Changing myfile.html would change the Org file, and makes a mess
   since my Org file is under git version control.

Thanks,

-- 
Omid

Sent from my Emacs

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: #+INCLUDE: myfile.html html does not include /literally/; Org processes
@ 2014-09-25 22:36 Omid
  2014-09-26  9:07 ` Nicolas Goaziou
  2014-09-26 18:53 ` Achim Gratz
  0 siblings, 2 replies; 24+ messages in thread
From: Omid @ 2014-09-25 22:36 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Stromeko

Hello,

Apologies for waking up this old thread. But is this feature, for
which Achim proposed a patch early on, going to be included in the Org
mode? As of Org-mode version 8.2.7c (8.2.7c-71-g60418c-elpa)

#+INCLUDE: "myfile.html" html

still does not do a literal include.

The last discussion I saw of it was
https://lists.gnu.org/archive/html/emacs-orgmode/2014-06/msg00028.html

In any case, could you (Achim Gratz) please share with us the final
patch that you and Nicolas Goaziou agreed upon?

Thanks,

-- 
Omid

GPG: 0x371DC12B (see https://u.fsf.org/yw)

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2014-09-26 18:54 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-01  4:06 #+INCLUDE: myfile.html html does not include /literally/; Org processes Omid
2014-06-01  4:42 ` Nick Dokos
2014-06-01  4:51   ` Omid
2014-06-01  6:18     ` Nick Dokos
2014-06-01  5:05   ` Omid
2014-06-01  7:53 ` Achim Gratz
2014-06-01  8:31   ` Nicolas Goaziou
2014-06-01  9:26     ` Achim Gratz
2014-06-01 10:01       ` Nicolas Goaziou
2014-06-01 10:23         ` Achim Gratz
2014-06-01 11:30           ` Nicolas Goaziou
2014-06-01 13:02             ` Achim Gratz
2014-06-01 14:00               ` Nicolas Goaziou
2014-06-01 14:27                 ` Achim Gratz
2014-06-03 20:37                   ` Nicolas Goaziou
2014-06-04 21:50                     ` Achim Gratz
2014-06-05  9:28                       ` Nicolas Goaziou
2014-06-07 10:11                     ` Achim Gratz
2014-06-07 13:53                       ` Nicolas Goaziou
2014-06-01 10:01       ` Omid
2014-06-01 11:24         ` Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2014-09-25 22:36 Omid
2014-09-26  9:07 ` Nicolas Goaziou
2014-09-26 18:53 ` Achim Gratz

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.