All, I've begun summarizing the bibliography problems. Could you all see if your particular problem is mentioned here? If I missed something, please send your test files to the list or to me, please use the sample.bib which is now included in the minimals, and please make the test cases as short as possible. Hans and Taco, one general remark: one thing that is confusing is that the key/value pair "criterium=XXX" is present for the \setuppublications and for the \setuppublicationlist and for the \placepublications command, yet seems to do slightly different things in each. Maybe that's a place where the interface should be changed? Here's what I have so far: % Example 1, posted in a slightly different form by "Curiouslearn" on % 2010-11-25: Hagen 2010c is not quoted and should not be in the list of % references. On 2010-11-26, Mathieu Boespflug made a further observation on % the original testfile which I can't reproduce because it's too complex. Can % you show the effect by modifying this simple case? \setuppublications[state=start,refcommand=authoryear] \setupbibtex[database=sample] \starttext \section{Test} This \cite[hh2010a] and that \cite[Eijkhout1991] \section{References} \placepublications[criterium=all] \stoptext % Example 2: a spurious entry [4] in the list of references. \setuppublications[state=start,alternative=num] \setupbibtex[database=sample] \starttext \section{Test} This \cite[hh2010a] and that \cite[Eijkhout1991] \section{References} \placepublications[criterium=all] \stoptext % Example 3, posted by Mojca on 2010-11-29: horizontal spacing of list of % references is insufficient \setuppublications [alternative=num] \setuppublicationlayout[web]{% {\sc url}: \inserturl{}{}{}% } \dorecurse{1200}{\startpublication[k=a\recurselevel,t=web] \biburl{http://pragma-ade.nl}\stoppublication} \starttext \placepublications[criterium=all] \stoptext % Example 4, posted by Charles Doherty on 2010-10-20: no references are typeset \setuppublications[criterium=all,numbering=no] \setupbibtex[database=sample,sort=author] \starttext \section{References} \placepublications \stoptext Please add further short examples; I will aggregate and send everything to Hans. Thomas
I have a tiny feature request. I would like to have a separate "bibliography" for, say, list of figures. Basically all I ask for is the ability to have a separate "named" bibliography as opposed to a single list. But maybe I need to elaborate a bit more before sending request. It makes no sense to implement it in the wrong and unstatisfactory way. ... Just to mention it before I forget. Mojca
On 7-12-2010 3:26, Mojca Miklavec wrote:
I have a tiny feature request.
I would like to have a separate "bibliography" for, say, list of figures. Basically all I ask for is the ability to have a separate "named" bibliography as opposed to a single list.
no big deal in mkiv i guess
But maybe I need to elaborate a bit more before sending request. It makes no sense to implement it in the wrong and unstatisfactory way.
.... Just to mention it before I forget.
so how would that look at the input end? an extra key? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Tue, Dec 7, 2010 at 16:01, Hans Hagen
On 7-12-2010 3:26, Mojca Miklavec wrote:
I have a tiny feature request.
I would like to have a separate "bibliography" for, say, list of figures. Basically all I ask for is the ability to have a separate "named" bibliography as opposed to a single list.
no big deal in mkiv i guess
But maybe I need to elaborate a bit more before sending request. It makes no sense to implement it in the wrong and unstatisfactory way.
.... Just to mention it before I forget.
so how would that look at the input end? an extra key?
I should think about it a bit. But just a few possibilities ... At the moment I use: \startpublication [k=xy, t=xy] .... \stoppublication Options are: 1.) \startpublicationlist[images] or \startpublications[images] or ... \startpublication[k=xy,t=xy] .... \stoppublication ... \stoppublicationlist 2.) \startpublication[k=xy,t=xy,list=images] .... \stoppublication 3.) \startpublication[images][k=xy,t=xy] .... \stoppublication And then \placepublications[list=images] Then \cite would work in exactly the same way (one would not need to provide any extra key to cite itself). But one would need to think of a proper model to number the references. That is: it would have to be configurable to be able to either number images with roman instead of arabic numerals (or with a, b, c, ...), or to prepend something, like [img1], [img2], [img3] instead of [1], [2], [3]. Or simply let the user do "in \cite{figure}[xy]", or to number images with numbers bigger than other references. For example: Books: [1] [2] [3] Articles: [4] [5] [6] [7] Images: [8] [9] or Books: [1] [2] [3] Articles: [a1] [a2] [a3] [a3] Images: [i1] [i2] or any other user-configurable option for numbering ... However, having a properly designed model is better than having some ad-hoc solution that turns out not flexible enough or clumsy to use and buggy later on ... And yes, something that would allow splitting references across sections could just as well be used for this. It just needs to be designed properly ... (But section-based bibliography could work without any extra key, right?) And no, please don't count it as bug report. I just mentioned it because Hans wanted to have "a big bunch of everything at a single place". I suggest to reopen the topic and create exact specification before the actual implementation. Mojca
On Fri, 10 Dec 2010 14:18:20 +0100
Mojca Miklavec
I should think about it a bit. But just a few possibilities ... At the moment I use: \startpublication [k=xy, t=xy] .... \stoppublication
Options are:
When we think from the bibtex side, it would boil down to processing the "keyword=" key (which is already there in the bibtex specification). You could then order your "publications" with terms such as "keyword=image" "keyword=article" etc.
1.) \startpublicationlist[images] or \startpublications[images] or ... \startpublication[k=xy,t=xy] .... \stoppublication ... \stoppublicationlist
2.) \startpublication[k=xy,t=xy,list=images] .... \stoppublication
3.) \startpublication[images][k=xy,t=xy] .... \stoppublication
And then \placepublications[list=images]
Then \cite would work in exactly the same way (one would not need to provide any extra key to cite itself).
But one would need to think of a proper model to number the references. That is: it would have to be configurable to be able to either number images with roman instead of arabic numerals (or with a, b, c, ...), or to prepend something, like [img1], [img2], [img3] instead of [1], [2], [3]. Or simply let the user do "in \cite{figure}[xy]", or to number images with numbers bigger than other references. For example:
Books: [1] [2] [3] Articles: [4] [5] [6] [7] Images: [8] [9]
or
Books: [1] [2] [3] Articles: [a1] [a2] [a3] [a3] Images: [i1] [i2]
or any other user-configurable option for numbering ...
However, having a properly designed model is better than having some ad-hoc solution that turns out not flexible enough or clumsy to use and buggy later on ...
One syntax would be \placepublications[filter=image,prefix={img.},option=continue,numberconversion=romannumbers]
And yes, something that would allow splitting references across sections could just as well be used for this. It just needs to be designed properly ... (But section-based bibliography could work without any extra key, right?)
And no, please don't count it as bug report. I just mentioned it because Hans wanted to have "a big bunch of everything at a single place".
I suggest to reopen the topic and create exact specification before the actual implementation.
Yes, we can discuss it (on or off list) when it will be implemented. Thomas
On Dec 7, 2010, at 15:26 , Mojca Miklavec wrote:
I have a tiny feature request.
I would like to have a separate "bibliography" for, say, list of figures. Basically all I ask for is the ability to have a separate "named" bibliography as opposed to a single list.
Hi, I would also like to support the ability to put an arbitrary number of reference lists in different locations inside one document. I once had a report that had individual reference lists at the end of several sections. I'm not sure about the best way of implementing this. E.g. how do I select which publications are in which list. One could define a special key as suggested by Hans, or select by existing BibTeX keys like author, year, publisher etc. Another possibility would be to put all references which are in a specific bib-file in one list (when you have multiple bib-files). Also, as a feature request/bug report I repeat an earlier message: In BibTeX databases ranges of numbers are usually listed with a single dash (e.g. 3-7) for compatibility reasons. Therefore the standard BibTeX styles convert a single dash in page numbers or range of numbers to a double dash (3--7). It would be great to have this functionality for \volume \issue \pages in context as well. Thanks! Florian
participants (5)
-
Florian Wobbe
-
Hans Hagen
-
Mojca Miklavec
-
Thomas A. Schmitz
-
Thomas Schmitz