]> git.lyx.org Git - lyx.git/commitdiff
UG: document hyperref borders/colors interaction.
authorPavel Sanda <sanda@lyx.org>
Tue, 24 Sep 2024 18:15:00 +0000 (20:15 +0200)
committerPavel Sanda <sanda@lyx.org>
Tue, 24 Sep 2024 18:15:00 +0000 (20:15 +0200)
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg222962.html

lib/doc/UserGuide.lyx

index f851c06756b34c7a75f5cf3780b1ae89cdbea1e0..0916bf0669eeaa1ad9f48e78417f6eeedac3ac01 100644 (file)
@@ -9646,12 +9646,14 @@ Verbatim
 \end_layout
 
 \begin_layout Verbatim
+
 This is Verbatim.
 \end_layout
 
 \begin_layout Verbatim
 \noindent
 \align block
+
 The following 2 lines are empty:
 \end_layout
 
@@ -9664,6 +9666,7 @@ The following 2 lines are empty:
 \end_layout
 
 \begin_layout Verbatim
+
 Almost everything is allowed in Verbatim:"%&$ยง#~'`
 \backslash
 }][{|
@@ -9687,6 +9690,7 @@ Verbatim
 \end_layout
 
 \begin_layout Verbatim*
+
 This is Verbatim*.
 \end_layout
 
@@ -39036,7 +39040,40 @@ Color
 
 links
 \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
 Color