Re: [O] buffer-wide tangle filename

2012-03-29 Thread Christian Moe

Hi, Julian,

See if it helps to fix a small syntax error: drop the colon before 
tangle, and place it after #+PROPERTY instead.


#+PROPERTY: tangle output.el

The colon in :tangle is needed when you're providing a header 
argument to a src block, but not when you're setting buffer-wide 
properties.


Yours,
Christian

On 3/29/12 3:25 AM, Julian Burgos wrote:

Hello everyone,
This may be a very simple question.  I want to tangle multiple source code
blocks into a single file.  Instead of using the same output filename as a
block header (e.g. :tangle output.el) in each code block, can I I define a
buffer-wide tangle filename?  Something like this (which does not work)?

#+PROPERTY :tangle output.el


Any ideas?

Julian









Re: [O] buffer-wide tangle filename

2012-03-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/03/12 09:47, Christian Moe wrote:
 Hi, Julian,
 
 See if it helps to fix a small syntax error: drop the colon before tangle, 
 and place it
 after #+PROPERTY instead.
 
 #+PROPERTY: tangle output.el
 
 The colon in :tangle is needed when you're providing a header argument to a 
 src block, but
 not when you're setting buffer-wide properties.

And do not forget to C-c C-c on the changed buffer wide property!

Rainer

 
 Yours, Christian
 
 On 3/29/12 3:25 AM, Julian Burgos wrote:
 Hello everyone, This may be a very simple question.  I want to tangle 
 multiple source code 
 blocks into a single file.  Instead of using the same output filename as a 
 block header (e.g.
 :tangle output.el) in each code block, can I I define a buffer-wide tangle 
 filename?
 Something like this (which does not work)?
 
 #+PROPERTY :tangle output.el
 
 
 Any ideas?
 
 Julian
 
 
 
 
 
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk90FbEACgkQoYgNqgF2egqHrwCggnp4/k+swEno/hW/iRPUfop/
P1cAnRfxvFlI03qEQg8ys/RuiBnGikeW
=qodT
-END PGP SIGNATURE-



Re: [O] buffer-wide tangle filename

2012-03-29 Thread Sebastien Vauban
Hello Julian,

Julian Burgos wrote:
 This may be a very simple question.  I want to tangle multiple source code
 blocks into a single file.  Instead of using the same output filename as a
 block header (e.g. :tangle output.el) in each code block, can I I define a
 buffer-wide tangle filename?  Something like this (which does not work)?

 #+PROPERTY :tangle output.el

 Any ideas?

Yes:  #+PROPERTY tangle output.el
that is no `:' sign in front of tangle...

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] buffer-wide tangle filename

2012-03-29 Thread Julian Burgos
Thanks!!  You were right.  The position of the colon was wrong (but is 
still needed), and I had to refresh the local setup.


On fim 29.mar 2012 07:57, Sebastien Vauban wrote:

Hello Julian,

Julian Burgos wrote:

This may be a very simple question.  I want to tangle multiple source code
blocks into a single file.  Instead of using the same output filename as a
block header (e.g. :tangle output.el) in each code block, can I I define a
buffer-wide tangle filename?  Something like this (which does not work)?

#+PROPERTY :tangle output.el

Any ideas?





--
Julian Mariano Burgos, PhD
Hafrannsóknastofnunin/Marine Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax:  +354-5752001
Netfang/Email: jul...@hafro.is




Re: [O] buffer-wide tangle filename

2012-03-29 Thread Martyn Jago
Julian Burgos jul...@hafro.is writes:

 Hello everyone,
 This may be a very simple question.  I want to tangle multiple source code
 blocks into a single file.  Instead of using the same output filename as a
 block header (e.g. :tangle output.el) in each code block, can I I define a
 buffer-wide tangle filename?  Something like this (which does not work)?

 #+PROPERTY :tangle output.el


 Any ideas?

 Julian

--8---cut here---start-8---
#+PROPERTY: tangle output.el
--8---cut here---end---8---

Best, Martyn




[O] buffer-wide tangle filename

2012-03-28 Thread Julian Burgos
Hello everyone,
This may be a very simple question.  I want to tangle multiple source code
blocks into a single file.  Instead of using the same output filename as a
block header (e.g. :tangle output.el) in each code block, can I I define a
buffer-wide tangle filename?  Something like this (which does not work)?

#+PROPERTY :tangle output.el


Any ideas?

Julian