From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: LaTeX export TOC decorations : how to Date: Sat, 08 Mar 2014 10:24:12 -0500 Message-ID: <87ha78d883.fsf@gmail.com> References: <531B1460.70206@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMJ71-000056-Ky for emacs-orgmode@gnu.org; Sat, 08 Mar 2014 10:24:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMJ6v-00074l-LX for emacs-orgmode@gnu.org; Sat, 08 Mar 2014 10:24:31 -0500 Received: from plane.gmane.org ([80.91.229.3]:41986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMJ6v-00074c-EL for emacs-orgmode@gnu.org; Sat, 08 Mar 2014 10:24:25 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WMJ6u-0003pZ-MC for emacs-orgmode@gnu.org; Sat, 08 Mar 2014 16:24:24 +0100 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Mar 2014 16:24:24 +0100 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Mar 2014 16:24:24 +0100 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 FAb <0xfab@free.fr> writes: > Hi, > When I org-export in pdf the items in TOC have red box around them > like "decoration" for link in css. > How can I get ride of them ? > Or how to customize this stuff ? > Assuming you are going to PDF through latex, this is done by hyperref, so you'll need to familiarize yourself with hyperref options and then customize org-latex-hyperref-template. The default value of that variable is "\\hypersetup{\n pdfkeywords={%k},\n pdfsubject={%d},\n pdfcreator={%c}}\n" You need to modify it to something like this: "\\hypersetup{\n linkbordercolor={0 0 1}\n pdfkeywords={%k},\n pdfsubject={%d},\n pdfcreator={%c}}\n" If you want to use color names rather than RGB values, you can add #+LATEX_HEADER: \usepackage{xcolor} to your org file (or do a more permanent modification if so desired). You can then use "\\hypersetup{\n linkbordercolor=blue\n pdfkeywords={%k},\n pdfsubject={%d},\n pdfcreator={%c}}\n" as the value of org-latex-hyperref-template. The hyperref manual can be found at https://www.tug.org/applications/hyperref/ftp/doc/manual.html -- Nick