emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Dan Davison <davison@stats.ox.ac.uk>
Cc: emacs org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: :scale option in org-format-latex-options
Date: Sun, 14 Mar 2010 08:54:39 +0100	[thread overview]
Message-ID: <87aaubpccg.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <87wrxfya7e.fsf@stats.ox.ac.uk>


[-- Attachment #1.1: Type: text/plain, Size: 1395 bytes --]

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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-03-14  7:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-14  1:16 :scale option in org-format-latex-options Dan Davison
2010-03-14  7:54 ` David Maus [this message]
2010-03-14 13:02   ` Carsten Dominik
2010-03-14 16:16     ` Dan Davison
2010-03-15 15:35       ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aaubpccg.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=davison@stats.ox.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).