# Supporting \\citet{}

**URL:** <https://discourse.citationstyles.org/t/supporting-citet/663>\
**Category:** CSL Development\
**Created:** [June 15, 2009, 10:51pm UTC](https://discourse.citationstyles.org/t/supporting-citet/663 "2009-06-15T22:51:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [June 15, 2009, 10:51pm UTC](https://discourse.citationstyles.org/t/supporting-citet/663/1 "2009-06-15T22:51:30Z")

</div>

I’ve been looking at the “\citet{}” issue raised by a number of  
LaTeXers, and I think it can be supported without too much trouble.  
The CSL ticket is here:

[http://sourceforge.net/tracker/?func=detail&aid=2772639&group\_id=117435&atid=678021](http://sourceforge.net/tracker/?func=detail&aid=2772639&group_id=117435&atid=678021)

No changes would be required to CSL. All that is needed is an API  
option, passed in the same way as the cite locator, for “author-only”,  
as a companion to the (non-CSL) “suppress-author” option. The plugins  
would require an additional radio-button tick-box in the cite preview  
menu: “Citation number/author in text”. This would cause the plugin  
to invoke the processor twice, once with the author-only option, and  
again with the suppress-author option, and place the returned strings  
in the appropriate locations in the document. This processing  
sequence would deliver strings as follows (in the descriptions below,  
“decorations” refers to formatting, but does not include CSL-supplied  
affixes):

- With author-only + suppress-author

\*\* Author-date styles and note styles

author-only  
– returns the result of any names environment in the cite, stripped  
of decorations.  
suppress-author  
– returns the cite less the author name, with decorations (same as current)

\*\* Citation number styles

author-only  
– returns the citation number with the locale string for “Reference”,  
capitalized, plus the reference number stripped of decorations.  
suppress-author  
– returns nothing

- With suppress-author alone

\*\* Author-date styles and note styles

suppress-author  
– returns the cite less the author name, with decorations (same as current)

\*\* Citation number styles

suppress-author  
– returns the citation number, with decorations (same as current)

This isn’t a CSL feature, I think, but I’m raising it here before  
posting on zotero-dev. It would permit Zotero to support citation  
styles common in Chinese publishing, both in English and in Chinese.  
Into the bargain, it would provide support for the \citet{} option for  
the benefit of LaTeX users who would like to have this behavior.

Frank

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [June 16, 2009, 2:18pm UTC](https://discourse.citationstyles.org/t/supporting-citet/663/2 "2009-06-16T14:18:37Z")

</div>

Am not entirely following this (but I like the "no changes to CSL"  
point!), but would just say that we need to consider Andrea’s  
pandoc/markdown use case here. Does this approach also work in a  
markdown extension?

---

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [June 16, 2009, 10:27pm UTC](https://discourse.citationstyles.org/t/supporting-citet/663/3 "2009-06-16T22:27:31Z")

</div>

> Am not entirely following this (but I like the “no changes to CSL”  
> point!), but would just say that we need to consider Andrea’s  
> pandoc/markdown use case here. Does this approach also work in a  
> markdown extension?

I suppose that testing for this use case would be optional, since  
neither suppress-author (currently offered by Zotero) nor author-only  
are represented in the schema.

Frank
