emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Help tangling


From: Andreas Hilboll
Subject: [O] Help tangling
Date: Wed, 02 Apr 2014 21:49:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Hi,

I want to write a "SConstruct" file (for SCons, a Python make
alternative) in orgmode, using literate programming.  So I have a file
"SConstruct.org", where I include the code blocks with "#+begin_src ...
#+end_src".  My question:

   How can I specify that *all* code blocks shall be tangled into one
single file called "SConstruct"?

I know I could do this by writing

   #+begin_src python :tangle SConstruct
   [...]
   #+end_src

instead of

   #+begin_src
   [...]
   #+end_src

but is there some way to define the "python" and the ":tangle
SConstruct" 'globally' for the whole file?

Thanks for helping me orgmode-newbie!

-- Andreas.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]