* Babel Tangle issues
@ 2013-11-01 17:54 Sam Flint
2013-11-01 18:21 ` Eric Schulte
2013-11-03 5:35 ` Pete Ley
0 siblings, 2 replies; 3+ messages in thread
From: Sam Flint @ 2013-11-01 17:54 UTC (permalink / raw)
To: Org-Mode
I use org-babel to LP, and when I go to tangle, I get very little
output, a shebang line and that is about it, I have noweb set to tangle,
yet my references do not resolve. Any ideas why?
--
Sam Flint
swflint@flintfam.org
freenode: swflint
(402) 517-8468
http://flintfam.org/~swflint
BAFBF3FF
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Babel Tangle issues
2013-11-01 17:54 Babel Tangle issues Sam Flint
@ 2013-11-01 18:21 ` Eric Schulte
2013-11-03 5:35 ` Pete Ley
1 sibling, 0 replies; 3+ messages in thread
From: Eric Schulte @ 2013-11-01 18:21 UTC (permalink / raw)
To: Sam Flint; +Cc: Org-Mode
[-- Attachment #1: Type: text/plain, Size: 369 bytes --]
Sam Flint <swflint@flintfam.org> writes:
> I use org-babel to LP, and when I go to tangle, I get very little
> output, a shebang line and that is about it, I have noweb set to tangle,
> yet my references do not resolve. Any ideas why?
Without a minimal example illustrating the problem it is impossible to
say. The following tiny example works as expected.
This,
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: noweb-tangle-example.org --]
[-- Type: text/x-org, Size: 269 bytes --]
#+Title: example of tangling with noweb
* Two noweb blocks
#+name: begin
#+begin_src sh
echo begin
#+end_src
#+name: end
#+begin_src sh
echo end
#+end_src
* Containing tangled block
#+begin_src sh :tangle yes :noweb tangle
<<begin>>
date
<<end>>
#+end_src
[-- Attachment #3: Type: text/plain, Size: 19 bytes --]
tangles to this,
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: noweb-tangle-example.sh --]
[-- Type: text/x-sh, Size: 25 bytes --]
echo begin
date
echo end
[-- Attachment #5: Type: text/plain, Size: 70 bytes --]
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Babel Tangle issues
2013-11-01 17:54 Babel Tangle issues Sam Flint
2013-11-01 18:21 ` Eric Schulte
@ 2013-11-03 5:35 ` Pete Ley
1 sibling, 0 replies; 3+ messages in thread
From: Pete Ley @ 2013-11-03 5:35 UTC (permalink / raw)
To: Org-Mode
Sam Flint <swflint@flintfam.org> writes:
> I use org-babel to LP, and when I go to tangle, I get very little
> output, a shebang line and that is about it, I have noweb set to tangle,
> yet my references do not resolve. Any ideas why?
Without seeing your specific setup, I can't say for sure, but I seem to
remember having a similar problem when I didn't set up my NAME lines
correctly with the code blocks I was trying to tangle. Can you post an
example of the code that isn't working?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-03 5:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-01 17:54 Babel Tangle issues Sam Flint
2013-11-01 18:21 ` Eric Schulte
2013-11-03 5:35 ` Pete Ley
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).