Re: [NTG-context] BibTeX again: citing without parenthesis

2009-01-29 Thread J.A.J. Pater
\citep[see][]{jon90} --(see Jones et al., 1990) \citep[see][chap. 2]{jon90} --(see Jones et al., 1990, chap. 2) I guess you could do that with \def\citep[#1][#2][#3]{#1\ \citealt[#3], #2} or something like that... Guess it would be nice to have

Re: [NTG-context] BibTeX again: citing without parenthesis

2009-01-29 Thread Pau
thanks for the answer; unfortunately it does not work; it protests about a runaway argument... If somebody has a fix for this, please let me know as soon as possible Pau 2009/1/29 J.A.J. Pater jajpa...@gmail.com: \citep[see][]{jon90} --(see Jones et al., 1990)

Re: [NTG-context] BibTeX again: citing without parenthesis

2009-01-29 Thread Taco Hoekwater
Pau wrote: thanks for the answer; unfortunately it does not work; it protests about a runaway argument... If somebody has a fix for this, please let me know as soon as possible Another [] vs {} mixup. Correct usage is \citep[see][chap. 2][jon90] Best wishes, Taco

[NTG-context] BibTeX again: citing without parenthesis

2009-01-28 Thread J.A.J. Pater
The wiki suggests to make a macro: \def\onlinecite#1{\cite[left=,right=][#1]} for inline citations. However it says you can use this macro with: \onlinecite[myRef] It works for me with: \onlinecite{myRef} But not with \onlinecite[myRef] for in that case it produces: Xx, myRef]

Re: [NTG-context] BibTeX again: citing without parenthesis

2009-01-28 Thread Aditya Mahajan
On Wed, 28 Jan 2009, J.A.J. Pater wrote: I think I've got it. The macro should be: \def\onlinecite[#1]{\cite[left=,right=][#1]} - with [] around the first #1 now \onlinecite[myRef] works You can remove the redunent [#1] from both sides. \def\onlinecite{\cite[left=,right=]} Aditya

Re: [NTG-context] BibTeX again: citing without parenthesis

2009-01-28 Thread Pau
nice! I have defined this to \def\citealt{\cite[left=,right=]} for the equivalent what's the equivalent in ConTeXt of citep?? 2009/1/29 Aditya Mahajan adit...@umich.edu: On Wed, 28 Jan 2009, J.A.J. Pater wrote: I think I've got it. The macro should be:

Re: [NTG-context] BibTeX again: citing without parenthesis

2009-01-28 Thread Aditya Mahajan
On Thu, 29 Jan 2009, Pau wrote: nice! I have defined this to \def\citealt{\cite[left=,right=]} for the equivalent what's the equivalent in ConTeXt of citep?? What is \citep supposed to do? Aditya ___ If your