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: Carsten Dominik
Subject: Re: [Orgmode] :scale option in org-format-latex-options
Date: Mon, 15 Mar 2010 16:35:02 +0100


On Mar 14, 2010, at 5:16 PM, Dan Davison wrote:

Carsten Dominik <address@hidden> 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





reply via email to

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