From: FAb <0xfab@free.fr>
To: Nick Dokos <ndokos@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: LaTeX export TOC decorations : how to
Date: Sun, 09 Mar 2014 11:58:44 +0100 [thread overview]
Message-ID: <531C4964.9070106@free.fr> (raw)
In-Reply-To: <87ha78d883.fsf@gmail.com>
On 03/08/2014 04:24 PM, Nick Dokos wrote:
> 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
>
Ok thanks,
When I use that "\hypersetup" in #+LATEX_HEADER the job is perfectly done.
But I don't find the "org-latex-hyperref-template" and if I delcare it
in my .emacs, nothing changes.
Are you sure about this name ?
Now as I know the keyword "hyperref" I find a lot of documentation on
the web, but clue for that variable.
Closest variables :
org-export-latex-hyperref-format
org-export-latex-hyperref-options-format
org-latex-with-hyperref
I imagine that I could hack latex template to have the good
'#+LaTeX_HEADER' but if there is a nice way to do it, I'd rather learn it.
Regards,
FAb
PS : thank you Tim
next prev parent reply other threads:[~2014-03-09 10:58 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
2014-03-09 10:58 ` FAb [this message]
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=531C4964.9070106@free.fr \
--to=0xfab@free.fr \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
/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).