From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Cdlatex questions Date: Mon, 17 Oct 2011 20:55:19 +0100 Message-ID: <87lisjpf4o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFtFT-00071q-Cx for emacs-orgmode@gnu.org; Mon, 17 Oct 2011 15:53:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFtFS-0005xJ-Al for emacs-orgmode@gnu.org; Mon, 17 Oct 2011 15:53:23 -0400 Received: from lo.gmane.org ([80.91.229.12]:50502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFtFS-0005wu-0O for emacs-orgmode@gnu.org; Mon, 17 Oct 2011 15:53:22 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RFtFO-00041j-EQ for emacs-orgmode@gnu.org; Mon, 17 Oct 2011 21:53:18 +0200 Received: from client-86-25-186-12.bsh-bng-011.adsl.virginmedia.net ([86.25.186.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Oct 2011 21:53:18 +0200 Received: from rasmus by client-86-25-186-12.bsh-bng-011.adsl.virginmedia.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Oct 2011 21:53:18 +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: emacs-orgmode@gnu.org Hi, I would like to add to cdlatex. However, it does not seem to work. This is probably the best place to ask. First, I want to add \mathbb{·} to cdlatex-math-modify-alist. Second, I want to change \mathbf{·} to \boldsymbol{·}, which is nicer and works with greek letters. I have tried to add the following code: #+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)) #+end_src However, it does not work; should I do something else to add symbols to cdlatex? Third, I would like to change the cdlatex-math symbol to something less annoying. I have tried #+begin_src emacs-lisp (org-defkey org-cdlatex-mode-map "¨" 'cdlatex-math-symbol) #+end_src However, this does not catch all cases, and for example "¨ ¨" will not go to the second page. Is there an easy way to change '`'. –Rasmus -- Sent from my Emacs