From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114591 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: A A via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Trying to get a simple bibliography Date: Sat, 26 Mar 2022 14:04:26 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8228704584400223469==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15493"; mail-complaints-to="usenet@ciao.gmane.io" Cc: A A To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 26 14:05:05 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nY66L-0003pA-3o for gctc-ntg-context-518@m.gmane-mx.org; Sat, 26 Mar 2022 14:05:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D11E72A3542; Sat, 26 Mar 2022 14:04:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0AcfSkXp_kUN; Sat, 26 Mar 2022 14:04:39 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6661D2A353D; Sat, 26 Mar 2022 14:04:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8F2242A353A for ; Sat, 26 Mar 2022 14:04:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V2OyGRv9uJkY for ; Sat, 26 Mar 2022 14:04:35 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.45; helo=mail-io1-f45.google.com; envelope-from=amine.aboufirass@gmail.com; receiver= Original-Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 305292A3538 for ; Sat, 26 Mar 2022 14:04:35 +0100 (CET) Original-Received: by mail-io1-f45.google.com with SMTP id p22so11886457iod.2 for ; Sat, 26 Mar 2022 06:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4oAzrnI+oI0iF6rHMuPKnDVQgPgyw21WSVNFWgeJkqU=; b=L5VA3E+Pr86IOT8vbAAW61wRLCm4DdYergNG9JUYQkS4eL8jYS/OC9Pu+t3k+eYWBM EsLbd6jlXsoJwEYKBhbwDQ9ZmMmMao6Ld01faei5/cIxsrWHpjMXHxI9b+dDresvj3k5 jidRPTJDanGF4AJ/8MW38SwBRzL7hKY1k5bNwhgYVDPMwXmkamX2uiGYiMvkDMGyp/nM bCrVxxJynVY7uymfrZknisda9NdVw4iSbOZw4A+uZFKWArD/ehy5/OHcojeGJrdXtBvL FZTn3HJS2600M2bMySRby9w6VPlKw3JhFMKLYAIF52x6xbnCKgbM2rb+4UYa+PFzjgGt Jr/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=4oAzrnI+oI0iF6rHMuPKnDVQgPgyw21WSVNFWgeJkqU=; b=0kb6aqfT2nPm5xh1rJunCcAlliI6uZJklIDnSMO2qOMrvCkdiQbx4Pz43Td5cpLTNC uEr29d5NOjtkF3d/5WQarQ2IQZV6B/PLTvLdEy5G80Hjm8ecHwd1Ms6MI9OmUN3S7CZa IWtuh3W5JaJJ53VYAqEWHDxOtQjZzb2OxkQ0U59esxx9AfbfK8oA7KoXOH3g5vc5iOel PV3GvsAPEj0l+hsLFv+F6QHqlPczVzluvBeDD7bA0rEchM0nDqDRZDkPxAJTqWaP8eRY 4lCHFY6wgcU7DWuInIdyU+JUJq2pMCSrRIXdBFIRioytY22aIb42fLGQXQG2DQdMPw3w EB+w== X-Gm-Message-State: AOAM533jRet4BKB+AaOP0YqWgBfUdOlvKoQzn0jfFUZFKjyInKjfZ7w0 GzNOZnLXr1L6ldUSHbHQsQ2t120jXLyQUdlQWz7F5wvRhZKlyA== X-Google-Smtp-Source: ABdhPJxaDL5Uz5n5uMAvXAQA5m+Pau6sQfUrj1nlyOoolV10ZIbp2R0K4/uGz0KKxwlpt3gT93UsUGxGZfiHjUu8Hc0= X-Received: by 2002:a5d:8898:0:b0:645:e689:3381 with SMTP id d24-20020a5d8898000000b00645e6893381mr1899337ioo.179.1648299874001; Sat, 26 Mar 2022 06:04:34 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:114591 Archived-At: --===============8228704584400223469== Content-Type: multipart/alternative; boundary="00000000000079258b05db1eb8df" --00000000000079258b05db1eb8df Content-Type: text/plain; charset="UTF-8" I found the problem. I was not including the following in my preamble: \usebtxdefinitions[aps] The next question I guess is whether ConTeXt support other specs like MLA or Chicago style. I tried MLA but without sucess. Is MLA possible in ConTeXt? On Sat, 26 Mar 2022 at 13:48, A A wrote: > In my previous email I forgot to include the \placelistofpublications > command. I tried that and now I'm getting a citation, but the bibliography > entry is not correctly typeset... > > On Sat, 26 Mar 2022 at 13:25, A A wrote: > >> Hi All, >> >> I'm trying to get a simple bibliography to work with ConTeXt. Here's what >> I have so far: >> >> *test.tex* >> >> \usebtxdataset[bibliography.bib] >> >> \starttext >> >> \startbodymatter >> See \cite[proofwiki] >> \stopbodymatter >> >> \startbackmatter >> \startsection[title=Bibliography] >> \stopsection >> \stopbackmatter >> \stoptext >> >> *bibliography.bib* >> >> @misc{ >> proofwiki, >> title={{Definition:Collation - ProofWiki}}, >> author={{ProofWiki}}, >> howpublished={ >> \href{https://proofwiki.org/wiki/Definition:Collation}{link} >> }, >> journal={{ProofWiki}}, >> year={2021} >> } >> >> When I compile test.tex it generates a pdf, but the citation is not >> included in the body matter. Also the actual reference is not present in >> Bibliography. >> >> What am I doing wrong? >> >> Regards, >> >> Amine >> >> --00000000000079258b05db1eb8df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I found the problem. I was not including the following in = my preamble:

\usebtxdefinitions[aps]

The next question I gues= s is whether ConTeXt support other specs like MLA or Chicago style. I tried= MLA but without sucess. Is MLA possible in ConTeXt?

On Sat, 26 Mar 2022 at = 13:48, A A <amine.aboufira= ss@gmail.com> wrote:
In my previous email I forgot to include the \= placelistofpublications command. I tried that and now I'm getting a cit= ation, but the bibliography entry is not correctly typeset...

On Sat, 26 Mar= 2022 at 13:25, A A <amine.aboufirass@gmail.com> wrote:
Hi All,

I'm trying to get a simple bibliography to work with ConTeXt. H= ere's what I have so far:

test.tex

\usebtxdataset[bibliography.bib]

\startt= ext
=C2=A0
=C2=A0 \startbodymatter
=C2=A0 =C2=A0 See \cite[proofw= iki]
=C2=A0 \stopbodymatter

=C2=A0 \startbackmatter
=C2=A0 =C2= =A0 \startsection[title=3DBibliography]
=C2=A0 =C2=A0 \stopsection
= =C2=A0 \stopbackmatter
\stoptext

bibli= ography.bib

@misc{
=C2=A0 proofwiki,
= =C2=A0 title=3D{{Definition:Collation - ProofWiki}},
=C2=A0 author=3D{{P= roofWiki}},
=C2=A0 howpublished=3D{
=C2=A0 =C2=A0 \href{= https://proofwiki.org/wiki/Definition:Collation}{link}
=C2=A0 }, =C2=A0 journal=3D{{ProofWiki}},
=C2=A0 year=3D{2021}
}

When I compile test.tex it generates a pdf, but the citatio= n is not included in the body matter. Also the actual reference is not pres= ent in Bibliography.

What am I doing wrong?
<= div>
Regards,

Amine
--00000000000079258b05db1eb8df-- --===============8228704584400223469== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8228704584400223469==--