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.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI 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 B337C2155F for ; Sat, 1 Jun 2024 16:17:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 746FC484458 for ; Sat, 1 Jun 2024 16:17:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=flump.de 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 W6TLEbuYY49t for ; Sat, 1 Jun 2024 16:17:26 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 07F1848446E for ; Sat, 1 Jun 2024 16:17:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 6FC3D484312 for ; Sat, 1 Jun 2024 16:16:57 +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 eNDPMiUNK29A for ; Sat, 1 Jun 2024 16:16:57 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.163.118.210; helo=flump.de; envelope-from=gerion.entrup@flump.de; receiver= Received: from flump.de (flump.de [185.163.118.210]) (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 08E96484310 for ; Sat, 1 Jun 2024 16:16:56 +0200 (CEST) Received: from falbala.localnet (unknown [45.156.240.97]) by flump.de (Postfix) with ESMTPSA id 897FAF68B19 for ; Sat, 1 Jun 2024 16:16:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=flump.de; s=mail; t=1717251416; bh=x9F6TBUUMmBMjx4wBTvn2yOywnUROq90+KbMR61ErIk=; h=From:To:Subject:Date; b=4HQKT9n0V3g+TSY7r6oh8pyPAnTTMKFtlf5IWcmixv/EFrkBiKnxD3OUgs19zox7j TZskTu6zrNkufVL9uxn6YP9iLQa8kITH0t61pHHHBRLs/3YGTnSxo7WNUsyfCc0hVa EzF0GfYzqnxuBZDQ85o9wa35yIl9co92zmjfMNa8= From: Gerion Entrup To: ntg-context mailing list Date: Sat, 01 Jun 2024 16:16:38 +0200 Message-ID: <39399069.10thIPus4b@falbala> MIME-Version: 1.0 Message-ID-Hash: XSRCF6D323X4DQTACVP7MIDR6EFTAYEO X-Message-ID-Hash: XSRCF6D323X4DQTACVP7MIDR6EFTAYEO X-MailFrom: gerion.entrup@flump.de 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] Specify separator within setupbtx for custom bibliography rendering List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============2156911524135135235==" --===============2156911524135135235== Content-Type: multipart/signed; boundary="nextPart3918669.V25eIC5XRa"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart3918669.V25eIC5XRa Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Gerion Entrup To: ntg-context mailing list Date: Sat, 01 Jun 2024 16:16:38 +0200 Message-ID: <39399069.10thIPus4b@falbala> MIME-Version: 1.0 Hi, according to the section "Custom citation renderings" in the bibliography manual, I have specified an own setup for citation rendering. However, this seems only to work for single citations (of one source). I want to also specify the separator but did not get it to run. Here is a minimal example: ``` \setupinteraction[state=start] \startbuffer[testdata] @Book{knuth1, author = {Donald E. Knuth}, title = {TEX and METAFONT. New directions in typesetting}, year = {1979}, publisher = {Addison-Wesley}, } @Article{someother, author = {Some Person and Some Otherperson}, title = {Another title}, year = {1900}, } \stopbuffer % enable tracing \enabletrackers[publications, publications.crossref, publications.details, publications.cite, publications.strings] \usebtxdataset[main][testdata.buffer] \usebtxdefinitions[aps] \setupbtx[dataset=main] \definebtxrendering[bibrendering][aps][dataset=main, numbering=short] \setupbtxlist[aps][ alternative=b, distance=.5em, ] \definebtx[aps:cite:special][aps:cite][ left={((}, right={))}, separator:2={sfd}, separator:3={sfd}, separator:4={sfd}, ] \startsetups btx:aps:cite:special % just a dummy \btxcitereference \currentbtxtag \stopsetups \setupbtx[aps:cite][ alternative=special, ] \starttext Both said something~\cite[knuth1, someother]. \placelistofpublications[bibrendering] \stoptext ``` The output of this is: > Both said something ((knuth1someother)). How can I get the separator to work? My expectation would be: > Both said something ((knuth1sfdsomeother)). or > Both said something ((knuth1sfd someother)). Best, Gerion --nextPart3918669.V25eIC5XRa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEM/tVN9WpYYHnPZHxloeAdSYJHeoFAmZbLUYACgkQloeAdSYJ HepQQQwA1uxvBRCCb7hgzc5IlmVOlyYvDOzpD1ohv3axBHEs2fHtDCx8D2VQf2BR QItIovTSSbAqb/xUREuUpCRlND3su0O6aAKNRKxvwudyq9vDNhmbGMtqzEmSU2kd ze3ifRkeWzam4Ww77CNGy2yo5ujryidA74Ck4qrCcfD8xKaJqgmwJlWYyz3lMnth 922aW+e6IavsWVwqf7Oq3OggBEMJGyvXYnzmyJPEaG4TrSAThmfgsn92mu6wk9pm oYjdn6LDxSCDcGPekanst4glEnJiOEPd1Ppnp6TNnknJfXWp+bUZ2KwiPiyyg4OI XxeSLW6Fv3tOKa/T/++OvEkJd0fC6i6DVuDFHRBV7SEnVFreQg3BE5PECVB1Gzvr nfUWs0Y3sDim7M1TfEX/HiBLRFXsJg155zMf3DgLFxYWs74U7kXq8xIrgW6rD+sV 7pZjzGIIVhXDhRJf5FJi89fmOFRXfHKrKKc5mMrm5u0SUkWER9Xa0kw6YvBPsKYr V+qSLxEJ =5RQJ -----END PGP SIGNATURE----- --nextPart3918669.V25eIC5XRa-- --===============2156911524135135235== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============2156911524135135235==--