From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: [babel] Re: org-babel: Meta-LaTeX-Python-Environment Date: Wed, 28 Oct 2009 20:55:47 -1000 Message-ID: References: <200910261327.09576.torsten.wagner@googlemail.com> <878wexheeq.fsf@stats.ox.ac.uk> <4edb2bbc0910270757i3911f817jd99bc68eb4639e31@mail.gmail.com> <87aazblctf.fsf_-_@stats.ox.ac.uk> <794E6720-7BB4-4AE9-BCDF-C5714E2808DA@tsdye.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============0346010772==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3OvM-0008KT-SF for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 02:55:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3OvI-0008JP-9m for Emacs-orgmode@gnu.org; Thu, 29 Oct 2009 02:55:56 -0400 Received: from [199.232.76.173] (port=49670 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3OvI-0008JM-6R for Emacs-orgmode@gnu.org; Thu, 29 Oct 2009 02:55:52 -0400 Received: from outbound-mail-149.bluehost.com ([67.222.38.39]:48728) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1N3OvH-0003gC-ID for Emacs-orgmode@gnu.org; Thu, 29 Oct 2009 02:55:51 -0400 In-Reply-To: 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: Eric Schulte Cc: Dan Davison , Emacs-orgmode@gnu.org --===============0346010772== Content-Type: multipart/alternative; boundary=Apple-Mail-36--680726490 --Apple-Mail-36--680726490 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Oct 28, 2009, at 12:19 PM, Eric Schulte wrote: > "Thomas S. Dye" writes: > > [...] > >> Eric, >> >> I think Torsten has a clearer idea than I do about what kinds of >> programming structures might be appropriate here, but your suggestion >> looks to me like an elegant replacement for the file based technique >> I'm using to pass information into 'begin_src latex' blocks now. >> Expanding the noweb syntax in the way you propose looks extremely >> useful. I think it introduces an exciting range of possibilities >> into >> the workflow I'm developing with org-babel. So, yes, your proposal >> sounds appropriate to me. >> >> Tom > > This has now been implemented. To try it out grab the most recent > version of Org-mode. Changes include > - the ability to insert the *results* of source-code blocks through > the > use of noweb references in which the source-name is followed by ()s, > and > - the addition of the org-babel-latex.el file which should make it > easier to add latex to the languages known to org-babel > > To try this out please run org-babel-tangle on the attached org-mode > file. > > > which should result in the attached .tex file > > > Let me know if I should make any changes to this new setup. Thanks > for > the ideas. -- Eric Eric, Yes, the expanded noweb syntax works here as advertised. Wonderful. I look forward to making use of it and will take you up on your offer to make changes as new possibilities make themselves known. All the best, Tom Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com --Apple-Mail-36--680726490 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On Oct 28, 2009, at = 12:19 PM, Eric Schulte wrote:

"Thomas= S. Dye" <tsd@tsdye.com> = writes:

[...]

Eric,

I think Torsten = has a clearer idea than I do about what kinds = of
programming structures = might be appropriate here, but your = suggestion
looks to me like an = elegant replacement for the file based = technique
I'm using to pass = information into 'begin_src latex' blocks = now.
Expanding the noweb = syntax in the way you propose looks = extremely
useful.  I = think it introduces an exciting range of possibilities = into
the workflow I'm = developing with org-babel.  So, yes, your = proposal
sounds appropriate to = me.

Tom

This has now been implemented. =  To try it out grab the most recent
version of Org-mode. =  Changes include
- the ability to insert the *results* of = source-code blocks through the
 use of noweb references in = which the source-name is followed by ()s,
 and
- the = addition of the org-babel-latex.el file which should make it
=  easier to add latex to the languages known to org-babel

To = try this out please run org-babel-tangle on the attached = org-mode
file.

<noweb-eval.org>
which = should result in the attached .tex = file

<somewhere.tex>
Let me know if I = should make any changes to this new setup.  Thanks for
the = ideas. -- = Eric

Eric,

Y= es, the expanded noweb syntax works here as advertised.  Wonderful. =  I look forward to making use of it and will take you up on your = offer to make changes as new possibilities make themselves = known.

All the best,
Tom =  

Thomas S. Dye, Ph.D.

T. S. Dye & Colleagues, = Archaeologists, Inc.

Phone: (808) 529-0866 Fax: (808) 529-0884

=

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