[NTG-context] Bib support broken in lmtx

Philipp A. flying-sheep at web.de
Sat Jan 30 10:50:17 CET 2021


Am I caught in a spam filter somewhere?

Am So., 3. Jan. 2021 um 13:30 Uhr schrieb Philipp A. <flying-sheep at 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 at 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 at 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 at ntg.nl> im Auftrag von Philipp A.
>>> <flying-sheep at 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 at 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
>>>
>>> ___________________________________________________________________________________
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20210130/45d3953a/attachment-0001.htm>


More information about the ntg-context mailing list