Re: [NTG-context] List of publications…
Hi śrīrāma, > I hope you made the format (context --make) after > applying the changes. That's exactly what I missed. Should have read the whole thread and not the last part… Reading your diff, I also didn't comment out the lines with string.tolower and local lowered, but I guess this is not an issue since I commented out all the entries with lowered[tag|field] Many thanks, Damien Thiriet ___ 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 ___
Re: [NTG-context] List of publications…
On 5/18/22 12:02 AM Damien Thiriet via ntg-context wrote: > Unfortunately, commenting out all occurrences of those two lines > didn't make the job for me. > And using lowercase characters is unfortunately a no-op as far as > I'm concerned: my bib files have been filled with CamelCase for years, > and are loaded by dozens of other files… > > is there something I missed? > current version: 2022.05.02 16:19 That's strange: I have LMTX 2022.05.11 11:36 and have no issues with this 'patch'. I too have thousands of references across documents, so could not convert the tags to lowercase, and this patch works for me. I am attaching a diff here. I hope you made the format (context --make) after applying the changes. Sreeram--- publ-ini-1.lua 2022-05-04 08:07:01.410444702 +0530 +++ publ-ini.lua 2022-04-24 09:28:56.499009761 +0530 @@ -22,7 +22,7 @@ -- gain is not that large anyway because not much publication stuff is flushed. local next, rawget, type, tostring, tonumber = next, rawget, type, tostring, tonumber -local match, find, gsub, lower = string.match, string.find, string.gsub, string.lower +local match, find, gsub = string.match, string.find, string.gsub local concat, sort, tohash = table.concat, table.sort, table.tohash local mod = math.mod local formatters = string.formatters @@ -1316,12 +1316,6 @@ local typesetters= { } publications.typesetters = typesetters -local lowered = setmetatableindex(function(t,k) -k = lower(k) -t[k] = k -return k -end) - local function defaulttypesetter(field,value,manipulator) if value and value ~= "" then value = tostring(value) @@ -1428,8 +1422,6 @@ local function get(dataset,tag,field,what,check,catspec) -- somewhat more extensive local current = rawget(datasets,dataset) if current then -tag = lowered[tag] -field = lowered[field] local data = current.luadata[tag] if data then local category = data.category @@ -1479,8 +1471,6 @@ local function btxflush(name,tag,field) local dataset = rawget(datasets,name) if dataset then -tag = lowered[tag] -field = lowered[field] local fields = dataset.luadata[tag] if fields then local manipulator, field = splitmanipulation(field) @@ -1507,8 +1497,6 @@ local function btxfield(name,tag,field) local dataset = rawget(datasets,name) if dataset then -tag = lowered[tag] -field = lowered[field] local fields = dataset.luadata[tag] if fields then local category = fields.category @@ -1534,8 +1522,6 @@ local function btxdetail(name,tag,field) local dataset = rawget(datasets,name) if dataset then -tag = lowered[tag] -field = lowered[field] local fields = dataset.luadata[tag] if fields then local details = dataset.details[tag] @@ -1566,11 +1552,8 @@ local function btxdirect(name,tag,field) local dataset = rawget(datasets,name) if dataset then -tag = lowered[tag] -field = lowered[field] local fields = dataset.luadata[tag] if fields then -field = lowered[field] local manipulator, field = splitmanipulation(field) local value = fields[field] if value then @@ -1589,8 +1572,6 @@ local function okay(name,tag,field) local dataset = rawget(datasets,name) if dataset then -tag = lowered[tag] -field = lowered[field] local fields = dataset.luadata[tag] if fields then local category = fields.category ___ 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 ___
Re: [NTG-context] List of publications…
> Till there is a fix, I am able to workaround it by: > • using only lowercase characters (a-z) in the item tags > • comment out all occurrences of > tag = lowered[tag] > field = lowered[field] >in publ-ini.lua > > Sreeram Unfortunately, commenting out all occurrences of those two lines didn't make the job for me. And using lowercase characters is unfortunately a no-op as far as I'm concerned: my bib files have been filled with CamelCase for years, and are loaded by dozens of other files… is there something I missed? current version: 2022.05.02 16:19 Damien ___ 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 ___
Re: [NTG-context] List of publications...
Hello everybody, sorry for not being responsive in recent days. — I have not been working on the computer in recent days… Thank you so much for all your testing and help for finding a fix for the time being! — I will look into the lua file and apply your suggestion. Many thanks Best Willi > On 11 May 2022, at 11:53, śrīrāma via ntg-context wrote: > > On 5/11/22 2:24 PM Willi Egger via ntg-context wrote: >> I ws trying to finish my list of publications. How ever I now get a very >> strange list. >> >> Could someone compile the attached tex-sample-file and see? >> >> I have ConTeXt ver: 2022.04.20 19:18 LMTX fmt: 2022.4.22 > > Yes: this issue has been there for some time now. Please see: > https://mailman.ntg.nl/pipermail/ntg-context/2022/105649.html, and, > https://mailman.ntg.nl/pipermail/ntg-context/2022/105585.html > > Till there is a fix, I am able to workaround it by: > • using only lowercase characters (a-z) in the item tags > • comment out all occurrences of > tag = lowered[tag] > field = lowered[field] > in publ-ini.lua > > Sreeram > > > ___ > 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 > ___ ___ 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 ___
Re: [NTG-context] List of publications...
On 5/11/22 3:23 PM śrīrāma wrote: > Till there is a fix, I am able to workaround it by: > • using only lowercase characters (a-z) in the item tags > • comment out all occurrences of > tag = lowered[tag] > field = lowered[field] > in publ-ini.lua To be clear only one of these needs to be applied to get a proper output. Sreeram ___ 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 ___
Re: [NTG-context] List of publications...
On 5/11/22 2:24 PM Willi Egger via ntg-context wrote: > I ws trying to finish my list of publications. How ever I now get a very > strange list. > > Could someone compile the attached tex-sample-file and see? > > I have ConTeXt ver: 2022.04.20 19:18 LMTX fmt: 2022.4.22 Yes: this issue has been there for some time now. Please see: https://mailman.ntg.nl/pipermail/ntg-context/2022/105649.html, and, https://mailman.ntg.nl/pipermail/ntg-context/2022/105585.html Till there is a fix, I am able to workaround it by: • using only lowercase characters (a-z) in the item tags • comment out all occurrences of tag = lowered[tag] field = lowered[field] in publ-ini.lua Sreeram ___ 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 ___
Re: [NTG-context] List of publications...
I'm able to confirm that ❯ context --version mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: mtx-context | current version: 2022.05.10 18:44 mtx-context | main context file: mtx-context | current version: 2022.05.10 18:44 results in exactly the same output. Günter Willi Egger via ntg-context @ 2022-05-11 10:54 +02: Good morning! I ws trying to finish my list of publications. How ever I now get a very strange list. Could someone compile the attached tex-sample-file and see? I have ConTeXt ver: 2022.04.20 19:18 LMTX fmt: 2022.4.22 Thanks Willi [3. application/octet-stream; publist-test.bbl]... [5. application/pdf; publist-test.pdf]... [7. application/x-tex; publist-test.tex]... ___ 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 ___ ___ 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 ___
[NTG-context] List of publications...
Good morning!I ws trying to finish my list of publications. How ever I now get a very strange list.Could someone compile the attached tex-sample-file and see?I have ConTeXt ver: 2022.04.20 19:18 LMTX fmt: 2022.4.22ThanksWilli publist-test.bbl Description: Binary data publist-test.pdf Description: Adobe PDF document publist-test.tex Description: Binary data ___ 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 ___