]> git.lyx.org Git - features.git/commitdiff
Polish formatted reference patch, and add documentation.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 25 Aug 2023 19:23:43 +0000 (15:23 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 25 Aug 2023 19:24:13 +0000 (15:24 -0400)
lib/doc/UserGuide.lyx
src/frontends/qt/ui/LaTeXUi.ui

index c0d6819810ebae94e0c891f41acfc5607f704581..73e94b58fadbb3d62eb4934062fbf77bae00a8e3 100644 (file)
@@ -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
index 61d376fa1dcfd334cd65bb88bc6cd0e38c90e8b1..444cb009de0f4cb9807e84e39d3b9e1ca7250d25 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>332</width>
-    <height>442</height>
+    <width>446</width>
+    <height>431</height>
    </rect>
   </property>
   <property name="windowTitle">
    </item>
    <item row="6" column="0" colspan="4">
     <widget class="QCheckBox" name="refFormattedCB">
+     <property name="toolTip">
+      <string>Attempt to display formatted cross-references as they would appear in the output, e.g., as &quot;Theorem 1&quot; rather than just as the label.</string>
+     </property>
      <property name="text">
-      <string>Indicate cross-reference output in the work area</string>
+      <string>Format cross-references in work area</string>
      </property>
     </widget>
    </item>