From mboxrd@z Thu Jan 1 00:00:00 1970 From: Norman Walsh Subject: Re: Confused about src vs example and LaTeX export Date: Mon, 06 Jan 2020 09:43:45 +0000 Message-ID: References: <87woa5oyak.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57342) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioOvf-0000bg-7u for emacs-orgmode@gnu.org; Mon, 06 Jan 2020 04:44:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioOvd-0003vT-Pc for emacs-orgmode@gnu.org; Mon, 06 Jan 2020 04:44:06 -0500 Received: from outbound1g.eu.mailhop.org ([52.28.6.212]:53247) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ioOvc-0003sJ-5V for emacs-orgmode@gnu.org; Mon, 06 Jan 2020 04:44:05 -0500 In-Reply-To: <87woa5oyak.fsf@ucl.ac.uk> (Eric Fraga's message of "Mon, 6 Jan 2020 07:10:28 +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; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Fraga, Eric" writes: > On Sunday, 5 Jan 2020 at 10:53, Norman Walsh wrote: >> In the simple case, both EXAMPLE and SRC export as {verbatim} >> environments; that=E2=80=99s fine as a default. In the second case, the >> ATTR_LATEX request for the {lstlisting} environment works on EXAMPLE >> but appears to be ignored on SRC. > > Not for me. I have lstlisting for both cases. The trick turned out to be (setq org-latex-listings t) I=E2=80=99ve written up a few more remarks here: https://so.nwalsh.com/2020/01/05-latex Be seeing you, norm =2D-=20 Norman Walsh | People tend to feel strongest about http://nwalsh.com/ | those things they understand the least. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAl4TAVEACgkQhVWfHhJM AHlrNBAAnAzyDuNK/CrpnrxPgNB7N9sn5OumOd9an4zYPDOdyKjnO9WF8SZWe6qV 7FhJ6q5PsD+oYAR6lZcC6QLQ3FU37oz6aMNRTDZNVg+d4yJYD7T2x8M9u/cD0D/5 YKDFIjRgA5UovJshBnAqkkLU5wr6fYTUT6NOoPKi9jXdAPPRjrjO2Gbk3ghuM6qp YewsnUfIp7719NCiReu79RP1T9mgmvzYO1yQws8voX1lzViwY5yo2EVC2hiJaqRd CFUgULPIf9gi4zws5g64i9Em2JQllTxLY0W3YL+bZsoUmsec+HjVzUHNgz10g9mW EzlmKEqRuixtEOdX380syvhi9TZmqj4aZhaLDyD9WU60sL3WN50nXt+o7++zhDEv dm2/Rsg8MBCMwFwlYn3dgYWTP9cQPTWf7fIjM4z/1hd2BE+RQ/88Wb5Tt7veuXqe NHG7ZmX+sW5pk6XXoWciCFZ8jePouHPBlgMfUiDBCP9iO292yQaWVkqovl/TyZg7 BvUk5KrGYuJdN8J6yHxLhZNCjqLuJCd0RpOvdvnM3iOz3DNT4sH3NGDfXbnwI9YH D4z8u7qMvN9W3ccRi8gfXgEIEk7rXqD2SWezlptpyo+3nf6HMdgckgdyat/FBymA BP/SP9Zcw0M2XrwI3jiddLYoo4oUqUvCreUGQoVLNbDbo7fL1ww= =p3wC -----END PGP SIGNATURE----- --=-=-=--