Hyperref support
Daniel
xracoonx at gmx.de
Thu Mar 19 07:01:45 UTC 2020
On 2020-03-18 14:59, Steve Hnizdur wrote:
> Hi
>
> When "Use Hyperref Support" is checked in PDF properties Lyx
> automatically inserts
>
> \usepackage[unicode=true,
> bookmarks=false,
> breaklinks=false,pdfborder={0 0 1},backref=section,colorlinks=false]
> {hyperref}
>
> in the preamble. Any ideas where all these options come from? are they
> hard coded?
>
> Setting "unicode=false" in additional options doesn't seem to override
> the "unicode=true". So if unicode=true is causing a problem (in
> particular trying to redefine \C or \G) then this all has to added
> manually.
>
> MWE attached. Using Lyx 2.3.4.2 on Ubuntu 18.04
>
Hi
Yes, these options come from settings in the Hyperref dialog.
"bookmarks=..." = "Generate bookmars (toc)"
"breaklinks=..." = "Break links over lines"
"pdfborder=..." = "No frames around links"
"colorlinks=..." = "Color links"
"backref=..." = "Backreferences"
However, there seems to be no option for the "unicode=..." which seems
like an oversight. And the biggest problem is that according to the manual:
Note however that some options (for example unicode) can only be used as
packge options,and not in \hypersetup as the option settings are
processed as the package is read. (p. 6)
So, unicode=false has no effect as an additional option.
My guess is that this is a bug in LyX but others might know better.
Daniel
More information about the lyx-users
mailing list