# hyperref package not shown in Code Preview

Daniel xracoonx at gmx.de
Sat May 16 04:16:47 UTC 2020

On 15/5/20 20:57, Paul A. Rubin wrote:
> On 5/15/20 2:36 PM, Kornel Benko wrote:
>> Am Fri, 15 May 2020 11:28:52 -0400
>> schrieb "Paul A. Rubin" <parubin73 at gmail.com>:
>>
>>> On 5/15/20 11:21 AM, Daniel wrote:
>>>> On 2020-05-15 16:50, Paul A. Rubin wrote:
>>>>> On 5/15/20 9:26 AM, Daniel wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I think I am missing something. Shouldn't the hyperref package be
>>>>>> loaded in the attached document? But the Code Preview does not show
>>>>>> it. The output seems to use hyperref and the exported .tex file
>>>>>> shows the package though. This is with 2.3.4.
>>>>>>
>>>>>> I guess I am missing something but I can't figure out what.
>>>>>>
>>>>>> Best,
>>>>>> Daniel
>>>>> It is being loaded. In Code Preview, it is loaded immediately before
>>>>> \begin{document}. What might be throwing you off is that there are so
>>>>> many options that "{hyperref}" is three lines after "\usepackage", at
>>>>> least on my system.
>>>>>
>>>>> Paul
>>>>>
>>>> Strange. I see the Code Preview as in the attachment. Not sure what
>>>> might be going on.
>>>>
>>>> Daniel
>>> That is odd. Here's a shot of what I see (also with LyX 2.3.4.2).
>>>
>> You are using hyperref support, while Daniel probably does not.
>> (Document->Settings…->PDF Properties->Use hyperref Support)
>>
>>     Kornel
> That box was checked when I loaded his file (meaning I did not select it
> myself), so I assumed that the setting was in Daniel's .lyx file. Is
> that a local user preference rather than a file setting?
>
> Paul
>

It is checked in my file settings (which are not local) and, as I
mentioned before, the output and .tex export have hyperref support. So,
I am still confused why it does not show up in the Code Preview.

Daniel