From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id AD50C23F4B for ; Thu, 20 Jun 2024 15:31:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 605174847C1 for ; Thu, 20 Jun 2024 15:30:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=icloud.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iH57IQ79OWEC for ; Thu, 20 Jun 2024 15:30:32 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 23F2F484490 for ; Thu, 20 Jun 2024 15:29:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id E57594841A5 for ; Thu, 20 Jun 2024 15:29:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HLP_-6SJE7Sx for ; Thu, 20 Jun 2024 15:29:17 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=17.58.63.168; helo=st43p00im-zteg10061901.me.com; envelope-from=alan.braslau@icloud.com; receiver= X-Greylist: delayed 521 seconds by postgrey-1.36 at cgl.ntg.nl; Thu, 20 Jun 2024 15:29:17 CEST Received: from st43p00im-zteg10061901.me.com (st43p00im-zteg10061901.me.com [17.58.63.168]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 6F33348418F for ; Thu, 20 Jun 2024 15:29:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1718889635; bh=aIC+fG+wr2sINCWNiIvbw5q3l5+PyfkxGkPTmFh3O58=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; b=R32PZvU91I+Hc9swz8pxFD5IghdjPz0AD1NCrdv+7mT/kwSPH0sNKoVixLOfaj8Ie ecXwNuW/Q37es0+ueg9DgaSG/EAr+YtUc0fq4W5ni64aTcIU24t18Y/5a7XV/gOxWc TWlVOeG8u9CoH5TvOw8hcrEVbBVcfZNAOWkksJbAScq6BPRdUQ2TVcwlysZSybWfa6 u+l+t0ENRXXg4JHtXEWpE/DnEkLd3o5UveQ81iWphH28VfCsBLuOApDhj2byscfhrK h9m4GwJjam5qC2sTHbSl4AkOTw+JOGF008CFtvC8/kH3CqoQjtv4l/qONHUuBJ3+a9 rcJXfnJlBqvog== Received: from [192.168.0.167] (st43p00im-dlb-asmtp-mailmevip.me.com [17.42.251.41]) by st43p00im-zteg10061901.me.com (Postfix) with ESMTPSA id 8768FB4049E; Thu, 20 Jun 2024 13:20:34 +0000 (UTC) Message-ID: Date: Thu, 20 Jun 2024 15:20:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: mailing list for ConTeXt users , Kip Warner References: Content-Language: en-US In-Reply-To: X-Proofpoint-GUID: efuQX97wnvPc7fCJo4C3a_c4HTN39Dv1 X-Proofpoint-ORIG-GUID: efuQX97wnvPc7fCJo4C3a_c4HTN39Dv1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-20_07,2024-06-20_04,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 bulkscore=0 mlxscore=0 adultscore=0 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2406200095 Message-ID-Hash: OWLI7CH2JOQ6UHFAA2XKWWSBRU4TII7Q X-Message-ID-Hash: OWLI7CH2JOQ6UHFAA2XKWWSBRU4TII7Q X-MailFrom: alan.braslau@icloud.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: URL in footnote citation List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Alan Braslau via ntg-context Cc: Alan Braslau Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit Putting the URL as a hyperlink on the cite title is possible. Note that is is not what APA specifies. To do this, you need to modify the rendering definitions. Alan On 20/06/24 20/06/24, 00:03, Kip Warner wrote: > Hello list, > > I am trying to get my references that have URLs to automatically set > the entry title to the URL and not print the URL after it. > > Here is a minimal: > > \startbuffer[testdata] > @Article{wikipedia2024_depeche_mode_sounds_of_the_universe, > author = {{Wikipedia contributors}}, > title = {Sounds of the Universe}, > year = {2024}, > url = {https://en.wikipedia.org/w/index.php?title=Sounds_of_the_Universe&oldid=1224785220}, > note = "[Online; accessed 20-May-2024]" > } > \stopbuffer > > % Setup bibliography... > > % Select References.bib and name it the main database... > \usebtxdataset[main][testdata.buffer] > > % Citation style... > \usebtxdefinitions[apa] > > % Use our main dataset for citations... > \setupbtx[dataset=main] > > \definebtxrendering[main][apa][dataset=main] > > \setupbtxrendering[main][ > pagestate=start, > continue=yes, > numbering=yes] > > % Macro to put the citations as footnotes... > \unexpanded\def\footnotecite{\dodoubleempty\domycite} > \def\domycite[#1][#2]% > {\ifsecondargument > \footnote{\alwayscite[alternative=entry,#1][main::#2]}% > \else > \footnote{\alwayscite[alternative=entry][main::#1]}% > \fi} > > \starttext > Some footnote.\footnotecite[wikipedia2024_depeche_mode_sounds_of_the_universe] > \stoptext > > The footnote renders like so: > > Wikipedia contributors (2024). Sounds of the Universe. Retrieved from > https://en.wikipedia.org/w/index.php?title=Sounds_of_the_Universe&oldid > =1224785220 ([Online; accessed 20-May-2024]) > > It would look much better if it looked like so: > > Wikipedia contributors (2024). Sounds of the Universe. ([Online; > accessed 20-May-2024]) > > ...where "Sounds of the Universe" is linked to the URL in the BibTeX > database. Is this possible to do? > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________