RE: [NTG-context] bib module: \setupcite macro
![](https://secure.gravatar.com/avatar/4d93e6d89c1355aade84cc5c1d6a2065.jpg?s=120&d=mm&r=g)
Hi Taco,
===== Original Message From Taco Hoekwater
===== My definition for \citeyear crashes. This used to work-)
First: this problem is caused by the fact that year citations are by default uncompressed. if year compression is turned on, then different code is used, and the problem never happens.
Please forgive my cluelessness, but what is "year compression" and how do I turn it on? Best Idris ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Idris Samawi Hamid wrote:
Hi Taco,
===== Original Message From Taco Hoekwater
===== My definition for \citeyear crashes. This used to work-)
First: this problem is caused by the fact that year citations are by default uncompressed. if year compression is turned on, then different code is used, and the problem never happens.
Please forgive my cluelessness, but what is "year compression" and how do I turn it on?
\setupcite[year][compress=yes] It is supposed to work similar to compression for author-year combinations (where it already is turned on by default), so that if you do \cite[year][johhnson1,smithson2] and both were published in the same year, you get only one year typeset instead of two. Whether or not that makes sense is another issue, the feature came 'free' with the author-year variant where it sometimes really does make sense to compress the typeset data. Cheers, Taco PS I've seen the rest of your comments as well, but no chance of doing something with them today.
participants (2)
-
Idris Samawi Hamid
-
Taco Hoekwater