From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Re: [babel] FEATURE REQUEST: send results into file Date: Wed, 29 Sep 2010 12:24:19 +0200 Message-ID: References: <87fwwsx5vf.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0240802268==" Return-path: Received: from [140.186.70.92] (port=56811 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0tpu-0002f1-Ko for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 06:24:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0tpk-0002aD-Ps for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 06:24:30 -0400 Received: from mail-qy0-f169.google.com ([209.85.216.169]:58685) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0tpk-0002Zz-GW for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 06:24:20 -0400 Received: by qyk7 with SMTP id 7so873995qyk.0 for ; Wed, 29 Sep 2010 03:24:20 -0700 (PDT) In-Reply-To: <87fwwsx5vf.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?ISO-8859-1?Q?S=E9bastien_Vauban?= Cc: emacs-orgmode@gnu.org --===============0240802268== Content-Type: multipart/alternative; boundary=00c09f93d5c747224a0491635d3f --00c09f93d5c747224a0491635d3f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2010/9/29 S=E9bastien Vauban > Hi Rainer, > > Rainer M Krug wrote: > > Based on a discussion in the thread "Problem with PROPERTIES :OPTIONS: > when > > exporting subtree", The idea came ub by Mathew Lundin to be able to "se= nd > > the results or a source code block (either executed code or exported or= g > > snippets) via babel to a target in an external file.". > > > > The scenario or context in which the idea came up: > > > > I am using org babel for literate programming and I document my > parameters > > for simulations in a table in org. Now when writing a paper, for which = I > use > > a different program (I use LyX), but I still would like to include the > > tables from my original org file in them. Therefore I was looking for a > > possibility to export ONLY the table into a .tex file, so that it can b= e > > included in the LyX / LaTeX via \input{theTable.tex} . Therefore I woul= d > > need an export of the table in LaTeX format, but no preamble or anythin= g. > > *Side question*, because this is quite important, I think: why are you > still > using LyX directly? > Because it is easier for me? Don't get me wrong - I really like org mode an= d org babel - I can not imagine working without them (wait - I did that until about a year ago...). But for writing papers for publication, other tools are more suitable FOR ME: These papers do not include any literate programming and no to be executed code, and I really like the interface of LyX for writing. More even then a text editor for LaTeX (however advanced o= r not it may be), it does what it is supposed to be doing: to let me concentrate on the contents of the paper. But as I said, that is my persona= l opinion, and others might prefer other approaches. > > For my literate programming needs, I've been able to completely forget > about > my past ways to do: > > - Nuweb (in MS Windows) extensions to LaTeX > - Noweb (in Linux) extensions to LaTeX > > and switch, with much more benefits, to Org-only files. Yes - concerning programming, literate programming, documenting the source code, etc., org mode with org-babel is PERFECT. > What is stopping you from being able to do so? As I said - org is getting close to being a swiss army knife, but I tried t= o open a bottle with it and my screen broke - so I still use a bottle opener for that... > That root cause should be fixed, IMHO -- if doable, of course... > > > > As far as I was told, this possibility does not exist in org. > > If I understand correctly, this is, indeed, the difficulty Eric exposed u= s, > when I was working on the isodoc letter (trying to convert Org blocks to > LaTeX, and get everything assembled upon exporting). > Effectively, yes - except that the org block converted to LaTeX should be available in files, which can be used from other programs as well. Cheers, Rainer > Best regards, > Seb > > -- > S=E9bastien Vauban > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --=20 NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax: +27 - (0)86 516 2782 Fax: +49 - (0)321 2125 2244 email: Rainer@krugs.de Skype: RMkrug Google: R.M.Krug@gmail.com --00c09f93d5c747224a0491635d3f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

2010/9/29 S=E9bastien Vauban <wxhgmqzgwmuf@spa= mmotel.com>
Hi Rainer,

Rainer M Krug wrote:
> Based on a discussion in the thread "Problem with PROPERTIES :OPT= IONS: when
> exporting subtree", The idea came ub by Mathew Lundin to be able = to "send
> the results or a source code block (either executed code or exported o= rg
> snippets) via babel to a target in an external file.".
>
> The scenario or context in which the idea came up:
>
> I am using org babel for literate programming and I document my parame= ters
> for simulations in a table in org. Now when writing a paper, for which= I use
> a different program (I use LyX), but I still would like to include the=
> tables from my original org file in them. Therefore I was looking for = a
> possibility to export ONLY the table into a .tex file, so that it can = be
> included in the LyX / LaTeX via \input{theTable.tex} . Therefore I wou= ld
> need an export of the table in LaTeX format, but no preamble or anythi= ng.

*Side question*, because this is quite important, I think: why are yo= u still
using LyX directly?

Because it is easie= r for me? Don't get me wrong - I really like org mode and org babel - I= can not imagine working without them (wait - I did that until about a year= ago...). But for writing papers for publication, other tools are more suit= able FOR ME: These papers do not include any literate programming and no to= be executed code, and I really like the interface of LyX for writing. More= even then a text editor for LaTeX (however advanced or not it may be), it = does what it is supposed to be doing: to let me concentrate on the contents= of the paper. But as I said, that is my personal opinion, and others might= prefer other approaches.
=A0

For my literate programming needs, I've been able to completely forget = about
my past ways to do:

- Nuweb (in MS Windows) extensions to LaTeX
- Noweb (in Linux) extensions to LaTeX

and switch, with much more benefits, to Org-only files.
<= br>
Yes - concerning programming, literate programming, documenti= ng the source code, etc., org mode with org-babel is PERFECT.
=A0
What is stopping you=A0from being = able to do so? =A0

As I said - org is getti= ng close to being a swiss army knife, but I tried to open a bottle with it = and my screen broke - so I still use a bottle opener for that...
=A0
That root cause should be fix= ed, IMHO -- if doable,=A0of course...


> As far as I was told, this possibility does not exist in org.

If I understand correctly, this is, indeed, the difficulty Eric expos= ed us,
when I was working on the isodoc letter (trying to convert Org blocks to LaTeX, and get everything assembled upon exporting).
<= br>
Effectively, yes - except that the org block converted to LaT= eX should be available in files, which can be used from other programs as w= ell.

Cheers,

Rainer

<= /div>

Best regards,
=A0Seb

--
S=E9bastien Vauban


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



--
NEW GERMAN FAX NUMBER!!= !

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation= Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invas= ion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch UniversityMain Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:= =A0 =A0 =A0 =A0 =A0=A0 +27 - (0)83 9479 042
Fax:=A0 =A0 =A0 =A0 =A0 =A0 = +27 - (0)86 516 2782
Fax:=A0 =A0 =A0 =A0 =A0 =A0 +49 - (0)321 2125 2244
email:=A0 =A0 =A0 =A0= =A0 Rainer@krugs.de

Skype:= =A0 =A0 =A0 =A0 =A0 RMkrug
Google:=A0 =A0 =A0 =A0=A0 R.M.Krug@gmail.com

--00c09f93d5c747224a0491635d3f-- --===============0240802268== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0240802268==--