ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* replacement for \getcitedata
@ 2016-07-12  8:51 Michael Eidenbenz
  2016-07-12 14:09 ` Alan BRASLAU
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Eidenbenz @ 2016-07-12  8:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

is there a way to extract data from the bib database to use it in a macro?

something like a replacement for the old \getcitedata

thanks!
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: replacement for \getcitedata
  2016-07-12  8:51 replacement for \getcitedata Michael Eidenbenz
@ 2016-07-12 14:09 ` Alan BRASLAU
  2016-07-12 18:39   ` Michael Eidenbenz
  0 siblings, 1 reply; 4+ messages in thread
From: Alan BRASLAU @ 2016-07-12 14:09 UTC (permalink / raw)
  To: Michael Eidenbenz; +Cc: mailing list for ConTeXt users

On Tue, 12 Jul 2016 10:51:06 +0200
Michael Eidenbenz <privat@eidenbenz.net> wrote:

> is there a way to extract data from the bib database to use it in a
> macro?
> 
> something like a replacement for the old \getcitedata

\cite[title] [Eidenbenz2016]

(Any field can be obtained with this mechanism.)

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: replacement for \getcitedata
  2016-07-12 14:09 ` Alan BRASLAU
@ 2016-07-12 18:39   ` Michael Eidenbenz
  2016-07-12 20:21     ` Alan BRASLAU
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Eidenbenz @ 2016-07-12 18:39 UTC (permalink / raw)
  To: Alan BRASLAU; +Cc: mailing list for ConTeXt users

thanks.
but i'm encountering my old problem:

\externalfigure[\cite[file][Eidenbenz2016]]

gives me an error.
Do I need a lua approach here?

Michael



> On 12 Jul 2016, at 16:09, Alan BRASLAU <alan.braslau@cea.fr> wrote:
> 
> On Tue, 12 Jul 2016 10:51:06 +0200
> Michael Eidenbenz <privat@eidenbenz.net> wrote:
> 
>> is there a way to extract data from the bib database to use it in a
>> macro?
>> 
>> something like a replacement for the old \getcitedata
> 
> \cite[title] [Eidenbenz2016]
> 
> (Any field can be obtained with this mechanism.)
> 
> Alan

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: replacement for \getcitedata
  2016-07-12 18:39   ` Michael Eidenbenz
@ 2016-07-12 20:21     ` Alan BRASLAU
  0 siblings, 0 replies; 4+ messages in thread
From: Alan BRASLAU @ 2016-07-12 20:21 UTC (permalink / raw)
  To: Michael Eidenbenz; +Cc: mailing list for ConTeXt users

On Tue, 12 Jul 2016 20:39:27 +0200
Michael Eidenbenz <privat@eidenbenz.net> wrote:

> but i'm encountering my old problem:
> 
> \externalfigure[\cite[file][Eidenbenz2016]]
> 
> gives me an error.

This is not the right approach, as explained earlier.

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2016-07-12 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-12  8:51 replacement for \getcitedata Michael Eidenbenz
2016-07-12 14:09 ` Alan BRASLAU
2016-07-12 18:39   ` Michael Eidenbenz
2016-07-12 20:21     ` Alan BRASLAU

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