* Problem in sorting bibtex entries
@ 2010-03-18 11:28 Mikael Persson
2010-03-18 12:48 ` Taco Hoekwater
2010-03-22 9:56 ` Mikael Persson
0 siblings, 2 replies; 5+ messages in thread
From: Mikael Persson @ 2010-03-18 11:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]
Dear Taco and list,
I have a problem (with the latest minimals) sorting bibtex entries:
Consider the following example:
% bibbug.tex
\usemodule[bib]
\setuppublications[
sorttype=bbl,
]
\setupbibtex[
database=mp,
]
\starttext
See~\cite{resi3,resi4} and also~\cite{resi2,resi1}.
\placepublications[criterium=all]
\stoptext
% end of bibbug.tex
I get an eror:
! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83:
attempt to compare two nil values
stack traceback:
...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83: in
function <...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:80>
[C]: in function 'sort'
...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:93: in function 'flush'
<main ctx instance>:1: in main chunk.
\typesetpubslist ...hacks.flush("\@@pbsorttype ")}
\doendoflist
\dodoplacepublications ...sttrue \typesetpubslist
\inpublistfalse \endgroup ...
l.14 \placepublications[criterium=all]
If I uncomment the sorttype=bbl line, it compiles.
Attached is the tex file, the log file, and my bib file.
Best regards, Mikael
[-- Attachment #2: bibbug.tex --]
[-- Type: application/x-tex, Size: 194 bytes --]
[-- Attachment #3: bibbug.log --]
[-- Type: text/x-log, Size: 6138 bytes --]
(/home/mickep/Dropbox/documents/fonttest/bibbug.tex
ConTeXt ver: 2010.03.12 19:49 MKIV fmt: 2010.3.18 int: english/english
system : cont-new loaded
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv))
system : cont-fil loaded
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system : cont-sys.rme loaded
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/user/cont-sys.rme (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-def.mkiv) (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-lua.tex) (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-siz.tex (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-otf.tex (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system : bibbug.top loaded
%
% begin of optionfile
%
% % runtime options files (command line driven)
% \unprotect
% % special commands, mostly for the ctx development team
% % feedback and basic job control
% % handy for special styles
% \startluacode
% document = document or { }
% document.arguments={
% }
% document.files={
% "bibbug.tex",
% }
% \stopluacode
% % process info
% \setupsystem[inputfile=bibbug.tex]
% \setupsystem[\c!n=1,\c!m=1]
% % modes
% % options (not that important)
% \startsetups *runtime:options
% \setupoutput[pdftex]
% \stopsetups
% % styles and modules
% \startsetups *runtime:modules
% \stopsetups
% % done
% \protect \endinput
%
% end of optionfile
%
(bibbug.top)
fonts : preloading latin modern fonts
bodyfont : 12pt rm is loaded
language : language en is active
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/m-obsolete.tex
systems : skipping obsolete module
)
system : module bib loaded
publications : wrote a new auxiliary file cont-en.aux
systems : begin file bibbug.tex at line 11
! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83: attempt to compare two nil values
stack traceback:
...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83: in function <...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:80>
[C]: in function 'sort'
...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:93: in function 'flush'
<main ctx instance>:1: in main chunk.
\typesetpubslist ...hacks.flush("\@@pbsorttype ")}
\doendoflist
\dodoplacepublications ...sttrue \typesetpubslist
\inpublistfalse \endgroup ...
l.14 \placepublications[criterium=all]
?
fonts : resetting map file list
{/home/mickep/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts : using map file: original-base
{/home/mickep/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts : using map file: original-ams-base
{/home/mickep/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts : using map file: original-ams-euler
{/home/mickep/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts : using map file: original-public-lm
{/home/mickep/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts : using map file: lm-math
{/home/mickep/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts : using map file: lm-rm
{/home/mickep/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
!pages : flushing realpage 1, userpage 1, subpage 1
systems : end file bibbug.tex at line 15
system : cont-err loaded
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )</home/mickep/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats : used config path - /home/mickep/ConTeXt/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path - /tmp
mkiv lua stats : input load time - 0.056 seconds
mkiv lua stats : stored bytecode data - 204 modules, 49 tables, 253 chunks
mkiv lua stats : loaded tex modules - 1 requested, 1 found (*-obsolete), 0 missing
mkiv lua stats : node list callback tasks - 6 unique task lists, 5 instances (re)created, 283 calls
mkiv lua stats : cleaned up reserved nodes - 25 nodes, 9 lists of 1409
mkiv lua stats : node memory usage - 20 glue_spec
mkiv lua stats : used backend - pdf (backend for directly generating pdf output)
mkiv lua stats : loaded patterns - en:us:pat:exc:2
mkiv lua stats : startup time - 0.852 seconds including runtime option file processing
mkiv lua stats : callbacks - direct: 444, indirect: 3738, total: 4182
mkiv lua stats : lxml preparation time - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats : result saved in file - bibbug.pdf
mkiv lua stats : loaded fonts - 32 files: lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats : fonts load time - 0.496 seconds
mkiv lua stats : luatex banner - this is luatex, version beta-0.50.0-2009122419
mkiv lua stats : control sequences - 30067 of 165536
mkiv lua stats : current memory usage - 28 MB (ctx: 28 MB)
mkiv lua stats : runtime - 89.438 seconds, 0 processed pages, 1 shipped pages, 0.011 pages/second
[-- Attachment #4: mp.bib --]
[-- Type: text/x-bibtex, Size: 1757 bytes --]
@book {resi1,
AUTHOR = {Reed, Michael and Simon, Barry},
TITLE = {Methods of modern mathematical physics. {I}},
EDITION = {Second},
NOTE = {Functional analysis},
PUBLISHER = {Academic Press Inc. [Harcourt Brace Jovanovich Publishers]},
ADDRESS = {New York},
YEAR = {1980},
PAGES = {xv+400},
ISBN = {0-12-585050-6},
MRCLASS = {46-01 (47-01)},
MRNUMBER = {MR751959 (85e:46002)},
}
@book {resi2,
AUTHOR = {Reed, Michael and Simon, Barry},
TITLE = {Methods of modern mathematical physics. {II}. {F}ourier
analysis, self-adjointness},
PUBLISHER = {Academic Press [Harcourt Brace Jovanovich Publishers]},
ADDRESS = {New York},
YEAR = {1975},
PAGES = {xv+361},
MRCLASS = {47-02 (81.47)},
MRNUMBER = {MR0493420 (58 \#12429b)},
MRREVIEWER = {P. R. Chernoff},
}
@book {resi3,
AUTHOR = {Reed, Michael and Simon, Barry},
TITLE = {Methods of modern mathematical physics. {III}},
NOTE = {Scattering theory},
PUBLISHER = {Academic Press [Harcourt Brace Jovanovich Publishers]},
ADDRESS = {New York},
YEAR = {1979},
PAGES = {xv+463},
ISBN = {0-12-585004-2},
MRCLASS = {81F99},
MRNUMBER = {MR529429 (80m:81085)},
MRREVIEWER = {P. R. Chernoff},
}
@book {resi4,
AUTHOR = {Reed, Michael and Simon, Barry},
TITLE = {Methods of modern mathematical physics. {IV}. {A}nalysis of
operators},
PUBLISHER = {Academic Press [Harcourt Brace Jovanovich Publishers]},
ADDRESS = {New York},
YEAR = {1978},
PAGES = {xv+396},
ISBN = {0-12-585004-2},
MRCLASS = {47-02 (81.47)},
MRNUMBER = {MR0493421 (58 \#12429c)},
MRREVIEWER = {P. R. Chernoff},
}
[-- Attachment #5: Type: text/plain, Size: 486 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem in sorting bibtex entries
2010-03-18 11:28 Problem in sorting bibtex entries Mikael Persson
@ 2010-03-18 12:48 ` Taco Hoekwater
2010-03-18 12:51 ` Mikael Persson
2010-03-22 9:56 ` Mikael Persson
1 sibling, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2010-03-18 12:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
Mikael Persson wrote:
> Dear Taco and list,
Better make that 'Dear Hans and list' :)
> I have a problem (with the latest minimals) sorting bibtex entries:
>
> Consider the following example:
>
> % bibbug.tex
> \usemodule[bib]
>
> \setuppublications[
> sorttype=bbl,
> ]
>
> \setupbibtex[
> database=mp,
> ]
>
> \starttext
> See~\cite{resi3,resi4} and also~\cite{resi2,resi1}.
>
> \placepublications[criterium=all]
> \stoptext
> % end of bibbug.tex
>
> I get an eror:
> ! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83:
> attempt to compare two nil values
For some reason that I do not understand, the publication
items in the bbl are not properly registered for sorting.
That's all I can figure out.
Best wishes,
Taco
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem in sorting bibtex entries
2010-03-18 12:48 ` Taco Hoekwater
@ 2010-03-18 12:51 ` Mikael Persson
0 siblings, 0 replies; 5+ messages in thread
From: Mikael Persson @ 2010-03-18 12:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Thu, Mar 18, 2010 at 1:48 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
>
> Hi,
>
> Mikael Persson wrote:
>> Dear Taco and list,
>
> Better make that 'Dear Hans and list' :)
>
sorry, I thought you were the bibtex guy :)
>> I have a problem (with the latest minimals) sorting bibtex entries:
>>
>> Consider the following example:
>>
>> % bibbug.tex
>> \usemodule[bib]
>>
>> \setuppublications[
>> sorttype=bbl,
>> ]
>>
>> \setupbibtex[
>> database=mp,
>> ]
>>
>> \starttext
>> See~\cite{resi3,resi4} and also~\cite{resi2,resi1}.
>>
>> \placepublications[criterium=all]
>> \stoptext
>> % end of bibbug.tex
>>
>> I get an eror:
>> ! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83:
>> attempt to compare two nil values
>
> For some reason that I do not understand, the publication
> items in the bbl are not properly registered for sorting.
> That's all I can figure out.
>
> Best wishes,
> Taco
OK, I'll wait for others ideas... Thanks!
Best regards, Mikael
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem in sorting bibtex entries
2010-03-18 11:28 Problem in sorting bibtex entries Mikael Persson
2010-03-18 12:48 ` Taco Hoekwater
@ 2010-03-22 9:56 ` Mikael Persson
2010-03-22 10:28 ` Jean Magnan de Bornier
1 sibling, 1 reply; 5+ messages in thread
From: Mikael Persson @ 2010-03-22 9:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Thu, Mar 18, 2010 at 12:28 PM, Mikael Persson <mickep@gmail.com> wrote:
> Dear Taco and list,
>
> I have a problem (with the latest minimals) sorting bibtex entries:
>
> Consider the following example:
>
> % bibbug.tex
> \usemodule[bib]
>
> \setuppublications[
> sorttype=bbl,
> ]
>
> \setupbibtex[
> database=mp,
> ]
>
> \starttext
> See~\cite{resi3,resi4} and also~\cite{resi2,resi1}.
>
> \placepublications[criterium=all]
> \stoptext
> % end of bibbug.tex
>
> I get an eror:
> ! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83:
> attempt to compare two nil values
> stack traceback:
> ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83: in
> function <...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:80>
> [C]: in function 'sort'
> ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:93: in function 'flush'
> <main ctx instance>:1: in main chunk.
> \typesetpubslist ...hacks.flush("\@@pbsorttype ")}
> \doendoflist
> \dodoplacepublications ...sttrue \typesetpubslist
> \inpublistfalse \endgroup ...
> l.14 \placepublications[criterium=all]
>
> If I uncomment the sorttype=bbl line, it compiles.
>
> Attached is the tex file, the log file, and my bib file.
>
> Best regards, Mikael
>
Nobody has an idea about this sorting problem? Hans?
Best regards, Mikael
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem in sorting bibtex entries
2010-03-22 9:56 ` Mikael Persson
@ 2010-03-22 10:28 ` Jean Magnan de Bornier
0 siblings, 0 replies; 5+ messages in thread
From: Jean Magnan de Bornier @ 2010-03-22 10:28 UTC (permalink / raw)
To: ntg-context
Le 22 mars à 10:56:45 Mikael Persson <mickep@gmail.com> écrit notamment:
| On Thu, Mar 18, 2010 at 12:28 PM, Mikael Persson <mickep@gmail.com> wrote:
| > Dear Taco and list,
| >
| > I have a problem (with the latest minimals) sorting bibtex entries:
| >
| > Consider the following example:
| >
| > % bibbug.tex
| > \usemodule[bib]
| >
| > \setuppublications[
| > sorttype=bbl,
| > ]
| >
| > \setupbibtex[
| > database=mp,
| > ]
| >
| > \starttext
| > See~\cite{resi3,resi4} and also~\cite{resi2,resi1}.
| >
| > \placepublications[criterium=all]
| > \stoptext
| > % end of bibbug.tex
| >
| > I get an eror:
| > ! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83:
| > attempt to compare two nil values
| > stack traceback:
| > ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83: in
| > function <...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:80>
| > [C]: in function 'sort'
| > ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:93: in function 'flush'
| > <main ctx instance>:1: in main chunk.
| > \typesetpubslist ...hacks.flush("\@@pbsorttype ")}
| > \doendoflist
| > \dodoplacepublications ...sttrue \typesetpubslist
| > \inpublistfalse \endgroup ...
| > l.14 \placepublications[criterium=all]
| >
| > If I uncomment the sorttype=bbl line, it compiles.
| >
| > Attached is the tex file, the log file, and my bib file.
| >
| > Best regards, Mikael
| >
>
| Nobody has an idea about this sorting problem? Hans?
>
| Best regards, Mikael
I've had the same problem for some time...
(but can't offer any solution...)
best wishes,
--
Jean
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-03-22 10:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-18 11:28 Problem in sorting bibtex entries Mikael Persson
2010-03-18 12:48 ` Taco Hoekwater
2010-03-18 12:51 ` Mikael Persson
2010-03-22 9:56 ` Mikael Persson
2010-03-22 10:28 ` Jean Magnan de Bornier
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).