From 344dc1f822613da393ba6a2c07b7248839235303 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Fri, 25 Aug 2023 15:23:43 -0400 Subject: [PATCH] Polish formatted reference patch, and add documentation. --- lib/doc/UserGuide.lyx | 34 ++++++++++++++++++++++++++++++++++ src/frontends/qt/ui/LaTeXUi.ui | 9 ++++++--- 2 files changed, 40 insertions(+), 3 deletions(-) diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx index c0d6819810..73e94b58fa 100644 --- a/lib/doc/UserGuide.lyx +++ b/lib/doc/UserGuide.lyx @@ -118,6 +118,7 @@ logicalmkup \suppress_date false \justification true \use_refstyle 1 +\use_formatted_ref 0 \use_minted 0 \use_lineno 0 \notefontcolor #0000ff @@ -10224,12 +10225,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 @@ -10242,6 +10245,7 @@ The following 2 lines are empty: \end_layout \begin_layout Verbatim + Almost everything is allowed in Verbatim:"%&$§#~'` \backslash }][{| @@ -10265,6 +10269,7 @@ Verbatim \end_layout \begin_layout Verbatim* + This is Verbatim*. \end_layout @@ -33789,6 +33794,35 @@ Capitalized refstyle \series default package. +\change_inserted -584632292 1692991077 + +\begin_inset Newline newline +\end_inset + +If you activate the option +\begin_inset Quotes eld +\end_inset + +Format cross-references in work area +\begin_inset Quotes erd +\end_inset + +, + \SpecialChar LyX + will attempt to display the formatted reference as it would appear in output, + e.g., + as +\begin_inset Quotes eld +\end_inset + +Theorem 1 +\begin_inset Quotes erd +\end_inset + +, + rather than just displaying the label. +\change_unchanged + \end_layout \begin_layout Description diff --git a/src/frontends/qt/ui/LaTeXUi.ui b/src/frontends/qt/ui/LaTeXUi.ui index 61d376fa1d..444cb009de 100644 --- a/src/frontends/qt/ui/LaTeXUi.ui +++ b/src/frontends/qt/ui/LaTeXUi.ui @@ -6,8 +6,8 @@ 0 0 - 332 - 442 + 446 + 431 @@ -207,8 +207,11 @@ + + Attempt to display formatted cross-references as they would appear in the output, e.g., as "Theorem 1" rather than just as the label. + - Indicate cross-reference output in the work area + Format cross-references in work area -- 2.39.5