Difference between revisions of "Command/cite"

From Wiki
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><!-- a short command summary goes here -->
+
<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><!-- the long description of the command goes here -->
+
<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


\cite

Summary

The command \cite is used for referencing to publications.

Settings

\cite[...=...,...][...]
referencereference
alternativedefault category entry short page num textnum year index tag keywords author authoryears authornum authoryear
beforecommand
aftercommand
leftcommand
rightcommand
...=...,...inherits from \setupbtx
[...]reference

OptionExplanation
This is for optional settings.
reference
You can use this instead of the second argument.
alternative
default this is the standard behaviour.

Settings alternative

\cite[...][...]
[...]default category entry short page num textnum year index tag keywords author authoryears authornum authoryear
[...]reference

Settings direct

\cite{...}
{...}reference

Settings userdata

\cite[...=...,...][...=...,...]
referencereference
alternativedefault category entry short page num textnum year index tag keywords author authoryears authornum authoryear
beforecommand
aftercommand
leftcommand
rightcommand
...=...,...inherits from \setupbtx
keyvalue

Description


Bug report: it seems that the second argument to #Settings is optional (See: Bug List)


Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: