From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Fraga Subject: Re: Babel, gnuplot, post processing Date: Sat, 12 May 2012 17:28:27 +0930 Message-ID: <8762c1omos.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ST7E1-000874-Gt for emacs-orgmode@gnu.org; Sat, 12 May 2012 03:58:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ST7Dz-0007j0-RJ for emacs-orgmode@gnu.org; Sat, 12 May 2012 03:58:49 -0400 Received: from db3ehsobe002.messaging.microsoft.com ([213.199.154.140]:45424 helo=db3outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ST7Dz-0007io-LI for emacs-orgmode@gnu.org; Sat, 12 May 2012 03:58:47 -0400 In-Reply-To: (skip's message of "Fri, 11 May 2012 08:57:37 -0700") 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: skip Cc: emacs-orgmode@gnu.org skip writes: > How can I perform post processing on eps files produced by gnuplot > source blocks? I want to take out the extra white space margins in the > eps file by running eps2eps utility on the eps file produced by > gnuplot. The easiest solution (although maybe not the most elegant) is to do this from within gnuplot. I do something similar in that I process the eps to create a pdf. #+begin_src gnuplot :file xxx.pdf reset clear set output 'xxx.eps' set terminal postscript eps enhanced 18 ... plot ... ! epstopdf xxx.eps #+end_src -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1 : using Org release_7.8.09-527-gc2aac5