View Issue Details

IDProjectCategoryView StatusLast Update
0000386contextpublic2017-01-19 19:33
ReporterTaco Assigned ToHans Hagen  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0000386: bib module sorttype is broken for external bbl files in mkiv
DescriptionSee the attached file.

It runs fine as is, but if the publication database is moved to an external
file (bibtest.bbl) it produces a lua error:

! LuaTeX error /opt/tex/texmf-local/tex/context/base/bibl-tra.lua:83: attempt to compare two nil values
stack traceback:
        /opt/tex/texmf-local/tex/context/base/bibl-tra.lua:83: in function </opt/tex/texmf-local/tex/context/base/bibl-tra.lua:80>
        [C]: in function 'sort'
        /opt/tex/texmf-local/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.12 \placepublications[criterium=all]

? x
TagsNo tags attached.

Activities

Taco

2010-04-29 12:20

administrator  

bibtest.tex (1,633 bytes)   
\usemodule[bib]
% \setupbibtex[database=Mydatabase]
\setuppublications[numbering=yes,alternative=ams,setupinteraction=start]
\setuppublications[sorttype=bbl]



\setuppublicationlist[samplesize={Gob06},totalnumber=3]

\startpublication[k=siBrochure,t=techreport,
a={{Gobel}},y=2006,
n=1,s=Gob06]
\author[]{E.}[E.]{}{Gobel}
\pubyear{2006}
\title{The international system of units}
\pubname{Organisation Intergouvernementale de la Convention}
\stoppublication

\startpublication[k=siNist,t=techreport,
a={{Taylor},{Thompson}},y=2008,
n=2,s=TT08]
\author[]{Barry~N.}[B.~N.]{}{Taylor}
\author[]{Ambler}[A.]{}{Thompson}
\pubyear{2008}
\title{The international system of units ({\addff{sc}si})}
\bibtype{{\addff{sc}nist} Special Publication}
\volume{330}
\city{Washington, {\addff{sc}dc}}
\pubname{The National Institute of Standards and Technology ({\addff{sc}nist}),
  United States Department of Commerce}
\note{http://physics.nist.gov/Pubs/SP330/sp330.pdf}
\stoppublication

\startpublication[k=siGuide,t=techreport,
a={{Thompson},{Taylor}},y=2008,
n=3,s=TT08]
\author[]{Ambler}[A.]{}{Thompson}
\author[]{Barry~N.}[B.~N.]{}{Taylor}
\pubyear{2008}
\title{Guide for the use of the international system of units ({\addff{sc}si})}
\bibtype{{\addff{sc}nist} Special Publication}
\volume{811}
\city{Washington, {\addff{sc}dc}}
\pubname{The National Institute of Standards and Technology ({\addff{sc}nist}),
  United States Department of Commerce}
\note{http://www.nist.gov/physlab/pubs/sp811/index.cfm}
\stoppublication


\starttext
\section{stuff}

\cite[siNist]
\cite[siGuide]
\cite[siBrochure]

\placepublications[criterium=all]
\stoptext
bibtest.tex (1,633 bytes)   

Hans Hagen

2017-01-19 19:33

manager   ~0001667

use new publications mechanism

Issue History

Date Modified Username Field Change
2010-04-29 12:20 Taco New Issue
2010-04-29 12:20 Taco File Added: bibtest.tex
2017-01-19 19:33 Hans Hagen Note Added: 0001667
2017-01-19 19:33 Hans Hagen Status new => closed
2017-01-19 19:33 Hans Hagen Assigned To => Hans Hagen
2017-01-19 19:33 Hans Hagen Resolution open => fixed