From: Carsten Dominik <carsten.dominik@gmail.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Assistance customizing org-format-latex-options
Date: Wed, 18 Sep 2013 06:09:52 +0200 [thread overview]
Message-ID: <E0F84D2D-62BF-46EA-9E16-C41313166948@gmail.com> (raw)
In-Reply-To: <CA+M2ft-Y9B0p0BqOkSCXPL7ZPtJEJniPrAze8Ts5-DKFyouWew@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1709 bytes --]
Hi John,
don't be afraid of property lists - they are just ordinary
lists with alternating keys and values.
(setq org-format-latex-options
'(:foreground default
:background default
:scale 1.0
:html-foreground "Black"
:html-background "Transparent"
:html-scale 1.0
:matchers ("begin" "$1" "$$" "\\(" "\\[")))
HTH
- Carsten
On 18.9.2013, at 05:52, John Hendy <jw.hendy@gmail.com> wrote:
> Hi,
>
>
> I'm running into a similar issue as I once did before:
> - http://comments.gmane.org/gmane.emacs.orgmode/50452
>
> When I'm writing a paragraph and have a dollar currency amount, Org's
> footnote functionality (e.g. =C-x f=) does not work in the region.
>
> The suggestion was to remove "$" from org-format-latex-options.
>
> I've not customized a variable with many "sub-options." Can someone
> give me an example of how to directly customize just the :matchers
> portion of that variable in .emacs? I prefer to set options directly
> vs. having a jumbled list of customizations in custom-set-variables.
>
> I searched around and found this:
> - http://stackoverflow.com/questions/11272236/how-to-make-formule-bigger-in-org-mode-of-emacs
>
> It gives instructions on setting the :scale portion, which I tried to
> adapt to :matchers like this:
>
> (setq org-format-latex-options (plist-put org-format-latex-options
> :matchers ("begin" "$1" "$$" "\\(" "\\[")))
>
> As well as this:
>
> (setq org-format-latex-options (plist-put org-format-latex-options
> :matchers "("begin" "$1" "$$" "\\(" "\\[")"))
>
> Both of those aren't parsing correctly. Sorry for my elisp munging ignorance!
>
>
> Thanks!
> John
>
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
next prev parent reply other threads:[~2013-09-18 4:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-18 3:52 Assistance customizing org-format-latex-options John Hendy
2013-09-18 4:09 ` Carsten Dominik [this message]
2013-09-18 4:13 ` John Hendy
2013-09-18 4:15 ` Carsten Dominik
2013-09-18 4:38 ` John Hendy
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=E0F84D2D-62BF-46EA-9E16-C41313166948@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@gmail.com \
/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).