Re: Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes
On Tue, 2024-06-18 at 18:16 +0200, Hans Hagen wrote:
you need to place a list in order to get some ref
Is there no way to use references without having to list the entire bibliography?
On 6/18/2024 6:38 PM, Kip Warner wrote: then use \alwayscite % hidden : mark for list, don't show in text % list : mark for list, show in text only when in list % text : not to list, show in text % always : mark for list, show in text ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
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
On 6/19/2024 3:28 AM, Kip Warner wrote:
But on my machine which has ConTeXt 2023.05.05, I see the following:
so best update then ... a while ago we had some addition for references and that involved an extra argument someplace which is what you see ... seems to be solved in the meantime, if not i'll look at it (i assume you use the installer) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On Wed, 2024-06-19 at 09:24 +0200, Hans Hagen wrote:
so best update then ... a while ago we had some addition for references and that involved an extra argument someplace which is what you see ... seems to be solved in the meantime, if not i'll look at it
(i assume you use the installer)
I use the Debian packages that ship with Ubuntu Noble (24.04). I'm a bit reluctant to install outside of the package manager's stewardship of the FHS, but might have to. -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com
On Tue, 2024-06-18 at 18:28 -0700, Kip Warner wrote:
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.
Thank you Hans for documenting: https://wiki.contextgarden.net/Command/alwayscite -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com
On 6/21/2024 2:13 AM, Kip Warner wrote:
On Tue, 2024-06-18 at 18:28 -0700, Kip Warner wrote:
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.
Thank you Hans for documenting:
https://wiki.contextgarden.net/Command/alwayscite You have to thank someone else for that effort.
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Kip Warner