From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Pank Roulund Subject: Re: Cdlatex questions Date: Wed, 19 Oct 2011 21:14:03 +0100 Message-ID: <87obxcrb78.fsf@gmail.com> References: <87lisjpf4o.fsf@gmail.com> <031A7D1E-5785-46B9-9727-AC7168AD01A6@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGcUU-000302-Qb for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 16:11:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGcUT-0004Kv-Qk for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 16:11:54 -0400 Received: from mailout-eu.gmx.com ([213.165.64.43]:48268) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RGcUT-0004KQ-Ci for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 16:11:53 -0400 In-Reply-To: <031A7D1E-5785-46B9-9727-AC7168AD01A6@gmail.com> (Carsten Dominik's message of "Wed, 19 Oct 2011 09:30:53 +0200") 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@gnu.org Carsten Dominik writes: > Hi Rasmus, > > you need to set these variables before cdlatex.el has been loaded, or you= need > run (cdlatex-reset-mode) after you have changed them. THis is not docume= nted well, > unfortunately. Thanks Carsten. For the reference I use the following snip now which and it works as I want it to work. #+begin_src emacs-lisp (add-to-list 'cdlatex-math-modify-alist '(98 "\\boldsymbol" "\\textbf" t nil nil)) (add-to-list 'cdlatex-math-modify-alist '(115 "\\mathbb" nil t nil nil)) (org-defkey org-cdlatex-mode-map "=C2=A8" 'cdlatex-math-symbol) (setq cdlatex-math-symbol-prefix 168) ;;(cdlatex-reset-mode) (require 'cdlatex) #+end_src =E2=80=93Rasmus --=20 Sent from my Emacs