[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-babel (org-babel-detangle)
From: |
Eric Schulte |
Subject: |
Re: [O] org-babel (org-babel-detangle) |
Date: |
Wed, 13 Apr 2011 10:50:32 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Mohamed,
You have a small typo in your header arguments, ":comment" should be
":comments". After that change then code block should be tangled
wrapped in comments, and then Babel can use these comments to jump back
to the original org-mode file.
That said, the detangle mechanisms are in need of some work,
specifically regarding their use of the Org-mode's link resolution,
which doesn't currently make it possible to programmatically jump to the
results of a link. So, until some time is spent fixing up the
detangling machinery inside of Babel, you may not find detangling to be
extremely robust.
Best -- Eric
Mohamed HIBTI <address@hidden> writes:
> Dear all,
> I have a problem with detangling org-babel fragments.
> May be this is because XML is not a supported feature/or I use it in a wrong
> way.
> Any help is welcome.
>
> My org-file is below. I can tangle this file to obtain the XML file but
> when I try to jump to org I get the message "not in tangled code".
>
> *** TODO Question that needs validation
> :PROPERTIES:
> :ID: 2788f65d-5613-40c1-80ae-ae966f4bb398
> :END:
> #+BEGIN_SRC XML :tangle ./sample04.xml :comment yes
> <define-fault-tree name="ACP-2">
> <!-- Le problme de cette question -->
> <!---->
> <label>AC Power System Bus 2</label>
> <define-gate name="@ACP-2-1" code:calctype="Q">
> <label>AC Power System Bus 2 fails</label>
> <and>
> <gate name="@ACP-2-2"/>
> <gate name="@ACP-2-3"/>
> </and>
> </define-gate>
> </define-fault-tree>
> #+END_SRC
>
> Best regards,
>
> Mohamed
>
>
>
--
Eric Schulte
http://cs.unm.edu/~eschulte/