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:15:45 +0200 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: multipart/signed; boundary="Apple-Mail=_29198E11-93DB-4BF9-8E33-4EE1148FE2C6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM9B0-0005AI-0Q for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 00:15:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VM9Av-00021D-4v for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 00:15:41 -0400 Received: from mail-ee0-x236.google.com ([2a00:1450:4013:c00::236]:37839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM9Au-000210-Qs for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 00:15:36 -0400 Received: by mail-ee0-f54.google.com with SMTP id e53so3173220eek.13 for ; Tue, 17 Sep 2013 21:15:36 -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=_29198E11-93DB-4BF9-8E33-4EE1148FE2C6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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" "$$" "\\(" "\\[")")) 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 "...". HTH - Carsten >=20 > Both of those aren't parsing correctly. Sorry for my elisp munging = ignorance! >=20 >=20 > Thanks! > John >=20 --Apple-Mail=_29198E11-93DB-4BF9-8E33-4EE1148FE2C6 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----- iQEcBAEBAgAGBQJSOSjxAAoJEO+gg/nAZuwMgk8H/12polX+YeSZRUboabhjXq/+ AgO+hY4Tbeqe9IfiawYWAMDz9SwNSHc5P7UH1kObMYZsd1o8MXFcGWPtDLtW62fe ML/w80wW4ziClTOdKGkxuxpYOLzSAUuCXSyPixqba2UhnnJlnfpRqgkFqU4AFsUN RV9uv2PYYYxqS43QzVIa83DmVXUGbzOcwaUOBhgsQOv0ZpXQ1rMAGm0l7SxmTWfl rROyg1PknZvkRyvV8jKTCmUtYCBmKeWKftKECfLwk2foJt3/1eWz7uFgUC6dbCNX UD/BCJnWixf6lSflg1QwbM2GeEWYQYp725j+8Em4mB9c9cyZgnoxtreHLt91o2A= =1Qhx -----END PGP SIGNATURE----- --Apple-Mail=_29198E11-93DB-4BF9-8E33-4EE1148FE2C6--