From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: mcg <giepen.m@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: tangling files on export not working properly
Date: Sat, 10 Dec 2016 13:54:13 +0100 [thread overview]
Message-ID: <87pol0c5ca.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <12c602f5-dd6a-f961-7432-a0ede7dd0e09@gmail.com> (mcg's message of "Sun, 27 Nov 2016 18:27:31 +0100")
Hello,
mcg <giepen.m@googlemail.com> 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 parent reply other threads:[~2016-12-10 12:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-27 17:27 tangling files on export not working properly mcg
2016-12-10 12:54 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pol0c5ca.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=giepen.m@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).