* Bib support broken in lmtx
@ 2020-12-25 17:36 Philipp A.
2020-12-25 18:11 ` denis.maier
0 siblings, 1 reply; 8+ messages in thread
From: Philipp A. @ 2020-12-25 17:36 UTC (permalink / raw)
To: ConTeXt Mailing List
[-- Attachment #1.1: Type: text/plain, Size: 5458 bytes --]
Hi! A pretty minimal document using a bibliography is broken for me:
test.lmtx:
\enableregime[utf-8]
\mainlanguage[en]
\usebtxdataset[default][test.bib]
\setupbtx[dataset=default]
\usebtxdefinitions[apa]
\starttext
\cite[authoryear][angerer2016]
%\placelistofpublications[default][method=dataset]
\stoptext
test.bib:
@Article{ angerer2016,
author = {Angerer, Philipp and Haghverdi, Laleh and B{\"{u}}ttner, Maren
and Theis, Fabian J and Marr, Carsten and Buettner, Florian},
doi = {10.1093/bioinformatics/btv715},
issn = {14602059},
journal = {Bioinformatics},
language = {en},
number = {8},
pages = {1241--1243},
title = {{Destiny: Diffusion maps for large-scale single-cell data in R}},
url = {
http://bioinformatics.oxfordjournals.org/lookup/doi/10.1093/bioinformatics/btv715
files/103/Angerer et al. - 2016 - destiny diffusion maps for large-scale
single-cel.pdf},
volume = {32},
year = {2016}
}
This log occurs:
❯ context test.lmtx
resolvers | formats | executing runner 'run luametatex format':
~/Library/ConTeXt/tex/texmf-osx-64/bin/luametatex --jobname="test"
--fmt=~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
--lua=~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
--c:currentrun=1 --c:fulljobname="./test.lmtx" --c:input="./test.lmtx"
--c:kindofrun=1 --c:maxnofruns=9
--c:texmfbinpath="~/Library/ConTeXt/tex/texmf-osx-64/bin"
system >
system > ConTeXt ver: 2020.12.24 17:30 LMTX fmt: 2020.12.25
int: english/english
system >
system > 'cont-new.mkxl' loaded
open source > level 1, order 1, name
'~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > beware: some patches loaded from cont-new.mkiv
close source > level 1, order 1, name
'~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > files > jobname 'test', input './test.lmtx', result 'test'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 1, order 2, name './test.lmtx'
*publications > adding bib data to set 'default' from source 'test.bib'*
open source > level 2, order 3, name
~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi'
close source > level 2, order 3, name
'~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
*publications > analyzing previous publication run for
'default'publications > no entry 'angerer2016' found in dataset
'default'*
backend > xmp > using file
'~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
close source > level 1, order 3, name './test.lmtx'
mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path:
~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > resource resolver: loadtime 0.004 seconds, 0 scans with
scantime 0.000 seconds, 0 shared scans, 13 found files, scanned paths:
<none>
mkiv lua stats > stored bytecode data: 476 modules (0.204 sec), 95 tables
(0.012 sec), 571 chunks (0.216 sec)
mkiv lua stats > traced context: maxstack: 1517, freed: 0, unreachable:
1517
mkiv lua stats > cleaned up reserved nodes: 58 nodes, 435 lists of 434
mkiv lua stats > node memory usage: 6 attribute, 3 attribute_list, 1 glue,
36 glue_spec, 3 kern, 2 penalty, 1 temp, 1 whatsit
mkiv lua stats > node list callback tasks: 8 unique task lists, 7
instances (re)created, 38 calls
mkiv lua stats > used backend: pdf (backend for directly generating pdf
output)
mkiv lua stats > jobdata time: 0.001 seconds saving, 0.001 seconds loading
mkiv lua stats > callbacks: internal: 0, file: 0, direct: 0, late: 0,
function 0, total: 0 (0 per page)
mkiv lua stats > randomizer: resumed with value 0.37495928832999
mkiv lua stats > loaded patterns: en::1, load time: 0.000
mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf,
lmroman12-regular.otf
mkiv lua stats > font engine: otf 3.112, afm 1.513, tfm 1.000, 7
instances, 3 shared in backend, 3 common vectors, 0 common hashes, load
time 0.156 seconds
*mkiv lua stats > publications load time: 0.004 seconds, 1396 bytes, 1
definitions, 0 shortcuts*
mkiv lua stats > font embedding time: 0.006 seconds, 1 fonts
mkiv lua stats > result saved in file: test.pdf, compresslevel 1,
objectcompresslevel 3
mkiv lua stats > used platform: osx-64, type: unix, binary subtree:
texmf-osx-64
mkiv lua stats > used engine: luametatex version: 2.0808, functionality
level: 20201222, format id: 551, compiler: clang
mkiv lua stats > tex properties: 740027 hash slots used of 2097152, 45811
control sequences, approximate memory usage: 28 MB
mkiv lua stats > lua properties: engine: lua 5.4, used memory: 45 MB, ctx:
43 MB, max: 46 MB, symbol mask: utf (τεχ)
mkiv lua stats > runtime: 0.457 seconds, 1 processed pages, 1 shipped
pages, 2.190 pages/second
system | total runtime: 0.474 seconds of 0.529 seconds
Best, Phil
[-- Attachment #1.2: Type: text/html, Size: 10145 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bib support broken in lmtx
2020-12-25 17:36 Bib support broken in lmtx Philipp A.
@ 2020-12-25 18:11 ` denis.maier
2020-12-26 10:29 ` Philipp A.
0 siblings, 1 reply; 8+ messages in thread
From: denis.maier @ 2020-12-25 18:11 UTC (permalink / raw)
To: ntg-context
Don't know if that's related, but you should probably removethe space before the key in your bibfile.
________________________________________
Von: ntg-context <ntg-context-bounces@ntg.nl> im Auftrag von Philipp A. <flying-sheep@web.de>
Gesendet: Freitag, 25. Dezember 2020 18:36:33
An: ConTeXt Mailing List
Betreff: [NTG-context] Bib support broken in lmtx
Hi! A pretty minimal document using a bibliography is broken for me:
test.lmtx:
\enableregime[utf-8]
\mainlanguage[en]
\usebtxdataset[default][test.bib]
\setupbtx[dataset=default]
\usebtxdefinitions[apa]
\starttext
\cite[authoryear][angerer2016]
%\placelistofpublications[default][method=dataset]
\stoptext
test.bib:
@Article{ angerer2016,
author = {Angerer, Philipp and Haghverdi, Laleh and B{\"{u}}ttner, Maren and Theis, Fabian J and Marr, Carsten and Buettner, Florian},
doi = {10.1093/bioinformatics/btv715},
issn = {14602059},
journal = {Bioinformatics},
language = {en},
number = {8},
pages = {1241--1243},
title = {{Destiny: Diffusion maps for large-scale single-cell data in R}},
url = {http://bioinformatics.oxfordjournals.org/lookup/doi/10.1093/bioinformatics/btv715 files/103/Angerer et al. - 2016 - destiny diffusion maps for large-scale single-cel.pdf},
volume = {32},
year = {2016}
}
This log occurs:
❯ context test.lmtx
resolvers | formats | executing runner 'run luametatex format': ~/Library/ConTeXt/tex/texmf-osx-64/bin/luametatex --jobname="test" --fmt=~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./test.lmtx" --c:input="./test.lmtx" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="~/Library/ConTeXt/tex/texmf-osx-64/bin"
system >
system > ConTeXt ver: 2020.12.24 17:30 LMTX fmt: 2020.12.25 int: english/english
system >
system > 'cont-new.mkxl' loaded
open source > level 1, order 1, name '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > beware: some patches loaded from cont-new.mkiv
close source > level 1, order 1, name '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > files > jobname 'test', input './test.lmtx', result 'test'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 1, order 2, name './test.lmtx'
publications > adding bib data to set 'default' from source 'test.bib'
open source > level 2, order 3, name ~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi'
close source > level 2, order 3, name '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
publications > analyzing previous publication run for 'default'
publications > no entry 'angerer2016' found in dataset 'default'
backend > xmp > using file '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
close source > level 1, order 3, name './test.lmtx'
mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path: ~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > resource resolver: loadtime 0.004 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 13 found files, scanned paths: <none>
mkiv lua stats > stored bytecode data: 476 modules (0.204 sec), 95 tables (0.012 sec), 571 chunks (0.216 sec)
mkiv lua stats > traced context: maxstack: 1517, freed: 0, unreachable: 1517
mkiv lua stats > cleaned up reserved nodes: 58 nodes, 435 lists of 434
mkiv lua stats > node memory usage: 6 attribute, 3 attribute_list, 1 glue, 36 glue_spec, 3 kern, 2 penalty, 1 temp, 1 whatsit
mkiv lua stats > node list callback tasks: 8 unique task lists, 7 instances (re)created, 38 calls
mkiv lua stats > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats > jobdata time: 0.001 seconds saving, 0.001 seconds loading
mkiv lua stats > callbacks: internal: 0, file: 0, direct: 0, late: 0, function 0, total: 0 (0 per page)
mkiv lua stats > randomizer: resumed with value 0.37495928832999
mkiv lua stats > loaded patterns: en::1, load time: 0.000
mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats > font engine: otf 3.112, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.156 seconds
mkiv lua stats > publications load time: 0.004 seconds, 1396 bytes, 1 definitions, 0 shortcuts
mkiv lua stats > font embedding time: 0.006 seconds, 1 fonts
mkiv lua stats > result saved in file: test.pdf, compresslevel 1, objectcompresslevel 3
mkiv lua stats > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats > used engine: luametatex version: 2.0808, functionality level: 20201222, format id: 551, compiler: clang
mkiv lua stats > tex properties: 740027 hash slots used of 2097152, 45811 control sequences, approximate memory usage: 28 MB
mkiv lua stats > lua properties: engine: lua 5.4, used memory: 45 MB, ctx: 43 MB, max: 46 MB, symbol mask: utf (τεχ)
mkiv lua stats > runtime: 0.457 seconds, 1 processed pages, 1 shipped pages, 2.190 pages/second
system | total runtime: 0.474 seconds of 0.529 seconds
Best, Phil
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bib support broken in lmtx
2020-12-25 18:11 ` denis.maier
@ 2020-12-26 10:29 ` Philipp A.
2020-12-26 11:38 ` Hans Hagen
2021-01-03 12:30 ` Philipp A.
0 siblings, 2 replies; 8+ messages in thread
From: Philipp A. @ 2020-12-26 10:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 7601 bytes --]
Thank you, but whitespace is ignored in .bib file syntax. To prove that
whitespace handling isn’t the bug, just try accessing it:
\startluacode
local current = publications.datasets.default
tex.print('\\starttyping')
tex.print(table.serialize(current.luadata))
-- to show that the key doesn’t contain weird invisible characters, I’ll
type it here:
tex.print(table.serialize(current.luadata.angerer2016))
tex.print('\\stoptyping')
\stopluacode
will display:
t={
["angerer2016"]={
["author"]="Angerer...",
["category"]="article",
...
},
}
t={
["author"]="Angerer...",
["category"]="article",
...
}
*Another thing*: Uncommenting the \placelistofpublications makes it work,
but not in my real document. I didn’t go through the trouble of reproducing
when *that* stops working, as I think the root cause can probably be found
with my minimal example.
Best, Phil
Am Fr., 25. Dez. 2020 um 19:24 Uhr schrieb <denis.maier@ub.unibe.ch>:
> Don't know if that's related, but you should probably removethe space
> before the key in your bibfile.
> ________________________________________
> Von: ntg-context <ntg-context-bounces@ntg.nl> im Auftrag von Philipp A. <
> flying-sheep@web.de>
> Gesendet: Freitag, 25. Dezember 2020 18:36:33
> An: ConTeXt Mailing List
> Betreff: [NTG-context] Bib support broken in lmtx
>
> Hi! A pretty minimal document using a bibliography is broken for me:
>
> test.lmtx:
> \enableregime[utf-8]
> \mainlanguage[en]
>
> \usebtxdataset[default][test.bib]
> \setupbtx[dataset=default]
> \usebtxdefinitions[apa]
>
> \starttext
>
> \cite[authoryear][angerer2016]
>
> %\placelistofpublications[default][method=dataset]
>
> \stoptext
>
> test.bib:
> @Article{ angerer2016,
> author = {Angerer, Philipp and Haghverdi, Laleh and B{\"{u}}ttner, Maren
> and Theis, Fabian J and Marr, Carsten and Buettner, Florian},
> doi = {10.1093/bioinformatics/btv715},
> issn = {14602059},
> journal = {Bioinformatics},
> language = {en},
> number = {8},
> pages = {1241--1243},
> title = {{Destiny: Diffusion maps for large-scale single-cell data in R}},
> url = {
> http://bioinformatics.oxfordjournals.org/lookup/doi/10.1093/bioinformatics/btv715
> files/103/Angerer et al. - 2016 - destiny diffusion maps for large-scale
> single-cel.pdf},
> volume = {32},
> year = {2016}
> }
>
> This log occurs:
>
> ❯ context test.lmtx
> resolvers | formats | executing runner 'run luametatex format':
> ~/Library/ConTeXt/tex/texmf-osx-64/bin/luametatex --jobname="test"
> --fmt=~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
> --lua=~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
> --c:currentrun=1 --c:fulljobname="./test.lmtx" --c:input="./test.lmtx"
> --c:kindofrun=1 --c:maxnofruns=9
> --c:texmfbinpath="~/Library/ConTeXt/tex/texmf-osx-64/bin"
> system >
> system > ConTeXt ver: 2020.12.24 17:30 LMTX fmt: 2020.12.25
> int: english/english
> system >
> system > 'cont-new.mkxl' loaded
> open source > level 1, order 1, name
> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
> system > beware: some patches loaded from cont-new.mkiv
> close source > level 1, order 1, name
> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
> system > files > jobname 'test', input './test.lmtx', result
> 'test'
> fonts > latin modern fonts are not preloaded
> languages > language 'en' is active
> open source > level 1, order 2, name './test.lmtx'
> publications > adding bib data to set 'default' from source 'test.bib'
> open source > level 2, order 3, name
> ~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi'
> close source > level 2, order 3, name
> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi'
> fonts > preloading latin modern fonts (second stage)
> fonts > 'fallback modern-designsize rm 12pt' is loaded
> publications > analyzing previous publication run for 'default'
> publications > no entry 'angerer2016' found in dataset 'default'
> backend > xmp > using file
> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
> pages > flushing realpage 1, userpage 1, subpage 1
> close source > level 1, order 3, name './test.lmtx'
>
> mkiv lua stats > used config file:
> selfautoparent:/texmf/web2c/texmfcnf.lua
> mkiv lua stats > used cache path:
> ~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
> mkiv lua stats > resource resolver: loadtime 0.004 seconds, 0 scans with
> scantime 0.000 seconds, 0 shared scans, 13 found files, scanned paths:
> <none>
> mkiv lua stats > stored bytecode data: 476 modules (0.204 sec), 95 tables
> (0.012 sec), 571 chunks (0.216 sec)
> mkiv lua stats > traced context: maxstack: 1517, freed: 0, unreachable:
> 1517
> mkiv lua stats > cleaned up reserved nodes: 58 nodes, 435 lists of 434
> mkiv lua stats > node memory usage: 6 attribute, 3 attribute_list, 1
> glue, 36 glue_spec, 3 kern, 2 penalty, 1 temp, 1 whatsit
> mkiv lua stats > node list callback tasks: 8 unique task lists, 7
> instances (re)created, 38 calls
> mkiv lua stats > used backend: pdf (backend for directly generating pdf
> output)
> mkiv lua stats > jobdata time: 0.001 seconds saving, 0.001 seconds loading
> mkiv lua stats > callbacks: internal: 0, file: 0, direct: 0, late: 0,
> function 0, total: 0 (0 per page)
> mkiv lua stats > randomizer: resumed with value 0.37495928832999
> mkiv lua stats > loaded patterns: en::1, load time: 0.000
> mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf,
> lmroman12-regular.otf
> mkiv lua stats > font engine: otf 3.112, afm 1.513, tfm 1.000, 7
> instances, 3 shared in backend, 3 common vectors, 0 common hashes, load
> time 0.156 seconds
> mkiv lua stats > publications load time: 0.004 seconds, 1396 bytes, 1
> definitions, 0 shortcuts
> mkiv lua stats > font embedding time: 0.006 seconds, 1 fonts
> mkiv lua stats > result saved in file: test.pdf, compresslevel 1,
> objectcompresslevel 3
> mkiv lua stats > used platform: osx-64, type: unix, binary subtree:
> texmf-osx-64
> mkiv lua stats > used engine: luametatex version: 2.0808, functionality
> level: 20201222, format id: 551, compiler: clang
> mkiv lua stats > tex properties: 740027 hash slots used of 2097152, 45811
> control sequences, approximate memory usage: 28 MB
> mkiv lua stats > lua properties: engine: lua 5.4, used memory: 45 MB,
> ctx: 43 MB, max: 46 MB, symbol mask: utf (τεχ)
> mkiv lua stats > runtime: 0.457 seconds, 1 processed pages, 1 shipped
> pages, 2.190 pages/second
> system | total runtime: 0.474 seconds of 0.529 seconds
>
> Best, Phil
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 11262 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bib support broken in lmtx
2020-12-26 10:29 ` Philipp A.
@ 2020-12-26 11:38 ` Hans Hagen
2021-01-03 12:30 ` Philipp A.
1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2020-12-26 11:38 UTC (permalink / raw)
To: mailing list for ConTeXt users, Philipp A.
On 12/26/2020 11:29 AM, Philipp A. wrote:
> Thank you, but whitespace is ignored in .bib file syntax. To prove that
> whitespace handling isn’t the bug, just try accessing it:
A \cite is a reference ... without list it doesn't reference anything.
The \cite command puts a anchor in the text stream so that we can link
that blob with the list.
A non referenced variant is:
\alwayscite[authoryear][angerer2016]
(there are more variants). So, it's actually a feature, not a bug.
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bib support broken in lmtx
2020-12-26 10:29 ` Philipp A.
2020-12-26 11:38 ` Hans Hagen
@ 2021-01-03 12:30 ` Philipp A.
2021-01-03 13:04 ` Hans Hagen
2021-01-30 9:50 ` Philipp A.
1 sibling, 2 replies; 8+ messages in thread
From: Philipp A. @ 2021-01-03 12:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 8036 bytes --]
So, where do I go with this?
Can nobody reproduce it? Should I submit it to the bug tracker? How can I
help to get this resolved?
Am Sa., 26. Dez. 2020 um 11:29 Uhr schrieb Philipp A. <flying-sheep@web.de>:
> Thank you, but whitespace is ignored in .bib file syntax. To prove that
> whitespace handling isn’t the bug, just try accessing it:
>
> \startluacode
> local current = publications.datasets.default
> tex.print('\\starttyping')
> tex.print(table.serialize(current.luadata))
> -- to show that the key doesn’t contain weird invisible characters, I’ll
> type it here:
> tex.print(table.serialize(current.luadata.angerer2016))
> tex.print('\\stoptyping')
> \stopluacode
>
> will display:
>
> t={
> ["angerer2016"]={
> ["author"]="Angerer...",
> ["category"]="article",
> ...
> },
> }
> t={
> ["author"]="Angerer...",
> ["category"]="article",
> ...
> }
>
> *Another thing*: Uncommenting the \placelistofpublications makes it work,
> but not in my real document. I didn’t go through the trouble of reproducing
> when *that* stops working, as I think the root cause can probably be
> found with my minimal example.
>
> Best, Phil
>
> Am Fr., 25. Dez. 2020 um 19:24 Uhr schrieb <denis.maier@ub.unibe.ch>:
>
>> Don't know if that's related, but you should probably removethe space
>> before the key in your bibfile.
>> ________________________________________
>> Von: ntg-context <ntg-context-bounces@ntg.nl> im Auftrag von Philipp A. <
>> flying-sheep@web.de>
>> Gesendet: Freitag, 25. Dezember 2020 18:36:33
>> An: ConTeXt Mailing List
>> Betreff: [NTG-context] Bib support broken in lmtx
>>
>> Hi! A pretty minimal document using a bibliography is broken for me:
>>
>> test.lmtx:
>> \enableregime[utf-8]
>> \mainlanguage[en]
>>
>> \usebtxdataset[default][test.bib]
>> \setupbtx[dataset=default]
>> \usebtxdefinitions[apa]
>>
>> \starttext
>>
>> \cite[authoryear][angerer2016]
>>
>> %\placelistofpublications[default][method=dataset]
>>
>> \stoptext
>>
>> test.bib:
>> @Article{ angerer2016,
>> author = {Angerer, Philipp and Haghverdi, Laleh and B{\"{u}}ttner, Maren
>> and Theis, Fabian J and Marr, Carsten and Buettner, Florian},
>> doi = {10.1093/bioinformatics/btv715},
>> issn = {14602059},
>> journal = {Bioinformatics},
>> language = {en},
>> number = {8},
>> pages = {1241--1243},
>> title = {{Destiny: Diffusion maps for large-scale single-cell data in R}},
>> url = {
>> http://bioinformatics.oxfordjournals.org/lookup/doi/10.1093/bioinformatics/btv715
>> files/103/Angerer et al. - 2016 - destiny diffusion maps for large-scale
>> single-cel.pdf},
>> volume = {32},
>> year = {2016}
>> }
>>
>> This log occurs:
>>
>> ❯ context test.lmtx
>> resolvers | formats | executing runner 'run luametatex format':
>> ~/Library/ConTeXt/tex/texmf-osx-64/bin/luametatex --jobname="test"
>> --fmt=~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
>> --lua=~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
>> --c:currentrun=1 --c:fulljobname="./test.lmtx" --c:input="./test.lmtx"
>> --c:kindofrun=1 --c:maxnofruns=9
>> --c:texmfbinpath="~/Library/ConTeXt/tex/texmf-osx-64/bin"
>> system >
>> system > ConTeXt ver: 2020.12.24 17:30 LMTX fmt: 2020.12.25
>> int: english/english
>> system >
>> system > 'cont-new.mkxl' loaded
>> open source > level 1, order 1, name
>> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
>> system > beware: some patches loaded from cont-new.mkiv
>> close source > level 1, order 1, name
>> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
>> system > files > jobname 'test', input './test.lmtx', result
>> 'test'
>> fonts > latin modern fonts are not preloaded
>> languages > language 'en' is active
>> open source > level 1, order 2, name './test.lmtx'
>> publications > adding bib data to set 'default' from source 'test.bib'
>> open source > level 2, order 3, name
>> ~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi'
>> close source > level 2, order 3, name
>> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi'
>> fonts > preloading latin modern fonts (second stage)
>> fonts > 'fallback modern-designsize rm 12pt' is loaded
>> publications > analyzing previous publication run for 'default'
>> publications > no entry 'angerer2016' found in dataset 'default'
>> backend > xmp > using file
>> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
>> pages > flushing realpage 1, userpage 1, subpage 1
>> close source > level 1, order 3, name './test.lmtx'
>>
>> mkiv lua stats > used config file:
>> selfautoparent:/texmf/web2c/texmfcnf.lua
>> mkiv lua stats > used cache path:
>> ~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
>> mkiv lua stats > resource resolver: loadtime 0.004 seconds, 0 scans with
>> scantime 0.000 seconds, 0 shared scans, 13 found files, scanned paths:
>> <none>
>> mkiv lua stats > stored bytecode data: 476 modules (0.204 sec), 95
>> tables (0.012 sec), 571 chunks (0.216 sec)
>> mkiv lua stats > traced context: maxstack: 1517, freed: 0, unreachable:
>> 1517
>> mkiv lua stats > cleaned up reserved nodes: 58 nodes, 435 lists of 434
>> mkiv lua stats > node memory usage: 6 attribute, 3 attribute_list, 1
>> glue, 36 glue_spec, 3 kern, 2 penalty, 1 temp, 1 whatsit
>> mkiv lua stats > node list callback tasks: 8 unique task lists, 7
>> instances (re)created, 38 calls
>> mkiv lua stats > used backend: pdf (backend for directly generating pdf
>> output)
>> mkiv lua stats > jobdata time: 0.001 seconds saving, 0.001 seconds
>> loading
>> mkiv lua stats > callbacks: internal: 0, file: 0, direct: 0, late: 0,
>> function 0, total: 0 (0 per page)
>> mkiv lua stats > randomizer: resumed with value 0.37495928832999
>> mkiv lua stats > loaded patterns: en::1, load time: 0.000
>> mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf,
>> lmroman12-regular.otf
>> mkiv lua stats > font engine: otf 3.112, afm 1.513, tfm 1.000, 7
>> instances, 3 shared in backend, 3 common vectors, 0 common hashes, load
>> time 0.156 seconds
>> mkiv lua stats > publications load time: 0.004 seconds, 1396 bytes, 1
>> definitions, 0 shortcuts
>> mkiv lua stats > font embedding time: 0.006 seconds, 1 fonts
>> mkiv lua stats > result saved in file: test.pdf, compresslevel 1,
>> objectcompresslevel 3
>> mkiv lua stats > used platform: osx-64, type: unix, binary subtree:
>> texmf-osx-64
>> mkiv lua stats > used engine: luametatex version: 2.0808, functionality
>> level: 20201222, format id: 551, compiler: clang
>> mkiv lua stats > tex properties: 740027 hash slots used of 2097152,
>> 45811 control sequences, approximate memory usage: 28 MB
>> mkiv lua stats > lua properties: engine: lua 5.4, used memory: 45 MB,
>> ctx: 43 MB, max: 46 MB, symbol mask: utf (τεχ)
>> mkiv lua stats > runtime: 0.457 seconds, 1 processed pages, 1 shipped
>> pages, 2.190 pages/second
>> system | total runtime: 0.474 seconds of 0.529 seconds
>>
>> Best, Phil
>>
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___________________________________________________________________________________
>>
>
[-- Attachment #1.2: Type: text/html, Size: 11797 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bib support broken in lmtx
2021-01-03 12:30 ` Philipp A.
@ 2021-01-03 13:04 ` Hans Hagen
2021-01-30 9:50 ` Philipp A.
1 sibling, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2021-01-03 13:04 UTC (permalink / raw)
To: mailing list for ConTeXt users, Philipp A.
On 1/3/2021 1:30 PM, Philipp A. wrote:
> So, where do I go with this?
>
> Can nobody reproduce it? Should I submit it to the bug tracker? How can
> I help to get this resolved?
wasn't this answered already?
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bib support broken in lmtx
2021-01-03 12:30 ` Philipp A.
2021-01-03 13:04 ` Hans Hagen
@ 2021-01-30 9:50 ` Philipp A.
2021-01-30 9:59 ` Thomas A. Schmitz
1 sibling, 1 reply; 8+ messages in thread
From: Philipp A. @ 2021-01-30 9:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 8360 bytes --]
Am I caught in a spam filter somewhere?
Am So., 3. Jan. 2021 um 13:30 Uhr schrieb Philipp A. <flying-sheep@web.de>:
> So, where do I go with this?
>
> Can nobody reproduce it? Should I submit it to the bug tracker? How can I
> help to get this resolved?
>
> Am Sa., 26. Dez. 2020 um 11:29 Uhr schrieb Philipp A. <flying-sheep@web.de
> >:
>
>> Thank you, but whitespace is ignored in .bib file syntax. To prove that
>> whitespace handling isn’t the bug, just try accessing it:
>>
>> \startluacode
>> local current = publications.datasets.default
>> tex.print('\\starttyping')
>> tex.print(table.serialize(current.luadata))
>> -- to show that the key doesn’t contain weird invisible characters, I’ll
>> type it here:
>> tex.print(table.serialize(current.luadata.angerer2016))
>> tex.print('\\stoptyping')
>> \stopluacode
>>
>> will display:
>>
>> t={
>> ["angerer2016"]={
>> ["author"]="Angerer...",
>> ["category"]="article",
>> ...
>> },
>> }
>> t={
>> ["author"]="Angerer...",
>> ["category"]="article",
>> ...
>> }
>>
>> *Another thing*: Uncommenting the \placelistofpublications makes it
>> work, but not in my real document. I didn’t go through the trouble of
>> reproducing when *that* stops working, as I think the root cause can
>> probably be found with my minimal example.
>>
>> Best, Phil
>>
>> Am Fr., 25. Dez. 2020 um 19:24 Uhr schrieb <denis.maier@ub.unibe.ch>:
>>
>>> Don't know if that's related, but you should probably removethe space
>>> before the key in your bibfile.
>>> ________________________________________
>>> Von: ntg-context <ntg-context-bounces@ntg.nl> im Auftrag von Philipp A.
>>> <flying-sheep@web.de>
>>> Gesendet: Freitag, 25. Dezember 2020 18:36:33
>>> An: ConTeXt Mailing List
>>> Betreff: [NTG-context] Bib support broken in lmtx
>>>
>>> Hi! A pretty minimal document using a bibliography is broken for me:
>>>
>>> test.lmtx:
>>> \enableregime[utf-8]
>>> \mainlanguage[en]
>>>
>>> \usebtxdataset[default][test.bib]
>>> \setupbtx[dataset=default]
>>> \usebtxdefinitions[apa]
>>>
>>> \starttext
>>>
>>> \cite[authoryear][angerer2016]
>>>
>>> %\placelistofpublications[default][method=dataset]
>>>
>>> \stoptext
>>>
>>> test.bib:
>>> @Article{ angerer2016,
>>> author = {Angerer, Philipp and Haghverdi, Laleh and B{\"{u}}ttner, Maren
>>> and Theis, Fabian J and Marr, Carsten and Buettner, Florian},
>>> doi = {10.1093/bioinformatics/btv715},
>>> issn = {14602059},
>>> journal = {Bioinformatics},
>>> language = {en},
>>> number = {8},
>>> pages = {1241--1243},
>>> title = {{Destiny: Diffusion maps for large-scale single-cell data in
>>> R}},
>>> url = {
>>> http://bioinformatics.oxfordjournals.org/lookup/doi/10.1093/bioinformatics/btv715
>>> files/103/Angerer et al. - 2016 - destiny diffusion maps for large-scale
>>> single-cel.pdf},
>>> volume = {32},
>>> year = {2016}
>>> }
>>>
>>> This log occurs:
>>>
>>> ❯ context test.lmtx
>>> resolvers | formats | executing runner 'run luametatex format':
>>> ~/Library/ConTeXt/tex/texmf-osx-64/bin/luametatex --jobname="test"
>>> --fmt=~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
>>> --lua=~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
>>> --c:currentrun=1 --c:fulljobname="./test.lmtx" --c:input="./test.lmtx"
>>> --c:kindofrun=1 --c:maxnofruns=9
>>> --c:texmfbinpath="~/Library/ConTeXt/tex/texmf-osx-64/bin"
>>> system >
>>> system > ConTeXt ver: 2020.12.24 17:30 LMTX fmt: 2020.12.25
>>> int: english/english
>>> system >
>>> system > 'cont-new.mkxl' loaded
>>> open source > level 1, order 1, name
>>> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
>>> system > beware: some patches loaded from cont-new.mkiv
>>> close source > level 1, order 1, name
>>> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
>>> system > files > jobname 'test', input './test.lmtx', result
>>> 'test'
>>> fonts > latin modern fonts are not preloaded
>>> languages > language 'en' is active
>>> open source > level 1, order 2, name './test.lmtx'
>>> publications > adding bib data to set 'default' from source 'test.bib'
>>> open source > level 2, order 3, name
>>> ~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi'
>>> close source > level 2, order 3, name
>>> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi'
>>> fonts > preloading latin modern fonts (second stage)
>>> fonts > 'fallback modern-designsize rm 12pt' is loaded
>>> publications > analyzing previous publication run for 'default'
>>> publications > no entry 'angerer2016' found in dataset 'default'
>>> backend > xmp > using file
>>> '~/Library/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
>>> pages > flushing realpage 1, userpage 1, subpage 1
>>> close source > level 1, order 3, name './test.lmtx'
>>>
>>> mkiv lua stats > used config file:
>>> selfautoparent:/texmf/web2c/texmfcnf.lua
>>> mkiv lua stats > used cache path:
>>> ~/Library/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
>>> mkiv lua stats > resource resolver: loadtime 0.004 seconds, 0 scans
>>> with scantime 0.000 seconds, 0 shared scans, 13 found files, scanned paths:
>>> <none>
>>> mkiv lua stats > stored bytecode data: 476 modules (0.204 sec), 95
>>> tables (0.012 sec), 571 chunks (0.216 sec)
>>> mkiv lua stats > traced context: maxstack: 1517, freed: 0, unreachable:
>>> 1517
>>> mkiv lua stats > cleaned up reserved nodes: 58 nodes, 435 lists of 434
>>> mkiv lua stats > node memory usage: 6 attribute, 3 attribute_list, 1
>>> glue, 36 glue_spec, 3 kern, 2 penalty, 1 temp, 1 whatsit
>>> mkiv lua stats > node list callback tasks: 8 unique task lists, 7
>>> instances (re)created, 38 calls
>>> mkiv lua stats > used backend: pdf (backend for directly generating pdf
>>> output)
>>> mkiv lua stats > jobdata time: 0.001 seconds saving, 0.001 seconds
>>> loading
>>> mkiv lua stats > callbacks: internal: 0, file: 0, direct: 0, late: 0,
>>> function 0, total: 0 (0 per page)
>>> mkiv lua stats > randomizer: resumed with value 0.37495928832999
>>> mkiv lua stats > loaded patterns: en::1, load time: 0.000
>>> mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf,
>>> lmroman12-regular.otf
>>> mkiv lua stats > font engine: otf 3.112, afm 1.513, tfm 1.000, 7
>>> instances, 3 shared in backend, 3 common vectors, 0 common hashes, load
>>> time 0.156 seconds
>>> mkiv lua stats > publications load time: 0.004 seconds, 1396 bytes, 1
>>> definitions, 0 shortcuts
>>> mkiv lua stats > font embedding time: 0.006 seconds, 1 fonts
>>> mkiv lua stats > result saved in file: test.pdf, compresslevel 1,
>>> objectcompresslevel 3
>>> mkiv lua stats > used platform: osx-64, type: unix, binary subtree:
>>> texmf-osx-64
>>> mkiv lua stats > used engine: luametatex version: 2.0808, functionality
>>> level: 20201222, format id: 551, compiler: clang
>>> mkiv lua stats > tex properties: 740027 hash slots used of 2097152,
>>> 45811 control sequences, approximate memory usage: 28 MB
>>> mkiv lua stats > lua properties: engine: lua 5.4, used memory: 45 MB,
>>> ctx: 43 MB, max: 46 MB, symbol mask: utf (τεχ)
>>> mkiv lua stats > runtime: 0.457 seconds, 1 processed pages, 1 shipped
>>> pages, 2.190 pages/second
>>> system | total runtime: 0.474 seconds of 0.529 seconds
>>>
>>> Best, Phil
>>>
>>> ___________________________________________________________________________________
>>> If your question is of interest to others as well, please add an entry
>>> to the Wiki!
>>>
>>> maillist : ntg-context@ntg.nl /
>>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
>>> archive : https://bitbucket.org/phg/context-mirror/commits/
>>> wiki : http://contextgarden.net
>>>
>>> ___________________________________________________________________________________
>>>
>>
[-- Attachment #1.2: Type: text/html, Size: 12211 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bib support broken in lmtx
2021-01-30 9:50 ` Philipp A.
@ 2021-01-30 9:59 ` Thomas A. Schmitz
0 siblings, 0 replies; 8+ messages in thread
From: Thomas A. Schmitz @ 2021-01-30 9:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 1/30/21 10:50 AM, Philipp A. wrote:
> Am I caught in a spam filter somewhere?
Compiles fine here with 2021.01.28 18:22
Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-01-30 9:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-25 17:36 Bib support broken in lmtx Philipp A.
2020-12-25 18:11 ` denis.maier
2020-12-26 10:29 ` Philipp A.
2020-12-26 11:38 ` Hans Hagen
2021-01-03 12:30 ` Philipp A.
2021-01-03 13:04 ` Hans Hagen
2021-01-30 9:50 ` Philipp A.
2021-01-30 9:59 ` Thomas A. Schmitz
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).