From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: Re: LaTeX Export Packages Date: Sat, 30 Jul 2011 19:10:19 -0400 Message-ID: <4E348F5B.4090801@gmail.com> References: <4E331E3F.8040002@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnIfp-0004TQ-Gy for emacs-orgmode@gnu.org; Sat, 30 Jul 2011 19:10:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QnIfn-0003JI-Ri for emacs-orgmode@gnu.org; Sat, 30 Jul 2011 19:10:25 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:50542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnIfn-0003Ii-If for emacs-orgmode@gnu.org; Sat, 30 Jul 2011 19:10:23 -0400 Received: by iyb14 with SMTP id 14so6788934iyb.0 for ; Sat, 30 Jul 2011 16:10:22 -0700 (PDT) In-Reply-To: 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: "[Orgmode]" On 07/29/2011 04:59 PM, Ista Zahn wrote: > Hi Scott, > Untested, but I think you can use > #+LATEX_HEADER: \hypersetup{colorlinks=true,urlcolor=blue,linkcolor=blue} That worked. Thanks. Scott > > Best, > Ista > > On Fri, Jul 29, 2011 at 4:55 PM, Scott Randby wrote: >> The package hyperref is one of the default packages listed in >> org-export-latex-default-packages-alist. I want to add some options to >> this package for some files but not for others. >> >> I have tried adding the following to my file: >> >> #+LATEX_HEADER: >> \usepackage[colorlinks=true,urlcolor=blue,linkcolor=blue]{hyperref} >> >> When I export, I get an error because hyperref appears twice in the TEX >> file. >> >> 1. I don't want to edit the exported LaTeX file to add the hyperref >> options. >> >> 2. I don't want to customize org-export-latex-default-packages-alist to >> include the options for hyperref because I don't always want those options. >> >> 3. I don't want to delete hyperref from >> org-export-latex-default-packages-alist because I might forget to add it >> in some file that will be exported to LaTeX. >> >> 4. I'd rather not customize my .emacs because the options I want for >> hyperref vary from file to file. >> >> I would like some way to add options in an org-mode file to the packages >> that appear in org-export-latex-default-packages-alist. Maybe something >> similar to #+LaTeX_CLASS_OPTIONS: will be possible. But this doesn't >> look easy to me. Should I learn how to do publishing? >> >> Scott Randby >> >> > > >