aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo Zimmermann2018-01-05 13:06:17 +0100
committerThéo Zimmermann2018-01-05 15:34:28 +0100
commite10b7ebe0eb05c01096d022f6f09e6c1562d5562 (patch)
treeb10693240b506ecaf558b8a95b15d2039c0f3386
parent3a447d83226c4591e796e44933dad8278d97d683 (diff)
Documentation and CHANGES for bracket with goal selector.
-rw-r--r--CHANGES6
-rw-r--r--doc/refman/RefMan-pro.tex9
2 files changed, 15 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index cbaa2c5e23..14b1b3fac6 100644
--- a/CHANGES
+++ b/CHANGES
@@ -38,6 +38,12 @@ Tactics
- Added tactics restart_timer, finish_timing, and time_constr as an
experimental way of timing Ltac's evaluation phase
+Focusing
+
+- Focusing bracket `{` now supports single-numbered goal selector,
+ e.g. `2: {` will focus on the second sub-goal. As usual, unfocus
+ with `}` once the sub-goal is fully solved.
+
Vernacular Commands
- The deprecated Coercion Local, Open Local Scope, Notation Local syntax
diff --git a/doc/refman/RefMan-pro.tex b/doc/refman/RefMan-pro.tex
index 1d3311edc2..2bd50daf31 100644
--- a/doc/refman/RefMan-pro.tex
+++ b/doc/refman/RefMan-pro.tex
@@ -320,10 +320,19 @@ Note that when a focused goal is proved a message is displayed
together with a suggestion about the right bullet or {\tt \}} to
unfocus it or focus the next one.
+\begin{Variants}
+
+\item {\tt {\num}: \{}\\
+This focuses on the $\num^{th}$ subgoal to prove.
+
+\end{Variants}
+
\begin{ErrMsgs}
\item \errindex{This proof is focused, but cannot be unfocused
this way} You are trying to use {\tt \}} but the current subproof
has not been fully solved.
+\item \errindex{No such goal}
+\item \errindex{Brackets only support the single numbered goal selector}
\item see also error message about bullets below.
\end{ErrMsgs}