Difference between revisions of "Command/coupledocument"
< Command
Jump to navigation
Jump to search
(Add description, example, See Also, category) |
m (Typos yay) |
||
Line 22: | Line 22: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
== Description == | == Description == | ||
Together with {{cmd|setuphead}} (see example), this can be used to make the section headings of the document link to the corresponding heads in another version of the document. (E.g., Section 1.2.1 of the screen PDF links to Section 1.2.1 of the print PDF.) | Together with {{cmd|setuphead}} (see example), this can be used to make the section headings of the document link to the corresponding heads in another version of the document. (E.g., Section 1.2.1 of the screen PDF links to Section 1.2.1 of the print PDF.) | ||
− | |||
== Example == | == Example == | ||
Line 35: | Line 33: | ||
[docu-p] % name of paper version | [docu-p] % name of paper version | ||
[chapter,section,subsection] | [chapter,section,subsection] | ||
− | [the printable version] | + | [the printable version] |
\setuphead | \setuphead | ||
Line 41: | Line 39: | ||
[file=alternative] | [file=alternative] | ||
</texcode> | </texcode> | ||
+ | |||
== See also == | == See also == | ||
* {{cmd|setuphead}}, specifically the <code>file=</code> key. | * {{cmd|setuphead}}, specifically the <code>file=</code> key. | ||
Line 48: | Line 47: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category:Command/ | + | [[Category:Command/Interaction|coupledocument]] |
Revision as of 23:25, 21 May 2012
\coupledocument
Syntax
\coupledocument[...][...][...] | |
[...] | name |
[...] | file |
[...] | name |
Description
Together with \setuphead (see example), this can be used to make the section headings of the document link to the corresponding heads in another version of the document. (E.g., Section 1.2.1 of the screen PDF links to Section 1.2.1 of the print PDF.)
Example
From the mailing list.
\coupledocument [alternative] % symbolic name [docu-p] % name of paper version [chapter,section,subsection] [the printable version] \setuphead [chapter,section,subsection] [file=alternative]
See also
- \setuphead, specifically the
file=
key.
Help from ConTeXt-Mailinglist/Forum
All issues with: