From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: [Babel] Source block highlighting in Beamer ... Date: Wed, 03 Sep 2014 09:01:46 +0200 Message-ID: References: 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]:48591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP4Zp-0003br-9f for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 03:02:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XP4Zh-0004ya-O6 for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 03:01:57 -0400 Received: from mx1.polytechnique.org ([129.104.30.34]:36836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP4Zh-0004yR-F4 for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 03:01:49 -0400 In-Reply-To: (aditya siram's message of "Tue, 2 Sep 2014 20:19:12 -0500") 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: aditya siram Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2014-09-02 20:19, aditya siram writes: > Hi all, > How do I get code on my beamer slides to print with color and > highlighting? I'm doing the standard: > > #+BEGIN_SRC blah > .... > #+END_SRC > > but all my source blocks come out the same. First have a look at the generated tex: what environment is used for these blocks? You can then have a look at http://orgmode.org/manual/Literal-examples.html#fn-1 : > Fontified code chunks in LaTeX can be achieved using either the > listings or the minted package. Refer to org-latex-listings > documentation for details. I personally use minted. Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJUBrzbAAoJEAQNCjtO0uXHmWEIAJ/JG7ZY3W3nGm9gaZAnH+fy qJdrmSRVXRBDuzD0iATrFJmSOptGeTvBO5H9M7k23D17Gm8LUb3V0vQwRIiI9in2 yxfrSE0/1ae5yjc6Nhnlms+okLx5tph3UOm8W584DnqFpnnA3sxB4q5YapGtMBh0 1WBfL+r+5NSnfQS02z2xHV+ItRZy0gn1KVYGbKdYLnOiqGm2lO9ShQFmMc/OGxmE /F811JDia7r+3W7TPkE5merNf3OiwfyYSUbzNsBXZ/7eg50XXNAWaB8kUbwxyfA+ BBrBJJc1rA8aBhYLM7m/55G/tFI8Wb5FryxyHI7+//f/B1vG/0APshsLeIwfCoo= =rw83 -----END PGP SIGNATURE----- --=-=-=--