From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Preview tikz in org-mode (reduce margins of produced images) Date: Wed, 21 May 2014 00:42:55 -0400 Message-ID: <87egznyc6o.fsf@gmail.com> References: <87a9agzapr.fsf@gmail.com> <87tx8jsxhb.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmyN2-0007h9-Oo for emacs-orgmode@gnu.org; Wed, 21 May 2014 00:43:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmyMw-0000a0-Rw for emacs-orgmode@gnu.org; Wed, 21 May 2014 00:43:16 -0400 Received: from plane.gmane.org ([80.91.229.3]:58428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmyMw-0000Zs-LK for emacs-orgmode@gnu.org; Wed, 21 May 2014 00:43:10 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WmyMv-0005lC-6M for emacs-orgmode@gnu.org; Wed, 21 May 2014 06:43:09 +0200 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 May 2014 06:43:09 +0200 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 May 2014 06:43:09 +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 Bastien writes: > Nick Dokos writes: > >> Unfortunately, you seem to have attached it as text/enriched and it is >> messed up. Can you please attach it as text/plain? > > I attach it just in case. Didn't know about enriched-mode - thanks! But back to the original question: with the redefined org-format-latex-header, I get errors (probably because the preview is produced by running latex, whereas the redefined header seems to require xetex). Without the redefined header, I get a preview which does *not* have large margins. So the header is probably the culprit: I would start deleting things from it, until the problem disappears. In particular, the fullpage.sty settings look suspicious to me. Maybe somebody who has set up previews with xe(la)tex can provide a more helpful answer (doesn't that require code changes to org?) -- Nick