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

2005-02-18 Thread David Munger
It works pretty well, thanks a lot!

David

Taco Hoekwater wrote :
 
\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}


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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

2005-02-17 Thread Taco Hoekwater

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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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

2005-02-16 Thread David Munger
Hello,

Is it possible to get page numbers (or a chapter number) displayed in a
citation, e.g.

\cite[authoryears]{pp. 163-170}[davidson2001]

and

see \cite[authoryear]{chap. 3}[davidson2001]

would format as:

(Davidson, 2001, pp. 163-170)

and

see Davidson (2001) chap. 3


Thanks for any clue,

David

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context