From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: How to modify org-export-latex-emphasis-alist Date: Sun, 3 Oct 2010 10:30:12 -1000 Message-ID: <24C72165-A63C-4582-A34E-41F193624D7E@tsdye.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=52983 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2VCe-0000l8-7M for emacs-orgmode@gnu.org; Sun, 03 Oct 2010 16:30:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2VCN-0007Y7-5l for emacs-orgmode@gnu.org; Sun, 03 Oct 2010 16:30:20 -0400 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:36964) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1P2VCM-0007XX-Pb for emacs-orgmode@gnu.org; Sun, 03 Oct 2010 16:30:19 -0400 Received: from cpe-66-91-68-127.hawaii.res.rr.com ([66.91.68.127] helo=[192.168.1.4]) by box472.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1P2VCI-0002Dn-7h for emacs-orgmode@gnu.org; Sun, 03 Oct 2010 14:30:14 -0600 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 mailing list Aloha all, I use this patch locally to let the LaTeX url package typeset and break lines in long path names. Is there a way to make this change from my .emacs, so I can continue to use the Org-mode master branch and not my url branch? Or, is there a better way to implement this without changing the Org-mode core? Changes from master to url Modified lisp/org-latex.el diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 9a62457..920591a 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -230,7 +230,7 @@ are written as utf8 files." ("/" "\\emph{%s}" nil) ("_" "\\underline{%s}" nil) ("+" "\\st{%s}" nil) - ("=" "\\verb" t) + ("=" "\\url{%s}" nil) ("~" "\\verb" t)) "Alist of LaTeX expressions to convert emphasis fontifiers. Each element of the list is a list of three elements. All the best, Tom