From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Add preamble support to ob-plantuml.el Date: Tue, 06 Dec 2016 13:14:12 +0100 Message-ID: References: <87bmwu29yk.fsf@dell-desktop.WORKGROUP> <87shq29ib5.fsf@nicolasgoaziou.fr> <87h96hpvcq.fsf@dell-desktop.WORKGROUP> <87k2bd9tcr.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEEdb-0002pP-1Z for emacs-orgmode@gnu.org; Tue, 06 Dec 2016 07:14:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEEdV-00038C-F3 for emacs-orgmode@gnu.org; Tue, 06 Dec 2016 07:14:22 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:65338) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cEEdV-00034X-7A for emacs-orgmode@gnu.org; Tue, 06 Dec 2016 07:14:17 -0500 In-Reply-To: <87k2bd9tcr.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 06 Dec 2016 12:42:28 +0100") 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: Thibault Marin Cc: emacs-orgmode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Nicolas Goaziou writes: > Thibault Marin writes: > >> I use it to define common skin options (http://plantuml.com/skinparam) >> for all the plantuml blocks in an org file. I don't know if there is a >> better way to that. > > What about using noweb syntax then? Or prologue? ,---- | 14.8.2.28 =E2=80=98:prologue=E2=80=99 | ..................... |=20 | The value of the =E2=80=98prologue=E2=80=99 header argument will be prepe= nded to the | code block body before execution. For example, =E2=80=98:prologue "reset= "=E2=80=99 may | be used to reset a gnuplot session before execution of a particular code | block, or the following configuration may be used to do this for all | gnuplot code blocks. Also see *note epilogue::. `---- But apart from this: I think it would be in general a good idea to add version infos of emacs and org to source code blocks - possibly even of the executable? This would be one more step towards easy reproducability. Cheers, Rainer > > Regards, > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJYRquUAAoJENvXNx4PUvmCBnIIAI0CbVJoCJaeZooitt6BllRc G/+sJuCVW3EBXopRht8jmc1SO6/nuRyz7GdEX6JewObnxSoDFAZc2RzFqAxmi7WK uCGZG6LT3yeFdY1ZZeY9AqyQ2qcUZE/LiMP8X39ubZ3JJnC3eJnb9JeI8w8L/cjw lTvQx2YfiZOOmT9FpCW6HRMLpwCbXgn2ztq0DGByYpd2h2iXtvYOeDTaS53BZ0vV qkXcm6tAtB+q7tiFMOqJKOc8jjkOQO8DyhnZdKXC8gv0SV/H54W55LKS4fwQVFq9 D7ERJiYEZZr6ofrD9Chc5Lwa+c62rFW4WSvGgUVIT+hM+o9CkpjBtaMyxO9H8TE= =SicC -----END PGP SIGNATURE----- --=-=-=--