Hello, I have not been following the list too closely ... what is the status of cross-references in MKIV? I don't seem to get any number printed. \starttext this is in figure \in[bla] \placefigure[force][bla]{caption}{figure} \stoptext The bib module almost works (Hans and Taco - thanks a lot!). But self-defined publication layouts seem to have problems or don't appear in the list of references at least: \newbibfield[conference] \newbibfield[cobissid] \setuppublicationlayout[conference]{% \insertartauthors{}{\unskip. }{}% \insertarttitle{\bgroup }{\egroup. }{}% \insertconference{\bgroup \it}{\egroup\insertday{, }{. }{}\insertmonth{}{\ }{}\insertpubyear{}{}{}. }{}% \insertcobissid{[COBISS.SI-ID\ }{]}{}% } \startpublication [k=key, t=conference, y=2009, s=, u=, ] \artauthor[]{Me}[M.]{}{Personally} \arttitle{Very important title} \conference{Very important conference in Bochum} \pubyear{2009}\month{March}\day{16-20} \cobissid{42} \stoppublication Mojca
Le 05 septembre à 11:23:44 Mojca Miklavec
Jean Magnan de Bornier wrote:
Le 05 septembre à 11:23:44 Mojca Miklavec
écrit notamment: | The bib module almost works (Hans and Taco - thanks a lot!).
Here is how it works for me:
"texexec --xtx myfile": creates and populates myfile.bbl, and bib works ok
Then,
"context myfile": myfile.bbl is still there but is now **empty**!! And no more references...
:-(
This is LuaTeX, Version beta-0.43.0-2009081914
hard to test ... anyway, Thomas Schmitz is coordinating the bib tests so best coordinate with him Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Le 09 septembre à 00:07:50 Hans Hagen
| hard to test ... anyway, Thomas Schmitz is coordinating the bib tests | so best coordinate with him
Here are two small files: bbaa.tex ................... \usemodule[bib] \setupbibtex [database=/home/jean/bbaa] \setuppublications[sorttype=bbl] \starttext \cite[aj] \completepublications[criterium=all] \stoptext .................... and bbaa.bib .................... @article{aj, author = {H. Averch and L. Johnson}, title = {Behavior of the Firm under Regulatory Constraint}, journal = {American Economic Review}, year = {1962}, volume = {52} } ..................... With texexec I get what is expected, not with context (producing an empty bbl file). With texexec I have these lines in the .blg file: Database file #1: /home/jean/bbaa.bib You've used 1 entry, 2181 wiz_defined-function locations, 499 strings with 3613 characters, and the built_in function-call counts, 436 in all, are: Whereas with context: I found no \citation commands---while reading file bbaa.aux I found no \bibdata command---while reading file bbaa.aux I found no \bibstyle command---while reading file bbaa.aux tia, -- Jean
On Sep 9, 2009, at 12:07 AM, Hans Hagen wrote:
hard to test ... anyway, Thomas Schmitz is coordinating the bib tests so best coordinate with him
Hans
OK, I'm back from my vacation and ready to roll. For coordinating tests with bib: bibliographies offer so many different possibilities and so many switches that it is impossible to write a complete test suit. I will set up a page on the wiki that will just offer a container for a bib file and a tex file. When users meet problems in their "real-life" work, I would ask them to boil them down to minimal examples and just add them to the page, which I hope to watch on a regular basis. For the time being, however, I can't do any testing . I tried the latest beta and get this error with my minimal bib test files: structure : subsection @ level 4 : 0.0.0.1 -> Bibliography ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-lst.lua: 275: attempt to call global 'concat' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/strc-lst.lua:275: in function <...text/tex/texmf-context/tex/context/base/strc-lst.lua:138> (tail call): ? ...text/tex/texmf-context/tex/context/base/strc-lst.lua:323: in function 'analyze' <main ctx instance>:1: in main chunk. \analysestructurelist ....analyze("#1","#2","#3")} \dodeterminelistcharacteristics ...ter \c!number } \xdef \utilitylistlength {... <to be read again> \initializepubslist \dodoplacepublications ...ubs]\initializepubslist \doifnot {\namedlistparame... l.36 \placepublications[criterium=cite] Thomas
Thomas A. Schmitz wrote:
On Sep 9, 2009, at 12:07 AM, Hans Hagen wrote:
hard to test ... anyway, Thomas Schmitz is coordinating the bib tests so best coordinate with him
Hans
OK, I'm back from my vacation and ready to roll. For coordinating tests with bib: bibliographies offer so many different possibilities and so many switches that it is impossible to write a complete test suit. I will set up a page on the wiki that will just offer a container for a bib file and a tex file. When users meet problems in their "real-life" work, I would ask them to boil them down to minimal examples and just add them to the page, which I hope to watch on a regular basis.
For the time being, however, I can't do any testing . I tried the latest beta and get this error with my minimal bib test files:
line 16 strc-lst.lua: local concat, insert, remove = table.concat, table.insert, table.remove ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sep 13, 2009, at 2:23 PM, Hans Hagen wrote:
line 16 strc-lst.lua:
local concat, insert, remove = table.concat, table.insert, table.remove
Thanks, that helped. One new problem (this used to work three weeks ago): the criterium=cite key is not applied. Example: \setuppublicationlist[samplesize={{{The}}24},totalnumber=2] \startpublication[k=silktragedytragic,t=book, a={{Silk}},y=1996, n=1855,s=Sil96] \editor[]{Michael~S.}[M.~S.]{}{Silk} \pubyear{1996} \title{Tragedy and the Tragic. Greek Theatre and Beyond} \city{Oxford} \pubname{Oxford UP} \stoppublication \startpublication[k=depewobbinkmatrices,t=book, a={{Depew},{Obbink}},y=2000, n=2445,s=DO00] \editor[]{Mary}[M.]{}{Depew} \editor[]{Dirk~D.}[D.~D.]{}{Obbink} \pubyear{2000} \title{Matrices of Genre: Authors, Canons, and Society} \series{Center for Hellenic studies colloquia} \volume{4} \city{Cambridge (Mass.)} \pubname{Harvard UP} \stoppublication \setuppublications[state=start] \starttext \section{one} \nocite[silktragedytragic] \placepublications[criterium=cite] \section{two} \nocite[depewobbinkmatrices] \placepublications[criterium=cite,option=continue] \stoptext All best Thomas
Thomas A. Schmitz wrote:
On Sep 13, 2009, at 2:23 PM, Hans Hagen wrote:
line 16 strc-lst.lua:
local concat, insert, remove = table.concat, table.insert, table.remove
Thanks, that helped. One new problem (this used to work three weeks ago): the criterium=cite key is not applied. Example:
ok, revert ... (patch to criterum=here) \def\typesetpubslist {\dobeginoflist \the\initializebibdefinitions \edef\currentlist{pubs}% \doif{\listparameter\c!criterium}\v!cite{\setuplist[pubs][\c!criterium=\v!here]}% \ctxlua{bibtex.hacks.reset(\number\bibtexoncemode)}% \placestructurelist{pubs}{\listparameter\c!criterium}{\listparameter\c!number}% only collects \ctxlua{bibtex.hacks.flush("\@@pbsorttype")}% \doendoflist} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sep 13, 2009, at 9:34 PM, Hans Hagen wrote:
ok, revert ... (patch to criterum=here)
\def\typesetpubslist {\dobeginoflist \the\initializebibdefinitions \edef\currentlist{pubs}% \doif{\listparameter\c!criterium}\v!cite{\setuplist[pubs][\c! criterium=\v!here]}% \ctxlua{bibtex.hacks.reset(\number\bibtexoncemode)}% \placestructurelist{pubs}{\listparameter\c!criterium}{\listparameter \c!number}% only collects \ctxlua{bibtex.hacks.flush("\@@pbsorttype")}% \doendoflist}
Excellent, works again! Thanks, and I'll look into other things tomorrow. Thomas
Mojca Miklavec wrote:
The bib module almost works (Hans and Taco - thanks a lot!). But self-defined publication layouts seem to have problems or don't appear in the list of references at least:
\setuppublications [numbering=yes] \newbibfield[conference] \newbibfield[cobissid] \setuppublicationlayout[conference]{% \insertartauthors{}{\unskip. }{}% \insertarttitle{\bgroup }{\egroup. }{}% \insertconference{\bgroup \it}{\egroup\insertday{, }{. }{}\insertmonth{}{\ }{}\insertpubyear{}{}{}. }{}% \insertcobissid{[COBISS.SI-ID\ }{]}{}% } \startpublication[k=key,t=conference,y=2009,s=,u=] \artauthor[]{Me}[M.]{}{Personally} \arttitle{Very important title} \conference{Very important conference in Bochum} \pubyear{2009}\month{March}\day{16-20} \cobissid{42} \stoppublication \starttext \cite[key] \placepublications[criterium=all] \stoptext shows a cite and a description ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Jean Magnan de Bornier
-
Mojca Miklavec
-
Thomas A. Schmitz