From cbd251f4749241bbf722fe538cb42dd6edef8c1c Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 3 Oct 2024 15:20:48 +0200 Subject: Tweak docs (#5089) --- docs/reference/context.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/reference') diff --git a/docs/reference/context.md b/docs/reference/context.md index 0ea88975..bdd520f5 100644 --- a/docs/reference/context.md +++ b/docs/reference/context.md @@ -59,12 +59,12 @@ context is known. The body of a context expression may be evaluated zero, one, or multiple times, depending on how many different places it is put into. ## Location context -Context cannot only give us access to set rule values. It can also let us know -_where_ in the document we currently are, relative to other elements, and -absolutely on the pages. We can use this information to create very flexible -interactions between different document parts. This underpins features like -heading numbering, the table of contents, or page headers dependent on section -headings. +We've already seen that context gives us access to set rule values. But it can +do more: It also lets us know _where_ in the document we currently are, relative +to other elements, and absolutely on the pages. We can use this information to +create very flexible interactions between different document parts. This +underpins features like heading numbering, the table of contents, or page +headers dependent on section headings. Some functions like [`counter.get`]($counter.get) implicitly access the current location. In the example below, we want to retrieve the value of the heading -- cgit v1.2.3