[Top][All Lists]

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

Re: [Orgmode] [Babel] The first line of the code blocks disappears in th

From: Chris Malone
Subject: Re: [Orgmode] [Babel] The first line of the code blocks disappears in the tangled file
Date: Wed, 8 Dec 2010 09:24:42 -0500

Hi Seb,

I can't say that I understand the problem, but I can reproduce it - any line right after the #+begin_src org :results latex is being stripped upon tangle.  Not sure if it helps or not, but I'm using org-mode version 7.3 =release_7.3.89.g97f4c.dirty= with emacs 22.2.1.


2010/12/8 Sébastien Vauban <address@hidden>
#+TITLE:     Isodoc letter (to be tangled to LaTeX file)
#+DATE:      2010-12-08

Right now, this letter *must be tangled* and post-processed via =PDFLaTeX=. It
can't be exported directly to PDF/HTML (=args out of range= error).

The problem I'm reporting here is visible *in the tangled file* (TeX). So, to
reproduce it, just do =C-c C-v C-t= on this file, and look at the tangled one.

* To
#+begin_src csv :tangle addresses.csv
Anybody,Kind Enough,to look,at,this

* Subject
#+srcname: subject
#+begin_src org :results latex
This is my subject line

* Opening
#+srcname: opening
#+begin_src org :results latex

* Body
#+srcname: body
#+begin_src org :results latex
This example was working for me in the past but is having problems now (at
least, on my new Windows machine -- after the Ubuntu one died): the first line
of every block of text is simply eaten when being tangled.

The second paragraph does not exhibit any particular trouble, so it really is
the first line of every code block. Notice, *in the TeX tangled file*, that:

- the one-liner subject becomes void
- the one-liner opening becomes void
- the body looses its first line
- the one-liner closing becomes void

* Closing
#+srcname: closing
#+begin_src org :results latex
Can you reproduce this?

* Letter composition
#+begin_src latex :noweb yes :tangle yes


   subject = {%
   opening = {%
   closing = {%


Best regards,

Sébastien Vauban

Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.

reply via email to

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