ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
Subject: Re: bib module: \setupcite macro
Date: Mon, 3 Oct 2005 08:04:40 +0200	[thread overview]
Message-ID: <169D75E2-B11F-4E90-9E00-C270D2CFCEAD@uni-bonn.de> (raw)
In-Reply-To: <4341B250@webmail.colostate.edu>

Just add an extra pair of braces:

\def\citeyear[#1]{%
   {{\cite[year]}[#1]%
   }%
}


Thomas

On Oct 3, 2005, at 1:01 AM, Idris Samawi Hamid wrote:

> My definition for \citeyear crashes. This used to work-)
>
> \def\citeyear[#1]{%
>   {\cite[year][#1]%
>   }%
> }
>

  reply	other threads:[~2005-10-03  6:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-02 23:01 Idris Samawi Hamid
2005-10-03  6:04 ` Thomas A. Schmitz [this message]
2005-10-03  8:36 ` Taco Hoekwater
2005-10-02 23:12 Idris Samawi Hamid
2005-10-03 13:01 Idris Samawi Hamid
2005-10-03 13:09 ` Taco Hoekwater
2005-10-03 13:12 Idris Samawi Hamid
2005-10-03 13:23 Idris Samawi Hamid

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=169D75E2-B11F-4E90-9E00-C270D2CFCEAD@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --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).