Changes

Jump to navigation Jump to search
242 bytes added ,  17:45, 28 May 2020
< [[Basics]] | [[Bibliography]] >
==General Use==
If you want to refer to any text element, you must first define the target's reference label. All titling commands and a lot of others take one as optional parameter, e.g.
<texcode>
Starting with ConTeXt 2012.06.22, there is a third command: {{cmd|contentreference|[reference][framedsettings]{text}}} which wraps the <code>text</code> argument inside a {{cmd|framed}}. The main difference with {{cmd|textreference}} where the <code>text</code> contains a {{cmd|framed}} itself is that, when interaction is enabled, {{cmd|contentreference}} places the top left of the target area at the top left of the framed box whereas {{cmd|textreference}} uses its baseline.
 
=== showreferences ===
 
You can see [[\showreferences]], when writing a long document with many cross references, to visualize the names given to various nodes.
===Example===
 
<texcode>
\chapter[preface]{Dear Reader}
* [[Cross Referencing]]: Cross references in a (academic) text are either internal (linking to an other point inside the same document) or external (linking to a entity of the bibliography that points to a different document).
* [[Paragraph Referencing]]: The pararef module understands a paragraph as a full closed block of one thought.
 
== Related pages ==
 
* How to access the [[Last Head Number]] in a document
 
{{todo|Describe what the arguments of the commands do and how the commands work}}
{{Getting started navbox}}

Navigation menu