From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: :scale option in org-format-latex-options Date: Mon, 15 Mar 2010 16:35:02 +0100 Message-ID: <7DB44359-F62C-4EF6-9DD1-FEFF96A530B2@gmail.com> References: <87wrxfya7e.fsf@stats.ox.ac.uk> <87aaubpccg.wl%dmaus@ictsoc.de> <72716B49-EE55-4F01-9554-1CFBD34959BA@gmail.com> <87d3z6yj30.fsf@stats.ox.ac.uk> 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 1NrERp-0007Gz-F6 for emacs-orgmode@gnu.org; Mon, 15 Mar 2010 13:51:25 -0400 Received: from [140.186.70.92] (port=57421 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrERd-0007A0-1k for emacs-orgmode@gnu.org; Mon, 15 Mar 2010 13:51:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NrERT-0007SV-EO for emacs-orgmode@gnu.org; Mon, 15 Mar 2010 13:51:04 -0400 Received: from ey-out-1920.google.com ([74.125.78.145]:46875) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrERT-0007SL-4M for emacs-orgmode@gnu.org; Mon, 15 Mar 2010 13:51:03 -0400 Received: by ey-out-1920.google.com with SMTP id 26so259640eyw.34 for ; Mon, 15 Mar 2010 10:51:02 -0700 (PDT) In-Reply-To: <87d3z6yj30.fsf@stats.ox.ac.uk> 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: Dan Davison Cc: emacs org-mode mailing list On Mar 14, 2010, at 5:16 PM, Dan Davison wrote: > Carsten Dominik writes: > >> On Mar 14, 2010, at 8:54 AM, David Maus wrote: >> >>> Hi Dan, >>> >>> Dan Davison wrote: > [...] >>>> 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 > [...] >>> 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. > > Ah, right, thanks David and Carsten, I see. What I thought was the > effects of -x and -y was in fact the effect of the DPI option, which > is > already set by :scale. So it was already working fine for my > purposes :) > > I think the following is a docstring typo (org-format-latex-options), > right? > > --8<---------------cut here---------------start------------->8--- > diff --git a/lisp/org.el b/lisp/org.el > index aa22309..e5d046e 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -2860,7 +2860,7 @@ This is a property list with the following > properties: > \"$\" find math expressions surrounded by $...$ > \"$$\" find math expressions surrounded by $$....$$ > \"\\(\" find math expressions surrounded by \\(...\\) > - \"\\ [\" find math expressions surrounded by \\ [... > \\]" > + \"\\[\" find math expressions surrounded by \\[...\ > \]" > :group 'org-latex > :type 'plist) > --8<---------------cut here---------------end--------------->8--- :-) That definitely looks like a typo, but is is not. Try to apply you patch and then look at the docstring using C-h v :-) \\[ .... ] is treated special in docstrings. If you find a way to do this without breaking the docstring, I'd love to hear about it. - Carsten