emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] :scale option in org-format-latex-options


From: David Maus
Subject: Re: [Orgmode] :scale option in org-format-latex-options
Date: Sun, 14 Mar 2010 08:54:39 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/24.0.50 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

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.

Regards
 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: pgpumtNPfXltG.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]