From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: interaction between org-latex-custom-lang-environments and name when exporting to latex Date: Fri, 20 Nov 2015 12:06:24 +0100 Message-ID: References: <877fld3qcr.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzjWP-0005BG-9c for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 06:06:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzjWL-0003s3-Vg for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 06:06:29 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:21453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzjWL-0003ro-QH for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 06:06:25 -0500 In-Reply-To: <877fld3qcr.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 20 Nov 2015 11:41:24 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-11-20 11:41, Rasmus writes: > Alan Schmitt writes: > >> I was wondering if someone had been able to reproduce this, and if so >> should I file it as a bug? > > Sure. It's how org-latex-src-block handles custom environments (see "Case > 2."). At the moment this is hardcoded. > > Perhaps the second element of org-latex-custom-lang-environments should > allow a format string, so that an element could be something like, > > (emacs-lisp "\begin{common-lisp-code}[myoptions, label=3D%l] > %s > \end{common-lisp-code}") > > (modulus escaping). > > WDYT? That would be great indeed. I see the code is not too hairy there, so I'll try to write a patch. Best, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Athmospheric CO=E2=82=82 (Updated November 9, 2015, Mauna Loa Obs.): 399.06= ppm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJWTv6wAAoJEAQNCjtO0uXHcQUH/2hEy9NZlb1ZW8ShmhvOdxci fmrBbYFXtN7q6RTeH+QqVijj2Pf6E4wloclpbRro0Lx56chzmVFz/cpWn0KsQrRt koTsADoF0eOibdeM5so3fY9JYpSbomntAFhhgeUIrWTgEDpaousG2w/XV15bliCU /7rrYbx0EF6aSFRVIvJDRG5k+2x8SnRd05daxyBUHSCB8j67QRS81GzAo54uAY1c RPlERsv7rONaNL4MoNviSdYcpPlBsZErjDn5wQmulSBIEWtDE8ZMwkUvVzf17V3g E5gQFV/RdA9V2MvhVaQCB2xDhRWFYmVrHfrqFqT4gV8p023c4zY3FI4M+I0eHdc= =rrdm -----END PGP SIGNATURE----- --=-=-=--