ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Biblatex \crossref equivalent in bibliographies
@ 2019-09-04 19:47 Damien Thiriet
  2019-09-15 14:28 ` Aditya Mahajan
  0 siblings, 1 reply; 2+ messages in thread
From: Damien Thiriet @ 2019-09-04 19:47 UTC (permalink / raw)
  To: ntg-context

Hi,




With biblatex I was using crossref to shorten my .bib files, as can be
seen in this MWE

@periodical{DebatMem2002,
    title = {Le Débat},
    number = {122},
    langid = {french},
    date = {2002}
    }
@article{ChartiersurRicoeur2002,
    author = {Roger Chartier},
    title = {Le passé au présent},
    crossref = {DebatMem2002},
    pages = {4--11}
    }

Which keys should I use to achieve the same under ConTeXt? I found xcrossref
and percentcrossref keys "Bibliographies.  The ConTeXt way" but could'nt figure out
how to use them. Here is my ConTeXt MWE
as a starting point

\language [fr]
\startbuffer [bib]

@periodical{DebatMem2002,
   title = {Le Débat},
   number = {122},
   langid = {french},
   date = {2002}
}
@article{ChartiersurRicoeur2002,
   author = {Roger
   Chartier},
   title = {Le passé au présent},
   xcrossref = {DebatMem2002}, %does not work the way I would expect
   pages = {4--11}
}

\stopbuffer
\usebtxdataset[bib.buffer]
\usebtxdefinitions[apa]
\definebtxrendering
[example][apa]

\starttext
\nocite[ChartiersurRicoeur2002]
\placelistofpublications
\stoptext

Thanks,

Damien Thiriet
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Biblatex \crossref equivalent in bibliographies
  2019-09-04 19:47 Biblatex \crossref equivalent in bibliographies Damien Thiriet
@ 2019-09-15 14:28 ` Aditya Mahajan
  0 siblings, 0 replies; 2+ messages in thread
From: Aditya Mahajan @ 2019-09-15 14:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 958 bytes --]

On Wed, 4 Sep 2019, Damien Thiriet wrote:

> With biblatex I was using crossref to shorten my .bib files, as can be
> seen in this MWE
>
> @periodical{DebatMem2002,
>    title = {Le Débat},
>    number = {122},
>    langid = {french},
>    date = {2002}
>    }
> @article{ChartiersurRicoeur2002,
>    author = {Roger Chartier},
>    title = {Le passé au présent},
>    crossref = {DebatMem2002},
>    pages = {4--11}
>    }
>
> Which keys should I use to achieve the same under ConTeXt? I found xcrossref
> and percentcrossref keys "Bibliographies.  The ConTeXt way" but could'nt figure out
> how to use them. Here is my ConTeXt MWE
> as a starting point

There is the following code related to crossref in 
publ-imp-definitions.mkiv

\startxmlsetups btx:format:crossref
     \cite[\btxfield{crossref}]
\stopxmlsetups

but this doesn't seem to be trigger and doesn't feel like the correct way 
to handle crossrefs.

Aditya

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2019-09-15 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 19:47 Biblatex \crossref equivalent in bibliographies Damien Thiriet
2019-09-15 14:28 ` Aditya Mahajan

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