commit a3e7819856fdefb1cbae2a021d61850d48b4d8c6
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Wed May 14 14:19:52 2025 +0200
Remove dubious branch example from UserGuide
The main reason for removing it is that it breaks previews. Since it
is a weird example, it seems easier to remove it than to make it work.
Note that, since change tracking is on, the document still break
previews for now.
---
lib/doc/UserGuide.lyx | 46 ++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 42 insertions(+), 4 deletions(-)
diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx
index eb371bbcdf..71aebc4fbd 100644
--- a/lib/doc/UserGuide.lyx
+++ b/lib/doc/UserGuide.lyx
@@ -170,6 +170,7 @@ logicalmkup
\author -1162675398 "Tobias Hilbricht" [email protected]
\author -712698321 "Jürgen Spitzmüller"
\author -584632292 "Richard Kimberly Heck"
+\author -495245474 "Jean-Marc Lasgouttes"
\author 5863208 "ab"
\author 1075283030 "Thibaut"
\author 1549938239 "Kornel Benko"
@@ -39547,9 +39548,22 @@ Answer
\end_layout
\begin_layout Standard
-To use conditional output inside places where you cannot insert branch insets,
- like inside equations,
- you can code special \SpecialChar LaTeX
+To use conditional output inside
+\change_inserted -495245474 1747223737
+equations,
+
+\change_deleted -495245474 1747223748
+places
+\change_unchanged
+where you cannot insert branch insets,
+
+\change_deleted -495245474 1747223754
+like inside equations,
+
+\change_inserted -495245474 1747223724
+it is useful to define
+\change_deleted -495245474 1747223516
+you can code special \SpecialChar LaTeX
definitions for each branch.
For example you can define for the question branch
\begin_inset Foot
@@ -39580,6 +39594,8 @@ nolink "false"
\begin_layout Standard
+\change_deleted -495245474 1747223516
+
\series bold
\backslash
@@ -39590,6 +39606,8 @@ question}[1]{#1}
\begin_layout Standard
+\change_deleted -495245474 1747223516
+
\series bold
\backslash
@@ -39599,11 +39617,15 @@ answer}[1]{}
\end_layout
\begin_layout Standard
+
+\change_deleted -495245474 1747223516
and for the answer branch
\end_layout
\begin_layout Standard
+\change_deleted -495245474 1747223516
+
\series bold
\backslash
@@ -39614,6 +39636,8 @@ question}[1]{}
\begin_layout Standard
+\change_deleted -495245474 1747223516
+
\series bold
\backslash
@@ -39623,6 +39647,8 @@ answer}[1]{#1}
\end_layout
\begin_layout Standard
+
+\change_deleted -495245474 1747223516
\begin_inset Branch Question
inverted 0
status open
@@ -39658,6 +39684,8 @@ answer}[1]{}
\end_layout
\begin_layout Standard
+
+\change_deleted -495245474 1747223516
\begin_inset Branch Answer
inverted 0
status collapsed
@@ -39693,6 +39721,8 @@ answer}[1]{#1}
\end_layout
\begin_layout Standard
+
+\change_deleted -495245474 1747223516
Now it is possible to use the
\series bold
@@ -39726,8 +39756,16 @@
x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer
\end_layout
\begin_layout Standard
+
+\change_deleted -495245474 1747223516
Inside math,
- the same effect can be achieved using math macros,
+ the same effect can be achieved using
+\change_unchanged
+ math macros
+\change_inserted -495245474 1747223549
+ in branches
+\change_unchanged
+,
see the
\emph on
Math
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs