[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org pr

From: Nicolas Goaziou
Subject: Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes
Date: Sun, 01 Jun 2014 13:24:48 +0200


Omid <address@hidden> 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:

  #+INCLUDE: "file.org"

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.


[1] And verse blocks, but I'd rather put it aside for now.

Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]