[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] tangling files on export not working properly
|
From: |
Nicolas Goaziou |
|
Subject: |
Re: [O] tangling files on export not working properly |
|
Date: |
Sat, 10 Dec 2016 13:54:13 +0100 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
mcg <address@hidden> writes:
> Hello,
>
> When exporting my document to latex I want org-mode to tangle a few code
> blocks.
>
> #+NAME: tangle_files
> #+BEGIN_SRC emacs-lisp :exports results :eval query-export
>
> (org-babel-tangle-file "~/thesis/chapter/NH.org")
>
> #+END_SRC
>
> When I run the code block manually it works fine
> *Messages*: "Tangled 2 code blocks from NH.org"
>
> However, even though the is run on export, nothing gets tangled:
> "Tangled 0 code blocks from 04.NH.org"
>
> Is there any explanation for this? Anything I'm overlooking?
Doesn't you need to add :tangle yes to the block header?
Actually, adding this correctly tangle the file upon exporting the
document.
Regards,
--
Nicolas Goaziou
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] tangling files on export not working properly,
Nicolas Goaziou <=