ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* inserting additional text into BibTeX  cites
@ 2003-02-03 13:04 Adam Lindsay
  2003-02-03 13:28 ` Eckhart Guthöhrlein
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Lindsay @ 2003-02-03 13:04 UTC (permalink / raw)


Hi m-bib users,

I might have overlooked this, but how can I insert "arbitrary" text
inside a \cite[]?
I want to put page numbers inside the occasional citation (for verbatim
quotations).

I currently cite in authoryears format (Hoekwater, 1999), but for some
citations would like to insert text of the form (Hoekwater, 1999, pp. 5--9).

Can it be done? What have I ignored?

Thanks,
adam

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: inserting additional text into BibTeX  cites
  2003-02-03 13:04 inserting additional text into BibTeX cites Adam Lindsay
@ 2003-02-03 13:28 ` Eckhart Guthöhrlein
  2003-02-03 13:43   ` Adam Lindsay
  0 siblings, 1 reply; 3+ messages in thread
From: Eckhart Guthöhrlein @ 2003-02-03 13:28 UTC (permalink / raw)


On Monday 03 February 2003 14:04, Adam Lindsay wrote:
> I might have overlooked this, but how can I insert "arbitrary" text
> inside a \cite[]?
> I want to put page numbers inside the occasional citation (for verbatim
> quotations).
>
> I currently cite in authoryears format (Hoekwater, 1999), but for some
> citations would like to insert text of the form (Hoekwater, 1999, pp.
> 5--9).
>
> Can it be done? What have I ignored?

Some time ago, I have used

\def\citeplus[#1][#2][#3]{%
   {%
      \setupcite[#1][right={, #3)}]%
      \cite[#1][#2]%
   }%
}

See \citeplus[authoryears][Miller89][pp.~7--10].

Eckhart

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: inserting additional text into BibTeX  cites
  2003-02-03 13:28 ` Eckhart Guthöhrlein
@ 2003-02-03 13:43   ` Adam Lindsay
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Lindsay @ 2003-02-03 13:43 UTC (permalink / raw)


Eckhart,

That seems very usable to me. Thanks!

adam

Eckhart Guthöhrlein said this at Mon, 3 Feb 2003 14:28:22 +0100:

>On Monday 03 February 2003 14:04, Adam Lindsay wrote:
>> I might have overlooked this, but how can I insert "arbitrary" text
>> inside a \cite[]?
>> I want to put page numbers inside the occasional citation (for verbatim
>> quotations).
>>
>> I currently cite in authoryears format (Hoekwater, 1999), but for some
>> citations would like to insert text of the form (Hoekwater, 1999, pp.
>> 5--9).
>>
>> Can it be done? What have I ignored?
>
>Some time ago, I have used
>
>\def\citeplus[#1][#2][#3]{%
>   {%
>      \setupcite[#1][right={, #3)}]%
>      \cite[#1][#2]%
>   }%
>}
>
>See \citeplus[authoryears][Miller89][pp.~7--10].
>
>Eckhart
>
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-03 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-03 13:04 inserting additional text into BibTeX cites Adam Lindsay
2003-02-03 13:28 ` Eckhart Guthöhrlein
2003-02-03 13:43   ` Adam Lindsay

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).