[LyX/2.4.x] UG: backport note about frames/colorlinks in pdf properties.
Pavel Sanda
sanda at lyx.org
Sun Sep 29 20:36:58 UTC 2024
commit e29cd17ceaf00fe3d896d60991eb84d0a67fae0d
Author: Pavel Sanda <sanda at lyx.org>
Date: Sun Sep 29 22:36:09 2024 +0200
UG: backport note about frames/colorlinks in pdf properties.
---
lib/doc/UserGuide.lyx | 44 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 43 insertions(+), 1 deletion(-)
diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx
index 29158457fc..b77996c762 100644
--- a/lib/doc/UserGuide.lyx
+++ b/lib/doc/UserGuide.lyx
@@ -9603,12 +9603,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
@@ -9621,6 +9623,7 @@ The following 2 lines are empty:
\end_layout
\begin_layout Verbatim
+
Almost everything is allowed in Verbatim:"%&$§#~'`
\backslash
}][{|
@@ -9644,6 +9647,7 @@ Verbatim
\end_layout
\begin_layout Verbatim*
+
This is Verbatim*.
\end_layout
@@ -38100,7 +38104,45 @@ 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
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+The "colorlinks" option in the hyperref package disables the frames around links 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
+
+\backslash
+AtBeginDocument{
+\backslash
+hypersetup{pdfborder=0 0 1}}
+\end_layout
+
+\end_inset
+
+.
+ In similar vein
+\begin_inset Flex Code
+status open
+
+\begin_layout Plain Layout
+pdfborderstyle={/S/U/W 1}
+\end_layout
+
+\end_inset
+
+ can be used for underline style instead of frames.
+ Consult hyperref manual for details.
+\end_layout
+
+\end_inset
+
+;
\family sans
Color
More information about the lyx-cvs
mailing list