FAb <address@hidden> 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