[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [babel] noweb expansion in latex source blocks
From: |
Thomas S. Dye |
Subject: |
[Orgmode] [babel] noweb expansion in latex source blocks |
Date: |
Sat, 31 Oct 2009 18:09:07 -1000 |
Aloha all,
Noweb expansion in latex source blocks inserts spaces that can
introduce unwanted paragraph breaks in LaTeX.
The outer-block in this org file looks like something that should be
set as one paragraph in LaTeX.
* noweb expansion
#+srcname: outer-block
#+begin_src latex :tangle noweb_exp.tex
This is an observation.
<<inner-block>>
This is a conclusion.
#+end_src
#+srcname: inner-block
#+begin_src latex
This is an analysis.
#+end_src
But it tangles a LaTeX snippet with three paragraphs.
% generated by org-babel-tangle
% [[file:~/Public/projects/903_adzes/org-babel/noweb-
expansion.org::*noweb%20expansion][outer-block]]
This is an observation.
This is an analysis.
This is a conclusion.
% outer-block ends here
All the best,
Tom
- [Orgmode] [babel] noweb expansion in latex source blocks,
Thomas S. Dye <=