From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graham Smith Subject: Re: Re: Positioning Latex diagram on PDF output Date: Sat, 8 Aug 2009 22:14:19 +0100 Message-ID: <2c75873c0908081414xd08208r6a3aa63f914c5eb2@mail.gmail.com> References: <2c75873c0908081129l4b0120a6o2537346bd32f31a7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZtFC-0004DG-12 for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 17:14:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZtF7-00044M-60 for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 17:14:25 -0400 Received: from [199.232.76.173] (port=47924 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZtF6-000441-VG for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 17:14:21 -0400 Received: from mail-bw0-f222.google.com ([209.85.218.222]:38142) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZtF6-0008Rt-JY for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 17:14:20 -0400 Received: by bwz22 with SMTP id 22so2027561bwz.42 for ; Sat, 08 Aug 2009 14:14:19 -0700 (PDT) In-Reply-To: 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 leo Thanks, this was useful, but... > %% ================================ > \documentclass{article} > \usepackage{tikz} > \usetikzlibrary{mindmap} > \usepackage[active,tightpage]{preview} > \PreviewEnvironment{tikzpicture} > \setlength\PreviewBorder{1pt} Based on this I have altered the headers in orgmode to #+LATEX_HEADER: \usepackage{tikz} #+LATEX_HEADER: \usetikzlibrary{mindmap,trees} #+LATEX_HEADER: \usepackage[active,tightpage]{preview} #+LATEX_HEADER: \PreviewEnvironment{tikzpicture} #+LATEX_HEADER: \setlength\PreviewBorder{20pt} This has certainly solved the mindmap position problem, but now the resultant pdf loses all the text from the original orgmode file. :-( I assume I don't need to add the document class line? Graham P.S. I'm not working on a Mindmap exporter just trying some pgf graphics.