ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Kip Warner <kip@thevertigo.com>
To: Hans Hagen <j.hagen@xs4all.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes
Date: Tue, 18 Jun 2024 18:28:18 -0700	[thread overview]
Message-ID: <5010bcc1dc9f8c6cc94e3ba3a290fc62a8f4df0d.camel@thevertigo.com> (raw)
In-Reply-To: <ee17f118-dde2-4566-8fd4-8333dd93b6cf@xs4all.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2501 bytes --]

On Tue, 2024-06-18 at 18:48 +0200, Hans Hagen wrote:
> then use \alwayscite

Hey Hans. I note that command is not documented (yet) so thank you for
providing that. That works in getting the reference typeset without
having to list all of them.

That at least gets the reference to typeset, but back to the original
issue, it still doesn't typeset correctly. I've managed to come up with
a minimal that displays the garbled reference:

   \startbuffer[testdata]
   @Book{cicero-tuscu2011,
   author     = {Cicéron, Marcus Tullius},
   editor     = {Fohlen, G.},
   publisher  = {Les Belles Lettres},
   title      = {Tusculanes},
   year       = {2011},
   address    = {Paris},
   edition    = {7e tirage},
   isbn       = {9782251010830},
   series     = {œuvres philosophiques},
   volume     = {1},
   ppn_gvk    = {1823774121},
   translator = {Jules Humbert},
   }
   \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[cicero-tuscu2011]
   \stoptext

If I use ConTeXt via https://context-on-web.eu/, which appears to be 
ConTeXt ver: 2022.12.22 22:17 LMTX fmt: 2022.12.23, it works fine and I
see the following in the footnote, as expected:

   1 Cicéron, M. T. (2011). Tusculanes (G. Fohlen, Ed.) (J. Humbert,
   Trans.). (Vol. 1, 7e tirage ed.). Paris: Les Belles Lettres.

But on my machine which has ConTeXt 2023.05.05, I see the following:

   1 internal()Cicéron, M. T. (2011). Tusculanes (G. Fohlen, Ed.) (J.
   Humbert, Trans.). (Vol. 1, 7e tirage ed.). Paris: Les Belles Lettres.
   isbn∶9782251010830

-- 
Kip Warner
OpenPGP signed/encrypted mail preferred
https://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2024-06-19  1:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-17 17:57 [NTG-context] " Kip Warner
2024-06-17 22:54 ` [NTG-context] " Hans Hagen via ntg-context
2024-06-18  0:40   ` Kip Warner
     [not found]     ` <4de46d2f-4b2c-4936-a980-31dbf62e27ac@xs4all.nl>
     [not found]       ` <f94b2ed4da5fd258cd7f3b45191584bfed53c627.camel@thevertigo.com>
2024-06-18 16:48         ` Hans Hagen
2024-06-19  1:28           ` Kip Warner [this message]
2024-06-19  7:24             ` Hans Hagen
2024-06-19 17:30               ` Kip Warner
2024-06-21  0:13             ` Kip Warner
2024-06-21  7:17               ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5010bcc1dc9f8c6cc94e3ba3a290fc62a8f4df0d.camel@thevertigo.com \
    --to=kip@thevertigo.com \
    --cc=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).