UG: document hyperref borders/colors interaction.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg222962.html
This commit is contained in:
Pavel Sanda 2024-09-24 20:15:00 +02:00
parent 126cbec5e7
commit 766f666cbb

View File

@ -9646,12 +9646,14 @@ Verbatim
\end_layout \end_layout
\begin_layout Verbatim \begin_layout Verbatim
This is Verbatim. This is Verbatim.
\end_layout \end_layout
\begin_layout Verbatim \begin_layout Verbatim
\noindent \noindent
\align block \align block
The following 2 lines are empty: The following 2 lines are empty:
\end_layout \end_layout
@ -9664,6 +9666,7 @@ The following 2 lines are empty:
\end_layout \end_layout
\begin_layout Verbatim \begin_layout Verbatim
Almost everything is allowed in Verbatim:"%&$§#~'` Almost everything is allowed in Verbatim:"%&$§#~'`
\backslash \backslash
}][{| }][{|
@ -9687,6 +9690,7 @@ Verbatim
\end_layout \end_layout
\begin_layout Verbatim* \begin_layout Verbatim*
This is Verbatim*. This is Verbatim*.
\end_layout \end_layout
@ -39036,7 +39040,40 @@ Color
links links
\family default \family default
both turn off the default behavior of enclosing all links in frames; both turn off the default behavior of enclosing all links in frames
\change_inserted 5863208 1727201632
\begin_inset Foot
status open
\begin_layout Plain Layout
\change_inserted 5863208 1727201632
The "colorlinks" option in the hyperref package disables the borders at the beginning of the document.
If you want both you need to add the following to the preamble after enabling colored links
\begin_inset Flex Code
status open
\begin_layout Plain Layout
\change_inserted 5863208 1727201632
\backslash
AtBeginDocument{
\backslash
hypersetup{pdfborder=0 0 1}}
\end_layout
\end_inset
\end_layout
\end_inset
\change_unchanged
;
\family sans \family sans
Color Color