Re: [O] tangle paths

2011-06-28 Thread Eric Schulte
Herbert Sitz hs...@nwlink.com writes:

 Eric Schulte schulte.eric at gmail.com writes:
 skip scp0801 at gmail.com writes:
 
  Is there a way I can produce output of tangle blocks to specific file 
  paths?
 
 
 The manual is useful: http://orgmode.org/manual/tangle.html
 

 Eric --

 I was wondering similar thing, but manual wasn't clearing things up for me.  
 As
 far as I know, 'basename' conventionally refers to a filename (root plus
 extension) that does _not_ include a directory path to the file itself.  See,
 e.g., http://en.wikipedia.org/wiki/Basename

 Is the manual using 'basename' to refer to a full path designation, minus the
 extension?  E.g.,

 /path/to/file/filename


Thanks for pointing this out, I've just pushed up an update to the
manual.

Best -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



Re: [O] tangle paths

2011-06-27 Thread Herbert Sitz
Eric Schulte schulte.eric at gmail.com writes:
 skip scp0801 at gmail.com writes:
 
  Is there a way I can produce output of tangle blocks to specific file paths?
 
 
 The manual is useful: http://orgmode.org/manual/tangle.html
 

Eric --

I was wondering similar thing, but manual wasn't clearing things up for me.  As
far as I know, 'basename' conventionally refers to a filename (root plus
extension) that does _not_ include a directory path to the file itself.  See,
e.g., http://en.wikipedia.org/wiki/Basename

Is the manual using 'basename' to refer to a full path designation, minus the
extension?  E.g.,

/path/to/file/filename

-- Herb 






Re: [O] tangle paths

2011-06-27 Thread Herbert Sitz
skip scp0801 at gmail.com writes:
 
 Is there a way I can produce output of tangle blocks to specific file paths?
 

I haven't tested, but one way might be to use the org-babel-post-tangle-hook to
write a function to move files wherever you want:

http://orgmode.org/manual/Extracting-source-code.html#index-tangling-1720 

-- Herb







[O] tangle paths

2011-06-24 Thread skip
Is there a way I can produce output of tangle blocks to specific file paths?



Re: [O] tangle paths

2011-06-24 Thread Eric Schulte
skip scp0...@gmail.com writes:

 Is there a way I can produce output of tangle blocks to specific file paths?


The manual is useful: http://orgmode.org/manual/tangle.html

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/