From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [patch] adding :prologue and :epilogue parameters for Maxima src blocks Date: Sun, 08 Jan 2017 14:22:00 +0000 Message-ID: <87zij1ocmv.fsf@ucl.ac.uk> References: <8760lta6ka.fsf@ucl.ac.uk> <375b747191414095afed5428fe55e5d3@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQErK-0003PK-Ab for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 09:54:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQErF-0001Og-QM for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 09:54:09 -0500 Received: from mail-db5eur01on0135.outbound.protection.outlook.com ([104.47.2.135]:7500 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cQErF-0001OT-Fp for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 09:54:05 -0500 In-Reply-To: <375b747191414095afed5428fe55e5d3@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (Nicolas Goaziou's message of "Sat, 7 Jan 2017 14:53:32 +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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Saturday, 7 Jan 2017 at 14:53, Nicolas Goaziou wrote: > Hello, > > Eric S Fraga 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 =2D-=20 : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.2-104-gf5b7de --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWHJLCQAKCRDIkZPY//z2 ffGKAKCMmY34O3uVerA8/6PxCWSewD9vXgCdFsAqmeNzV/Y+C5hhYV1znpSTmBs= =3LOk -----END PGP SIGNATURE----- --=-=-=--