Documentation of Context?

I recently came across the Context vernacular in a Coq development. I gather from context that it is similar to Hypothesis and Variable, but I haven’t actually found any documentation of this command in the reference manual. I am interested in particular in how it differs from those two vernacular commands.

Oops, it turns out I was looking in the wrong section of the manual. Here is the relevant spot in the manual for those wondering the same thing:

Indeed, the documentation is quite out of place: all of this should be documented in the same place, which explains the section mechanism. I just opened an issue about this: If someone wants to take a stab at fixing it, they would be most welcome. We also have another open issue about Context: (Context lacks examples).

BTW, even when things are not documented where there should be, you can quickly locate them by using the indexes. In this case, that would be the command index:

This thread motivated me to make this PR to the manual (adding a reference to Context under Variable):

1 Like