Re: [O] [babel] Problem with tangling and newlines

2011-07-15 Thread Eric Schulte
Hi Seb, This is tricky because in some languages (e.g., Haskell and Python) whitespace needs to be respected, and the newlines are treated as part of the code block. We used to trim all whitespace padding from the edges of code blocks during tangling, however that caused problems, so now we do no

[O] [babel] Problem with tangling and newlines

2011-07-13 Thread Sebastien Vauban
Hi, Tangling this: #+begin_src sh :tangle my-csv2ledger-wrapper.sh :noweb yes #!/bin/bash # my-csv2ledger-wrapper.sh -- Convert CSV files to Ledger data <> |\ <> |\ <> exit 0 #+end_src now gives: --8<---cut here---start->8--- #!/bin/bash # my-csv2ledger-wra