[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Error with :wrap org in babel and 8.0-pre
From: |
Eric Schulte |
Subject: |
Re: [O] Error with :wrap org in babel and 8.0-pre |
Date: |
Mon, 15 Apr 2013 20:37:41 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
address@hidden (Thomas S. Dye) writes:
> Hi all,
>
> Eric Schulte <address@hidden> writes:
>
>>>
>>> - Can we prune some options/syntax that's no longer necessary? For
>>> example, what does =:wrap= (no argument provided) do?
>>
>> Wrap has been deprecated for some time. Perhaps it has been long enough
>> that we can go ahead and remove it entirely from the code and
>> documentation at this point.
>>
>
> I think :wrap is useful. It provides a very direct way to generate code
> that can be exported to an arbitrary LaTeX environment. Say I find a new
> LaTeX package that defines a =cutemarkup= environment, so I want
> something like this the LaTeX file:
>
> \begin{cutemarkup}
> ...
> \end{cutemarkup}
>
> Then, with babel:
>
> #+begin_src lang :wrap cutemarkup
> ...
> #+end_src
>
> gets me what I want,
>
> #+begin_cutemarkup
> ...
> #+end_cutemarkup
>
> IIRC, this is one reason why :wrap is there (thanks, Eric).
>
> Perhaps this result is possible some other way? I don't know, but it
> seems to me that :wrap is still potentially useful and we might want to
> keep it around.
>
> Tom
Hi Tom,
This is a reasonable use case, and I personally don't know of another
way to get these results. So I guess it is just the use of wrap to
delimit Org-mode results which is deprecated, and we *do* still have a
use for the ":wrap" header argument in general.
Thanks,
--
Eric Schulte
http://cs.unm.edu/~eschulte
- Re: [O] Error with :wrap org in babel and 8.0-pre, (continued)
- Re: [O] Error with :wrap org in babel and 8.0-pre, John Hendy, 2013/04/15
- Re: [O] Error with :wrap org in babel and 8.0-pre, Sebastien Vauban, 2013/04/15
- Re: [O] Error with :wrap org in babel and 8.0-pre, Eric Schulte, 2013/04/15
- Re: [O] Error with :wrap org in babel and 8.0-pre, John Hendy, 2013/04/15
- Re: [O] Error with :wrap org in babel and 8.0-pre, Eric Schulte, 2013/04/15
- Re: [O] Error with :wrap org in babel and 8.0-pre, Thomas S. Dye, 2013/04/15
- Re: [O] Error with :wrap org in babel and 8.0-pre,
Eric Schulte <=
- Re: [O] Error with :wrap org in babel and 8.0-pre, Sebastien Vauban, 2013/04/16
- Re: [O] Error with :wrap org in babel and 8.0-pre, Christian Moe, 2013/04/16
- Re: [O] Error with :wrap org in babel and 8.0-pre, John Hendy, 2013/04/16
- Re: [O] Error with :wrap org in babel and 8.0-pre, Eric Schulte, 2013/04/16
- Re: [O] Error with :wrap org in babel and 8.0-pre, Christian Moe, 2013/04/16
- Re: [O] Error with :wrap org in babel and 8.0-pre, Sebastien Vauban, 2013/04/15
- Re: [O] Error with :wrap org in babel and 8.0-pre, Nicolas Goaziou, 2013/04/16
- Re: [O] Error with :wrap org in babel and 8.0-pre, Eric Schulte, 2013/04/15
- Re: [O] Error with :wrap org in babel and 8.0-pre, Sebastien Vauban, 2013/04/15
- Re: [O] Error with :wrap org in babel and 8.0-pre, John Hendy, 2013/04/15