Difference between revisions of "Command/cite"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \cite") |
|||
Line 1: | Line 1: | ||
<cd:commandgroup name="cite" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | <cd:commandgroup name="cite" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | ||
− | <cd:shortdesc> | + | <cd:shortdesc>The command <tt>\cite</tt> is used for referencing to publications. |
− | The command <tt>\cite</tt> is used for referencing to publications | ||
</cd:shortdesc> | </cd:shortdesc> | ||
<cd:variants> | <cd:variants> | ||
Line 7: | Line 6: | ||
<cd:arguments> | <cd:arguments> | ||
<cd:assignments list="yes" optional="yes" ordinal="1"> | <cd:assignments list="yes" optional="yes" ordinal="1"> | ||
− | <cd:assignmentsdoc></cd:assignmentsdoc> | + | <cd:assignmentsdoc>This is for optional settings.</cd:assignmentsdoc> |
<cd:parameter name="reference"> | <cd:parameter name="reference"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>You can use this instead of the second argument.</cd:paramdoc> |
<cd:constant type="cd:reference"></cd:constant> | <cd:constant type="cd:reference"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="alternative"> | <cd:parameter name="alternative"> | ||
<cd:paramdoc></cd:paramdoc> | <cd:paramdoc></cd:paramdoc> | ||
− | <cd:constant type="default"></cd:constant> | + | <cd:constant type="default">this is the standard behaviour.</cd:constant> |
<cd:constant type="category"></cd:constant> | <cd:constant type="category"></cd:constant> | ||
<cd:constant type="entry"></cd:constant> | <cd:constant type="entry"></cd:constant> | ||
Line 142: | Line 141: | ||
</cd:command> | </cd:command> | ||
</cd:variants> | </cd:variants> | ||
− | <cd:description> | + | <cd:description>{{bug|it seems that the second argument to [[#Settings]] is optional}}</cd:description> |
− | </cd:description> | ||
<cd:examples></cd:examples> | <cd:examples></cd:examples> | ||
<cd:notes></cd:notes> | <cd:notes></cd:notes> | ||
Line 150: | Line 148: | ||
<cd:commandref name="setupbtx" originator="system"></cd:commandref> | <cd:commandref name="setupbtx" originator="system"></cd:commandref> | ||
<cd:source file="publ-ini.mkiv" originator="system"></cd:source> | <cd:source file="publ-ini.mkiv" originator="system"></cd:source> | ||
− | <cd:wikipage originator="system" page="Category:Bibliography"></cd:wikipage></cd:seealso> | + | <cd:wikipage originator="system" page="Category:Bibliography"></cd:wikipage> |
+ | <cd:wikipage page="Bibliography"></cd:wikipage></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 13:44, 10 September 2020
Contents
\cite
Summary
The command \cite is used for referencing to publications.
Settings
\cite[...=...,...][...] | |
reference | reference |
alternative | default category entry short page num textnum year index tag keywords author authoryears authornum authoryear |
before | command |
after | command |
left | command |
right | command |
...=...,... | inherits from \setupbtx |
[...] | reference |
Option | Explanation | ||
---|---|---|---|
This is for optional settings. | |||
reference |
| ||
alternative |
|
Settings alternative
\cite[...][...] | |
[...] | default category entry short page num textnum year index tag keywords author authoryears authornum authoryear |
[...] | reference |
Settings direct
Settings userdata
\cite[...=...,...][...=...,...] | |
reference | reference |
alternative | default category entry short page num textnum year index tag keywords author authoryears authornum authoryear |
before | command |
after | command |
left | command |
right | command |
...=...,... | inherits from \setupbtx |
key | value |