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: Dan Davison
Subject: Re: [Orgmode] [babel] noweb expansion in latex source blocks
Date: Sun, 01 Nov 2009 14:47:55 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

"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

>
> 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]