ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Philipp A." <flying-sheep@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bib support broken in lmtx
Date: Sat, 30 Jan 2021 10:50:17 +0100	[thread overview]
Message-ID: <CAN8d9gnSEFU-3Zi8Yzan96mx3r4+4MtcVJ6jQqDnyFAziePnXQ@mail.gmail.com> (raw)
In-Reply-To: <CAN8d9g=7rgdx9L6t9Tv8+dKA8fQQoKTkM6wGkroe0VhVDXrKrw@mail.gmail.com>


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

  parent reply	other threads:[~2021-01-30  9:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-25 17:36 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. [this message]
2021-01-30  9:59         ` Thomas A. Schmitz

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=CAN8d9gnSEFU-3Zi8Yzan96mx3r4+4MtcVJ6jQqDnyFAziePnXQ@mail.gmail.com \
    --to=flying-sheep@web.de \
    --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).