From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX export TOC decorations : how to
Date: Sat, 08 Mar 2014 10:24:12 -0500 [thread overview]
Message-ID: <87ha78d883.fsf@gmail.com> (raw)
In-Reply-To: 531B1460.70206@free.fr
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
next prev parent reply other threads:[~2014-03-08 15:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-08 13:00 LaTeX export TOC decorations : how to FAb
2014-03-08 14:19 ` Tim Burt
2014-03-08 15:24 ` Nick Dokos [this message]
2014-03-09 10:58 ` FAb
2014-03-09 11:51 ` Nick Dokos
2014-03-09 20:05 ` FAb
2014-03-09 20:29 ` Nick Dokos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ha78d883.fsf@gmail.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).