From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Assistance customizing org-format-latex-options Date: Tue, 17 Sep 2013 23:38:52 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM9XS-0001Um-LD for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 00:38:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VM9XR-0008Ud-7a for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 00:38:54 -0400 Received: from mail-ob0-x22b.google.com ([2607:f8b0:4003:c01::22b]:35449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM9XR-0008US-2b for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 00:38:53 -0400 Received: by mail-ob0-f171.google.com with SMTP id wm4so6855950obc.16 for ; Tue, 17 Sep 2013 21:38:52 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode On Tue, Sep 17, 2013 at 11:15 PM, Carsten Dominik wrote: > > On 18.9.2013, at 05:52, John Hendy 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" "$$" "\\(" "\\[")")) > > Or, if you want to do it like this: > > (setq org-format-latex-options > (plist-put org-format-latex-options > :matchers '("begin" "$1" "$$" "\\(" "\\["))) > > Quoting a list is done with a single ' before the opening parenthesis. > Not by enclosing it in "...". > Fantastic and exactly what I was looking for! I realize I'm pretty horrible at following through on my Worg aspirations... but perhaps I can file this and some other things like this to help others with customization of variables. Some of these syntax things seem to appear with reasonable frequency and cause us non-elispers definite confusion. I could see a page on setting .emacs options as helpful. Come to think of it, I probably should have googled for more general Emacs customization information. Anyway, many thanks for the quick response and assistance! John > HTH > > - Carsten > > >> >> Both of those aren't parsing correctly. Sorry for my elisp munging ignorance! >> >> >> Thanks! >> John >> >