From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Assistance customizing org-format-latex-options Date: Wed, 18 Sep 2013 06:09:52 +0200 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: multipart/signed; boundary="Apple-Mail=_C51C6A2C-B824-4CD0-A799-02D8B22CE21C"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM95K-0003bs-0L for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 00:09:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VM95F-0000FU-5X for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 00:09:49 -0400 Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]:37135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM95E-0000FH-Tj for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 00:09:45 -0400 Received: by mail-ee0-f44.google.com with SMTP id b47so3184340eek.3 for ; Tue, 17 Sep 2013 21:09:44 -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: John Hendy Cc: emacs-orgmode --Apple-Mail=_C51C6A2C-B824-4CD0-A799-02D8B22CE21C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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=20 :matchers ("begin" "$1" "$$" "\\(" "\\["))) HTH - Carsten On 18.9.2013, at 05:52, John Hendy wrote: > Hi, >=20 >=20 > I'm running into a similar issue as I once did before: > - http://comments.gmane.org/gmane.emacs.orgmode/50452 >=20 > When I'm writing a paragraph and have a dollar currency amount, Org's > footnote functionality (e.g. =3DC-x f=3D) does not work in the region. >=20 > The suggestion was to remove "$" from org-format-latex-options. >=20 > 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. >=20 > I searched around and found this: > - = http://stackoverflow.com/questions/11272236/how-to-make-formule-bigger-in-= org-mode-of-emacs >=20 > It gives instructions on setting the :scale portion, which I tried to > adapt to :matchers like this: >=20 > (setq org-format-latex-options (plist-put org-format-latex-options > :matchers ("begin" "$1" "$$" "\\(" "\\["))) >=20 > As well as this: >=20 > (setq org-format-latex-options (plist-put org-format-latex-options > :matchers "("begin" "$1" "$$" "\\(" "\\[")")) >=20 > Both of those aren't parsing correctly. Sorry for my elisp munging = ignorance! >=20 >=20 > Thanks! > John >=20 --Apple-Mail=_C51C6A2C-B824-4CD0-A799-02D8B22CE21C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJSOSeQAAoJEO+gg/nAZuwMkGYIAK2g/YQN2jfezYj4gC36TNia kjB2KufqJbZr1oXwPRlsq2qLaVOZ0lf74v3Bii60gMkPZEgrJEOY6fEE/iy7DCl6 Lebdn//uRGKZg6Y2rmL+sTg3/Jxra1etwERYz1kOEshNwHMeb5D1gMtrI/BVMgsQ CrIYYhkyn67v28UZKGu/qXQMnTnRlfUAoVfF/w30/LxyqQvN73fdwzNKdXbzdL9i juKdaC7owl1hbldRdWbXFXNDAbS4q1TwDtnSh1um6RHdxd7XkxLsDqAC2oIaJ/N8 eb0vIzullqRtGsUPuz0tVzJrpTv8r/+oy8sTtNV6Y5Ktg4HBVfIjRvbSuy3SYcM= =ZLqu -----END PGP SIGNATURE----- --Apple-Mail=_C51C6A2C-B824-4CD0-A799-02D8B22CE21C--