emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] [babel] noweb expansion in latex source blocks


From: Thomas S. Dye
Subject: Re: [Orgmode] [babel] noweb expansion in latex source blocks
Date: Sun, 1 Nov 2009 11:27:14 -1000

On Nov 1, 2009, at 9:47 AM, Dan Davison wrote:

"Thomas S. Dye" <address@hidden> writes:

Aloha all,

Noweb expansion in latex source blocks inserts spaces that can
introduce unwanted paragraph breaks in LaTeX.

Hi Tom,

I've just fixed this issue and the other one you posted, regarding
multiple references on a line. The changes will be in org-mode git
within the next few hours.

Thanks for reporting these problems.

Dan


Thanks Dan,

I appreciate your attention.

Tom


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


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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