From: Idris Samawi Hamid <ishamid@lamar.colostate.edu>
Subject: RE: bib module: \setupcite macro
Date: Mon, 3 Oct 2005 07:12:51 -0600 [thread overview]
Message-ID: <43441EDF@webmail.colostate.edu> (raw)
Hi Thomas,
>===== Original Message From "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
=====
>Just add an extra pair of braces:
>
>\def\citeyear[#1]{%
> {{\cite[year]}[#1]%
> }%
>}
Ok, does not crash but now I lose the reference completely in the output-(
Best
Idris
================================================
% output=pdf interface=en
\setupwhitespace[big]
\usemodule[bib]
\setuppublications[alternative=apa]
\setuppublications[autohang=yes]
\setuppublications[numbering=no]
\setuppublications[criterium=cite]
\setuppublications[sorttype=bbl]
%
%\setuppublicationlist[totalnumber={},samplesize=,author={\invertedauthor}]
\def\citeyear[#1]{%
{{\cite[year]}[#1]%
}%
}
\input test-bib.bbl
\starttext
\dots as Afghani points out \citeyear[afghani60].
\section{References}{\tfx\setupinterlinespace
{\placepublications}}
\stoptext
================================================
============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
next reply other threads:[~2005-10-03 13:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-03 13:12 Idris Samawi Hamid [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-03 13:23 Idris Samawi Hamid
2005-10-03 13:01 Idris Samawi Hamid
2005-10-03 13:09 ` Taco Hoekwater
2005-10-02 23:12 Idris Samawi Hamid
2005-10-02 23:01 Idris Samawi Hamid
2005-10-03 6:04 ` Thomas A. Schmitz
2005-10-03 8:36 ` Taco Hoekwater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43441EDF@webmail.colostate.edu \
--to=ishamid@lamar.colostate.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).