emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Re: [patch] adding :prologue and :epilogue parameters for Maxima src blocks
Date: Sun, 08 Jan 2017 14:22:00 +0000	[thread overview]
Message-ID: <87zij1ocmv.fsf@ucl.ac.uk> (raw)
In-Reply-To: <375b747191414095afed5428fe55e5d3@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (Nicolas Goaziou's message of "Sat, 7 Jan 2017 14:53:32 +0000")

[-- Attachment #1: Type: text/plain, Size: 1028 bytes --]

On Saturday,  7 Jan 2017 at 14:53, Nicolas Goaziou wrote:
> Hello,
>
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> Please find attached a small patch for consideration.  This patch adds
>> two new parameters to the Maxima babel src blocks: prologue and
>> epilogue, as already exist for gnuplot for instance.
>
> Thank you. Applied.

Thank you!

> Would you mind providing an ORG-NEWS entry for this?

Sure although I'm not entirely sure what format you want this in nor how
long an entry you would like so here goes:

Babel options ":prologue" and ":epilogue" have been implemented for
Maxima src blocks which prepend and append, respectively, the given code
strings.  This can be useful for specifying formatting settings which
would add clutter to exported code.  For instance, you can use this
~:prologue "fpprintprec: 2; linel: 50;"~ for presenting Maxima results
in a beamer presentation.

Thanks again,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.2-104-gf5b7de

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

  parent reply	other threads:[~2017-01-08 14:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-05 15:07 [patch] adding :prologue and :epilogue parameters for Maxima src blocks Eric S Fraga
2017-01-07 14:53 ` Nicolas Goaziou
     [not found] ` <375b747191414095afed5428fe55e5d3@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-08 14:22   ` Eric S Fraga [this message]
2017-01-08 23:39     ` Nicolas Goaziou
     [not found]     ` <8d9297470dab49329e0ca673f966e64c@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-09  6:40       ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zij1ocmv.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).