From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Ward Subject: Org Babel and R issue with pdf latex export Date: Mon, 28 Feb 2011 04:08:18 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=48664 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtuMV-0007dy-Sl for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 23:05:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtuMQ-0003Ef-VW for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 23:05:31 -0500 Received: from blu0-omc1-s24.blu0.hotmail.com ([65.55.116.35]:22558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtuMQ-0003Eb-SN for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 23:05:26 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I recently installed emacs, org-mode fresh on a new install of Arch Linux. Before I had it working on Ubuntu. I've installed everything as before and used the same .emacs file I had, but if I use org to write out some R script and export to pdf via latex, then I get an empty pdf document, with only the title and Contents heading. However if I export to anything else such as html it works, and shows me code and results. I've tried even installing a version of org mode from source, using the build system my distro has, so as it's made and installed to exactly the right place, but I still don't have any luck. The texlive version I'm using is from my distro's package manager. Using C-c C-c to evaluate on the fly works. I had an issue getting org and babel to work with R on Windows 7 as well, but it was because certain tex packages were missing and I recieved a message when I tried to export, but nothing comes up here. Would the recent change: Org-babel is now inside org, remove (require 'org-babel-init) and alike from your .emacs. Look at http://orgmode.org/Changes.html#ob-configuration-changes for overview of the settings. Be causing the entire issue? The .tex file I get out is thus: % Created 2011-02-28 Mon 03:47 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \providecommand{\alert}[1]{\textbf{#1}} \begin{document} \title{Test} \author{Ben J. Ward} \date{28 February 2011} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \end{document} Thanks, Ben W. (Apologies if this has been sent twice, first time an error occured)