Difference between revisions of "Command/about"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \about")
 
m (Use a more descriptive title of the chapter so that it is clear what is being added by \about)
 
(2 intermediate revisions by one other user not shown)
Line 19: Line 19:
 
\starttext
 
\starttext
  
\chapter[myreference]{Chapter 1}
+
\chapter[myreference]{An interesting chapter}
  
 
See \about[myreference] for more information.
 
See \about[myreference] for more information.
Line 31: Line 31:
 
<cd:commandref name="setupreferencing"></cd:commandref>
 
<cd:commandref name="setupreferencing"></cd:commandref>
 
<cd:commandref name="at">to insert the page number of a referenced item.</cd:commandref>
 
<cd:commandref name="at">to insert the page number of a referenced item.</cd:commandref>
<cd:commandref name="in">to insert the number of a referenced item (e.g. figure number).</cd:commandref></cd:seealso>
+
<cd:commandref name="in">to insert the number of a referenced item (e.g. figure number).</cd:commandref>
 +
<cd:commandref name="setupinteraction">to control the color and contrast color of interactive links.</cd:commandref>
 +
<cd:commandref name="ref"></cd:commandref></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 23:33, 26 February 2024


\about

Summary

The command \about is used for textual references

Settings

\about[...]
[...]reference

Description

The command \about provides the complete title of a referenced block of text (e.g. chapter's title). The title is in quotation marks by default, but these surrounding elements can be changed with the left and right options of \setupreferencing.

Examples

Example 1

To get the chapter's title the reference myreference is used.

\starttext

\chapter[myreference]{An interesting chapter}

See \about[myreference] for more information.

\stoptext

produces

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: