From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Temp files are not deleted after beamer export with source code blocks Date: Tue, 29 Oct 2013 11:00:57 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VazYO-0002iK-Ng for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 23:01:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VazYG-0005An-AZ for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 23:01:12 -0400 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:51269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VazYG-0005Ag-2p for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 23:01:04 -0400 Received: by mail-pa0-f46.google.com with SMTP id rd3so7834096pab.33 for ; Mon, 28 Oct 2013 20:01:02 -0700 (PDT) Received: from localhost ([59.10.133.151]) by mx.google.com with ESMTPSA id j9sm38902233paj.18.2013.10.28.20.01.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Oct 2013 20:01:01 -0700 (PDT) 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: orgmode I've set org-latex-listings to "Use listings" (not minted), and then run=20 this minimal example. ~~~~ #+BIND: org-latex-listings-options (("basicstyle" "\\ttfamily")=20 ("captionpos" "b") ("tabsize" "3")) #+LANGUAGE: en #+OPTIONS: H:1 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t ':t #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_THEME: default #+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col)=20= %8BEAMER_opt(Opt) #+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC #+LATEX_HEADER: \usepackage{listings} #+TITLE: Test #+AUTHOR: hjh * A frame ** You can write some code like this. #+begin_src {} -i :exports code some code here #+end_src ~~~~ Now there is a file "beamer-listings-2.vrb" containing the LaTeX code for=20 the second frame. This file never gets deleted. As I'm developing the=20 presentation, chances are that frame will end up becoming a different frame=20= number, so I keep getting more and more vrb files on disk. Shouldn't org clean these up after LaTeX is finished? It already cleans up=20= other temporary LaTeX files. hjh