From: Carsten Dominik <carsten.dominik@gmail.com>
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: Mon, 15 Mar 2010 16:35:02 +0100 [thread overview]
Message-ID: <7DB44359-F62C-4EF6-9DD1-FEFF96A530B2@gmail.com> (raw)
In-Reply-To: <87d3z6yj30.fsf@stats.ox.ac.uk>
On Mar 14, 2010, at 5:16 PM, Dan Davison wrote:
> Carsten Dominik <carsten.dominik@gmail.com> 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
prev parent reply other threads:[~2010-03-15 17:51 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
2010-03-14 13:02 ` Carsten Dominik
2010-03-14 16:16 ` Dan Davison
2010-03-15 15:35 ` Carsten Dominik [this message]
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=7DB44359-F62C-4EF6-9DD1-FEFF96A530B2@gmail.com \
--to=carsten.dominik@gmail.com \
--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).