From: Kip Warner <kip@thevertigo.com>
To: Hans Hagen <j.hagen@freedom.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: Mon, 17 Jun 2024 17:40:01 -0700 [thread overview]
Message-ID: <efd5a9caf8fc3542cc752cf381e9d377843d7a96.camel@thevertigo.com> (raw)
In-Reply-To: <953f23d2-0ddf-4444-9497-a05bff2116dc@freedom.nl>
[-- Attachment #1.1: Type: text/plain, Size: 1778 bytes --]
On Tue, 2024-06-18 at 00:54 +0200, Hans Hagen wrote:
> complete example needed
>
> - tex file
> - bib file
Hello Hans,
While trying to prepare a minimal for you I noticed that now all of my
footnotes disappear. Here is a minimal using the buffer method so there
is only one file:
\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{\cite[alternative=entry,#1][main::#2]}%
\else
\footnote{\cite[alternative=entry][main::#1]}%
\fi}
\starttext
Some footnote here.\footnotecite[cicero-tuscu2011]
\stoptext
--
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-06-18 0:42 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 [this message]
[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
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=efd5a9caf8fc3542cc752cf381e9d377843d7a96.camel@thevertigo.com \
--to=kip@thevertigo.com \
--cc=j.hagen@freedom.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).