From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: :scale option in org-format-latex-options Date: Sun, 14 Mar 2010 14:02:43 +0100 Message-ID: <72716B49-EE55-4F01-9554-1CFBD34959BA@gmail.com> References: <87wrxfya7e.fsf@stats.ox.ac.uk> <87aaubpccg.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NqnT0-0006DW-Jd for emacs-orgmode@gnu.org; Sun, 14 Mar 2010 09:02:50 -0400 Received: from [140.186.70.92] (port=54032 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NqnSy-0006Bt-JD for emacs-orgmode@gnu.org; Sun, 14 Mar 2010 09:02:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NqnSw-0003WI-Gc for emacs-orgmode@gnu.org; Sun, 14 Mar 2010 09:02:48 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:55125) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NqnSw-0003WE-BK for emacs-orgmode@gnu.org; Sun, 14 Mar 2010 09:02:46 -0400 Received: by ewy8 with SMTP id 8so717132ewy.8 for ; Sun, 14 Mar 2010 06:02:45 -0700 (PDT) In-Reply-To: <87aaubpccg.wl%dmaus@ictsoc.de> 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: David Maus Cc: Dan Davison , emacs org-mode mailing list On Mar 14, 2010, at 8:54 AM, David Maus wrote: > Hi Dan, > > Dan Davison wrote: >> When creating png images of latex fragments in org-create-formula- >> image, >> the :scale option in org-format-latex-options is not currently >> honoured >> (it's commented out). My dvipng documentation says > >> -x num > >> Set the x magnification ratio to num/1000. Overrides the >> magnification specified in the DVI file. Must be between 10 >> and 100000. It is recommended that you use standard magstep >> values (1095, 1200, 1440, 1728, 2074, 2488, 2986, and so on) >> to help reduce the total number of PK files generated. num >> may be a real number, not an integer, for increased >> precision. > >> I don't know what a magstep is, let alone a PK file, but it seems to >> suggest something like the patch below. Is there any reason not to >> make >> a change like this? > > I see two problems: First we should find out what "x magnification" > and "magstep" actually is and why the manual suggests using these > "strange" standard numbers. And second: At least dvipng shipped with > debian testing > > ,---- > | This is dvipng 1.12 Copyright 2002-2008 Jan-Ake Larsson > | dvipng 1.12 > | kpathsea version 5.0.0 > | Compiled with Freetype 2.3.11 > | Using libft 2.3.11 > | Using t1lib 5.1.2 > `---- > > does not have a -y option. I remember removing the option precise because some (newer?) versions of dvipng do not have these options. I believe you can use a larger DPI to make the image larger. - Carsten