On Tue, Dec 7, 2010 at 16:01, Hans Hagen <pra...@wxs.nl> wrote:
> 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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to