From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manfred Lotz Subject: minted question Date: Mon, 21 Jul 2014 21:30:20 +0200 Message-ID: <20140721213020.73f1c01d@arcor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9JIS-0004UP-UT for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 15:30:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9JIM-0006FB-Dt for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 15:30:52 -0400 Received: from plane.gmane.org ([80.91.229.3]:49001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9JIM-0006F5-6H for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 15:30:46 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X9JIL-0002k4-6X for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 21:30:45 +0200 Received: from p4fff2e75.dip0.t-ipconnect.de ([79.255.46.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jul 2014 21:30:45 +0200 Received: from manfred.lotz by p4fff2e75.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jul 2014 21:30:45 +0200 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: emacs-orgmode@gnu.org Hi there, I have a an org file which gets exported to beamer. The following example (although I do not know if there are errors) works fine. Now I would like to get a frame around the perl code, and also line numbers. How can I define this in the org file? -- Thanks, Manfred Minimal example: #+TITLE: My slides #+AUTHOR: Manfred Lotz #+EMAIL: manfred.lotz@yahoo.de #+DATE: 2014-07-21 #+LaTeX_CLASS_options: [bigger, allowframebreaks] #+LaTeX_HEADER: \usepackage{minted} #+LaTeX_HEADER: \usemintedstyle{emacs} #+OPTIONS: H:2 toc:t num:t #+TOC: headlines [currentsection] #+startup: beamer #+BEAMER_THEME: CambridgeUS #+BEAMER_COLOR_THEME: dolphin * Introduction ** A simple slide The following contains some perl code - a minimal perl example #+BEGIN_SRC perl #! /usr/bin/perl use strict; use warnings; use 5.010; say 'hey'; #+END_SRC - the previous point shows the use of the minted environment