Re: [NTG-context] Problem in sorting bibtex entries
On Thu, Mar 18, 2010 at 12:28 PM, Mikael Persson mic...@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 ___
Re: [NTG-context] Problem in sorting bibtex entries
Le 22 mars à 10:56:45 Mikael Persson mic...@gmail.com écrit notamment: | On Thu, Mar 18, 2010 at 12:28 PM, Mikael Persson mic...@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 ___
[NTG-context] Problem in sorting bibtex entries
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 bibbug.tex Description: TeX document (/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
Re: [NTG-context] Problem in sorting bibtex entries
On Thu, Mar 18, 2010 at 1:48 PM, Taco Hoekwater t...@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 ___