From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: #+INCLUDE: myfile.html html does not include /literally/; Org processes Date: Sun, 01 Jun 2014 13:24:48 +0200 Message-ID: <87vbskeutb.fsf@gmail.com> References: <538AA6B8.40604@gmail.com> <8761kl12w9.fsf@Rainer.invalid> <87bnudf2u4.fsf@gmail.com> <87wqd1yo84.fsf@Rainer.invalid> <538AF9F9.3000004@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr3s9-0006AU-L4 for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 07:24:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wr3s3-0003yw-Mf for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 07:24:17 -0400 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:62501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr3s3-0003ys-Fy for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 07:24:11 -0400 Received: by mail-we0-f179.google.com with SMTP id q59so3813852wes.24 for ; Sun, 01 Jun 2014 04:24:10 -0700 (PDT) In-Reply-To: <538AF9F9.3000004@gmail.com> (Omid's message of "Sun, 01 Jun 2014 06:01:29 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Omid Cc: emacs-orgmode@gnu.org Hello, Omid writes: > I think #+INCLUDE: should be just that: Include whatever the user is > asking to. No header arguments dumps the file in Org (as it does now), > subject to the usual processing, and a header argument like html wraps > it in the appropriate delimiter, subject to processing according to > that delimiter. We don't need support for arbitrary blocks in keywords INCLUDE. Using actual blocks will work just fine: #+BEGIN_QUOTE #+INCLUDE: "file.org" #+END_QUOTE This is very regular: no need for redundancy in these cases. Though, it cannot work for verbatim blocks[1] for obvious reasons. That's why INCLUDE syntax provides parameters for both "example" and "src" blocks. At the moment, there's no support for export blocks. We just need to add that. Regards, [1] And verse blocks, but I'd rather put it aside for now. -- Nicolas Goaziou