From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: ox-latex: Is \uline really right for underlining? Date: Thu, 12 Dec 2013 14:47:57 +0800 Message-ID: References: <87bo0nzbox.fsf@gmail.com> <4b911e1e-49e6-4a80-b152-3b1910bb4a6d@dewdrop-world.net> Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr03z-0004hM-M1 for emacs-orgmode@gnu.org; Thu, 12 Dec 2013 01:48:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vr03y-0001Aq-LH for emacs-orgmode@gnu.org; Thu, 12 Dec 2013 01:47:59 -0500 Received: from mail-oa0-x22c.google.com ([2607:f8b0:4003:c02::22c]:62281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vr03y-0001Am-Fc for emacs-orgmode@gnu.org; Thu, 12 Dec 2013 01:47:58 -0500 Received: by mail-oa0-f44.google.com with SMTP id m1so8579949oag.31 for ; Wed, 11 Dec 2013 22:47:57 -0800 (PST) In-Reply-To: <4b911e1e-49e6-4a80-b152-3b1910bb4a6d@dewdrop-world.net> 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: Nicolas Goaziou Cc: orgmode On Thu, Dec 12, 2013 at 10:40 AM, James Harkins wrote: > On Wednesday, December 11, 2013 10:47:42 PM HKT, Nicolas Goaziou wrote: >>> >>> Is "ulem" one of the LaTeX export default packages? >> >> Yes, it is. See `org-latex-default-packages-alist'. > > Ah... I must have customized that at some point. And... I just found why I had customized it. It was because of hyperref's (idiotic) default behavior of drawing red boxes around links. I'm not sure how "ulem" didn't make it into my customized setting. Maybe "ulem" was added to the default packages list after I made the customization. What's the best way to handle that? I really want the "hidelinks" option for hyperref to be used globally. But, customizing org-latex-default-packages-alist means that I will miss updates to that variable in future org versions. Should I leave org-latex-default-packages-alist alone, and add my own entry for hyperref into org-latex-packages-alist? (Would there be any ill effect from having two \usepackage{hyperref} lines in the preamble, with different options?) hjh