[NTG-context] bib module: \cite with page numbers

Taco Hoekwater taco at elvenkind.com
Thu Feb 17 10:14:08 CET 2005



David Munger wrote:
> Hello,
> 
> Is it possible to get page numbers (or a chapter number) displayed in a
> citation, e.g.

No, but it is fairly simple to fake using the low-level
\cite commands (untested):

   \setupcite[author,year][left=,right=] % disable braces
   \def\citewithpages[#1]#2{% new command
     (\cite[author][#1], \cite[year][#1], #2)%
   }

   \citewithpages[davidson2001]{pp. 163-170}


Greetings, Taco


More information about the ntg-context mailing list