From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Newbie: Custom link type formatting in LaTeX export? Date: Tue, 11 May 2010 12:13:31 +0200 Message-ID: <4BE92DCB.1070408@hf.uio.no> Reply-To: christian.moe@hf.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=39347 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBmyl-0005OJ-Eu for Emacs-orgmode@gnu.org; Tue, 11 May 2010 06:46:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBmyj-0003js-ED for Emacs-orgmode@gnu.org; Tue, 11 May 2010 06:46:23 -0400 Received: from mars.hitrost.net ([91.185.193.39]:32381) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBmyj-0003jL-8h for Emacs-orgmode@gnu.org; Tue, 11 May 2010 06:46:21 -0400 Received: from lk.92.63.17.213.dc.cable.static.lj-kabel.net ([92.63.17.213] helo=Celebrian.local) by mars.hitrost.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1OBmSx-0003hc-SP for Emacs-orgmode@gnu.org; Tue, 11 May 2010 12:13:31 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode@gnu.org Hi, (I'm new to the list; have been an enthusiastic Org user for a year and half; now using version 6.36; am an Elisp novice.) It looks like support for formatting custom link types in LaTeX export is broken? I was trying to implement a custom link type with its own formatting function for HTML and LaTeX export, following the steps in org-bbdb.el. I've found that org-bbdb-export does not italicize bbdb links in LaTeX, nor does my own org-cite-export turn my custom =cite:= links into LaTeX =\cite{}= citations. Everything works fine in HTML export, but in LaTeX all custom link types get formatted as =\texttt{descr}=. I see that org-export-as-html and org-export-as-docbook look up org-link-protocols to get the function for formatting the link, but it seems that org-export-as-latex doesn't. Yours, Christian Moe