From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David A. Gershman" Subject: Disable org-babel-inline-result-wrap per inline code? Date: Tue, 20 Sep 2016 23:07:56 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------C82C3B464C580A7243541220" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmahU-0002V0-7j for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 02:08:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmahP-0006Nu-FN for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 02:08:07 -0400 Received: from dagertech.net ([64.183.98.170]:47110 helo=mail.dagertech.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmahP-0006NG-54 for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 02:08:03 -0400 Received: from [192.168.133.106] (unknown [192.168.176.200]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.dagertech.net (Postfix) with ESMTPSA id 66513A0252 for ; Tue, 20 Sep 2016 23:08:02 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------C82C3B464C580A7243541220 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Forgive my several questions/emails. I'm working on getting lecture notes ready for next week and thus am running into several questions with Org HTML Export. Unfortunately, my searches typically result in manual page hits, but my problems seem to be a-typical. So... Given the following line: * Date: src_perl[:results output :exports none]{print 2016;} The result '2016' is surrounded by '=' so that HTML export results in tags surrounding the '2016'. According to the manual section 14.5, 'org-babel-inline-result-wrap' defines how the results are wrapped. Executing a /(print /org-babel-inline-result-wrap), I get: {blank line} =%s= =%s= so I attempted the following: * Date: src_emacs-lisp[:exports none]{(setq org-babel-inline-result-wrap "")} src_perl[:results output :exports none]{print 2016;} src_emacs-lisp[:exports none]{(setq org-babel-inline-result-wrap "=%s=")} in the hopes of temporarily disabling the '=' wrapping. Sadly no luck. I don't want to globally, or even for the whole buffer turn off the '=%s='...just on a case-by-case basis. Any ideas? --dag P.S. In reality, 2016 will be replaced with a function call which takes an integer and converts it to a full blown date based on a starting point. Thus, the headlines will result in "Date: September 20, 2016" where each date is different based on the integer. This will allow me to set the starting date at the top of the .org file and all the date-based headlines can be computed. --------------C82C3B464C580A7243541220 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Forgive my several questions/emails.=C2=A0 I'm working on getting lec= ture notes ready for next week and thus am running into several questions with Org HTML Export.=C2=A0 Unfortunately, my searches typically resu= lt in manual page hits, but my problems seem to be a-typical.=C2=A0 So..= .

Given the following line:

* Date: src_perl[:results output :exports none]{print 2016;}

The result '2016' is surrounded by '=3D' so that HTML export results in <code></code> tags surrounding
the '2016'.=C2=A0

According to the manual section 14.5, 'org-babel-inline-result-wrap' defines how the results are wrapped.=C2=A0 Executing a (print = org-babel-inline-result-wrap), I get:

=C2=A0=C2=A0=C2=A0 {blank line}
=C2=A0=C2=A0=C2=A0 =3D%s=3D
=C2=A0=C2=A0=C2=A0 =3D%s=3D

so I attempted the following:

=C2=A0 * Date: src_emacs-lisp[:exports none]{(setq org-babel-inline-result-wrap "")} src_perl[:results output :exports none]{print 2016;} src_emacs-lisp[:exports none]{(setq org-babel-inline-result-wrap "=3D%s=3D")}

in the hopes of temporarily disabling the '=3D' wrapping.=C2=A0 Sadly= no luck.

I don't want to globally, or even for the whole buffer turn off the '=3D%s=3D'...just on a case-by-case basis.

Any ideas?

--dag

P.S.=C2=A0 In reality, 2016 will be replaced with a function call whi= ch takes an integer and converts it to a full blown date based on a starting point.=C2=A0 Thus, the headlines will result in "Date: Septe= mber 20, 2016" where each date is different based on the integer.=C2=A0 Th= is will allow me to set the starting date at the top of the .org file and all the date-based headlines can be computed.
--------------C82C3B464C580A7243541220-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Disable org-babel-inline-result-wrap per inline code? Date: Wed, 21 Sep 2016 08:11:18 +0100 Message-ID: <874m593ey1.fsf@delle7240.chemeng.ucl.ac.uk> References: Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bme5h-0005i6-5X for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 05:45:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bme5d-0003K7-5Z for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 05:45:21 -0400 Received: from mail-he1eur01on0105.outbound.protection.outlook.com ([104.47.0.105]:4656 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bme5c-0003JL-Q5 for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 05:45:17 -0400 In-Reply-To: (David A. Gershman's message of "Wed, 21 Sep 2016 06:07:56 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "David A. Gershman" Cc: "emacs-orgmode@gnu.org" On Wednesday, 21 Sep 2016 at 06:07, David A. Gershman wrote: > Given the following line: > > * Date: src_perl[:results output :exports none]{print 2016;} How about * Date: src_perl[:results output raw]{print 2016;} ? -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Disable org-babel-inline-result-wrap per inline code? Date: Wed, 21 Sep 2016 06:49:09 -0500 Message-ID: <87k2e5scay.fsf@alphapapa.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmg1t-0001BW-FM for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 07:49:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmg1p-0007fH-AB for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 07:49:32 -0400 Received: from [195.159.176.226] (port=59629 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmg1p-0007do-3D for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 07:49:29 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bmg1h-00077F-UR for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 13:49:21 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org "David A. Gershman" writes: > Given the following line: > > * Date: src_perl[:results output :exports none]{print 2016;} > > The result '2016' is surrounded by '=' so that HTML export results in > tags surrounding > the '2016'. > > According to the manual section 14.5, 'org-babel-inline-result-wrap' > defines how the results are wrapped. Executing a (print > org-babel-inline-result-wrap), I get: > > {blank line} > =%s= > =%s= > > so I attempted the following: > > * Date: src_emacs-lisp[:exports none]{(setq > org-babel-inline-result-wrap "")} src_perl[:results output :exports > none]{print 2016;} src_emacs-lisp[:exports none]{(setq > org-babel-inline-result-wrap "=%s=")} > > in the hopes of temporarily disabling the '=' wrapping. Sadly no luck. > > I don't want to globally, or even for the whole buffer turn off the > '=%s='...just on a case-by-case basis. Hi David, I haven't done anything quite like this in Org before, but I think maybe Org macros would do what you need: http://orgmode.org/manual/Macro-replacement.html According to that, "Macro expansion takes place during the very beginning of the export process." So it should be easy to write a macro that evaluates to a date in the format you need, and it should take effect when you export it to HTML. At least, that's what it sounds like to me. Please let me know what you find out. :) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Disable org-babel-inline-result-wrap per inline code? Date: Wed, 21 Sep 2016 10:11:26 -0400 Message-ID: <878tul2vht.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmiFl-0007Qh-VQ for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:12:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmiFi-0000h0-MG for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:12:01 -0400 Received: from [195.159.176.226] (port=50137 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmiFi-0000g6-Fg for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:11:58 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bmiFT-0006OF-Jj for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 16:11:43 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org "David A. Gershman" writes: > Forgive my several questions/emails.  I'm working on getting lecture > notes ready for next week and thus am running into several questions > with Org HTML Export.  Unfortunately, my searches typically result > in manual page hits, but my problems seem to be a-typical.  So... > > Given the following line: > > * Date: src_perl[:results output :exports none]{print 2016;} > > The result '2016' is surrounded by '=' so that HTML export results > in tags surrounding the '2016'.  > I think that should be :exports results, not none. > According to the manual section 14.5, 'org-babel-inline-result-wrap' > defines how the results are wrapped.  Executing a (print > org-babel-inline-result-wrap), I get: > >     {blank line} >     =%s= >     =%s= > C-h v org-babel-inline-result-wrap says that it has to have a %s in it: you can't just set it to "". > so I attempted the following: > >   * Date: src_emacs-lisp[:exports none]{(setq org-babel-inline-result-wrap "")} src_perl[:results output :exports none]{print 2016;} src_emacs-lisp[:exports none]{(setq > org-babel-inline-result-wrap "=%s=")} > OTOH, modifying your attempt a bit to conform to the above did not work for me either: * Date: src_emacs-lisp[:exports none :results none ]{(setq org-babel-inline-result-wrap "%s")} src_perl[:results output :exports results]{print 2016;} src_emacs-lisp[:exports none :results none]{(setq org-babel-inline-result-wrap "=%s=")} still gives me the tags. When I C-c C-c by hand on the lisp src blocks, the variable does change value, so I don't understand why putting the whole thing together does not work. > in the hopes of temporarily disabling the '=' wrapping.  Sadly no luck. > > I don't want to globally, or even for the whole buffer turn off the > '=%s='...just on a case-by-case basis. > > Any ideas? > > --dag > > P.S.  In reality, 2016 will be replaced with a function call which > takes an integer and converts it to a full blown date based on a > starting point.  Thus, the headlines will result in "Date: September > 20, 2016" where each date is different based on the integer.  This > will allow me to set the starting date at the top of the .org file > and all the date-based headlines can be computed. > -- Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David A. Gershman" Subject: Re: Disable org-babel-inline-result-wrap per inline code? Date: Wed, 21 Sep 2016 07:15:14 -0700 Message-ID: <2db7c871-a051-f1fd-9709-4f7bd5fff643@dagertech.net> References: <874m593ey1.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------200A4F02C212E95225CBBABE" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmiIu-0008Tw-Qf for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:15:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmiIq-00024M-R7 for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:15:16 -0400 Received: from dagertech.net ([64.183.98.170]:47182 helo=mail.dagertech.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmiIq-000242-LJ for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:15:12 -0400 Received: from [192.168.133.106] (unknown [192.168.176.200]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.dagertech.net (Postfix) with ESMTPSA id 410BAA0209 for ; Wed, 21 Sep 2016 07:15:11 -0700 (PDT) In-Reply-To: <874m593ey1.fsf@delle7240.chemeng.ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------200A4F02C212E95225CBBABE Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Perfect!! Thank you!! I saw this option in the Manual (14.8.2.2) under /Format/, but it said it "The results are interpreted asraw Org mode code..." so it didn't click the results would "left alone". Thanks again! On 09/21/2016 12:11 AM, Eric S Fraga wrote: > On Wednesday, 21 Sep 2016 at 06:07, David A. Gershman wrote: >> Given the following line: >> >> * Date: src_perl[:results output :exports none]{print 2016;} > How about > > * Date: src_perl[:results output raw]{print 2016;} > > ? > --------------200A4F02C212E95225CBBABE Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Perfect!!=A0 Thank you!!

I saw this option in the Manual (14.8.2.2) under Format, but it said it "The results are interpreted as raw Org mode code..." so it didn't click the results would "left alone".

Thanks again!

On 09/21/2016 12:11 AM, Eric S Fraga wrote:
On Wednesday, 21 Sep 2016 at 06:07, David A. Gershma=
n wrote:
Given the following line:

* Date: src_perl[:results output :exports none]{print 2016;}
How about=20

* Date: src_perl[:results output raw]{print 2016;}

?


--------------200A4F02C212E95225CBBABE-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David A. Gershman" Subject: Re: Disable org-babel-inline-result-wrap per inline code? Date: Wed, 21 Sep 2016 07:23:49 -0700 Message-ID: References: <87k2e5scay.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------457801FD86C5D78E86F46ED6" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmiRF-00056w-FH for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:23:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmiR9-00053z-Ru for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:23:52 -0400 Received: from dagertech.net ([64.183.98.170]:47184 helo=mail.dagertech.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmiR9-00053W-IS for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 10:23:47 -0400 Received: from [192.168.133.106] (unknown [192.168.176.200]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.dagertech.net (Postfix) with ESMTPSA id B60D3A0254 for ; Wed, 21 Sep 2016 07:23:45 -0700 (PDT) In-Reply-To: <87k2e5scay.fsf@alphapapa.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------457801FD86C5D78E86F46ED6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 09/21/2016 04:49 AM, Adam Porter wrote: > "David A. Gershman" writes: > >> Given the following line: >> >> * Date: src_perl[:results output :exports none]{print 2016;} >> >> The result '2016' is surrounded by '=' so that HTML export results in >> tags surrounding >> the '2016'. >> >> According to the manual section 14.5, 'org-babel-inline-result-wrap' >> defines how the results are wrapped. Executing a (print >> org-babel-inline-result-wrap), I get: >> >> {blank line} >> =%s= >> =%s= >> >> so I attempted the following: >> >> * Date: src_emacs-lisp[:exports none]{(setq >> org-babel-inline-result-wrap "")} src_perl[:results output :exports >> none]{print 2016;} src_emacs-lisp[:exports none]{(setq >> org-babel-inline-result-wrap "=%s=")} >> >> in the hopes of temporarily disabling the '=' wrapping. Sadly no luck. >> >> I don't want to globally, or even for the whole buffer turn off the >> '=%s='...just on a case-by-case basis. > Hi David, > > I haven't done anything quite like this in Org before, but I think maybe > Org macros would do what you need: > > http://orgmode.org/manual/Macro-replacement.html > > According to that, "Macro expansion takes place during the very > beginning of the export process." So it should be easy to write a macro > that evaluates to a date in the format you need, and it should take > effect when you export it to HTML. At least, that's what it sounds like > to me. Please let me know what you find out. :) > That's actually how I'm doing it, but I'm not fully up on how macros work short of just being text replacements. Currently, at the top of my file, I have: #+MACRO: gendate src_perl[:results output]{print ($1*5);} # Where 'print ($1*5);' will later be replaced with a perl function that takes the first day of class and an integer # ex: /print find_date( '20160926', 6 );/ # 6 = Sixth lecture day, output: "6, Oct 12, 2016" assuming MW class. and in the org file, I can have headlines: * Day {{{gendate(6)}}} ... * Day {{{gendate(10)}}} and so on. During export, the result desired is: /Day 6, Oct 12, 2016/ {etc.} FWIW, Eric had the solution: #+MACRO: gendate src_perl[:results output _/*raw*/_]{print ($1*5);} Thank everyone! --dag P.S. I should start a blog with all I learn on this. /Someone/ could benefit from my struggles. :) --------------457801FD86C5D78E86F46ED6 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

On 09/21/2016 04:49 AM, Adam Porter wrote:
"David A. Gershman" <dagershman@dagertech.net&=
gt; writes:

Given the following line:

* Date: src_perl[:results output :exports none]{print 2016;}

The result '2016' is surrounded by '=3D' so that HTML export results in
<code></code> tags surrounding
the '2016'.=20

According to the manual section 14.5, 'org-babel-inline-result-wrap'
defines how the results are wrapped. Executing a (print
org-babel-inline-result-wrap), I get:

{blank line}
=3D%s=3D
=3D%s=3D

so I attempted the following:

* Date: src_emacs-lisp[:exports none]{(setq
org-babel-inline-result-wrap "")} src_perl[:results output :exports
none]{print 2016;} src_emacs-lisp[:exports none]{(setq
org-babel-inline-result-wrap "=3D%s=3D")}

in the hopes of temporarily disabling the '=3D' wrapping. Sadly no luck.

I don't want to globally, or even for the whole buffer turn off the
'=3D%s=3D'...just on a case-by-case basis.
Hi David,

I haven't done anything quite like this in Org before, but I think maybe
Org macros would do what you need:

http://orgmode.org/manual/Macro-replacement.html

According to that, "Macro expansion takes place during the very
beginning of the export process."  So it should be easy to write a macro
that evaluates to a date in the format you need, and it should take
effect when you export it to HTML.  At least, that's what it sounds like
to me.  Please let me know what you find out.  :)

That's actually how I'm doing it, but I'm not fully up on how macros work short of just being text replacements.=A0 Currently, at the top of my file, I have:

#+MACRO: gendate src_perl[:results output]{print ($1*5);}
# Where 'print ($1*5);' will later be replaced with a perl function that takes the first day of class and an integer
#=A0=A0=A0=A0 ex:=A0 print find_date( '20160926', 6 ); # 6 =3D= Sixth lecture day, output: "6, Oct 12, 2016" assuming MW class.

and in the org file, I can have headlines:

* Day {{{gendate(6)}}}
...
* Day {{{gendate(10)}}}

and so on.=A0 During export, the result desired is:

=A0=A0 Day 6, Oct 12, 2016
=A0=A0=A0 {etc.}

FWIW, Eric had the solution:

=A0=A0=A0 #+MACRO: gendate src_perl[:results output raw<= /i>]{print ($1*5);}

Thank everyone!

--dag

P.S. I should start a blog with all I learn on this.=A0 Someone could benefit from my struggles. :)


--------------457801FD86C5D78E86F46ED6-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Disable org-babel-inline-result-wrap per inline code? Date: Wed, 21 Sep 2016 15:04:29 -0500 Message-ID: <8737ktrpde.fsf@alphapapa.net> References: <87k2e5scay.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmnls-0007UZ-OH for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 16:05:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmnlo-0007n4-H2 for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 16:05:31 -0400 Received: from [195.159.176.226] (port=53384 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmnlo-0007mL-AA for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 16:05:28 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bmnlR-0002z5-Jc for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 22:05:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org "David A. Gershman" writes: > FWIW, Eric had the solution: > > #+MACRO: gendate src_perl[:results output raw]{print ($1*5);} Ah, yes, I tend to forget that :results can take multiple args. > P.S. I should start a blog with all I learn on this. Someone could > benefit from my struggles. :) Yes, you definitely should! By the way, did you know that your client is sending HTML mail to the list?