[NTG-context] Bibliographies in MkIV

2015-08-11 Thread Martin Moncrieffe
Hi all,

I'm unable to get the andtext option to \setupsite working. According to the 
old bib module manual, it should control the separation between two authors. 
Thus the following:

\setupbibtex[database=sample,sort=author]
\setuppublications[alternative=num]
\setupcite[left=(,right=),inbetween={,},andsep={,}]

\starttext

This is a test of the context citation module in 
MkIV\cite[hh2010a,Eijkhout1991]. 

\placepublications[criterium=text]
\stoptext

using  the following sample.bib 

@ARTICLE{hh2010a,
  author = hh,
  title = {The Font Name Mess},
  journal = {MAPS},
  year = {2010},
  volume = {40},
  pages = {2-8},
  keywords = {context},
}

@BOOK{Eijkhout1991,
  title = {\TeX\ by Topic. A \TeX nician's Reference},
  publisher = {Addison-Wesley},
  year = {1991},
  author = {Victor Eijkhout},
  address = {London},
  keywords = {general},
}

Should produce in the output (1,2) but instead produces (1 and 2).

Is there a quick fix?

Regards.

__martin

___
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] Bibliographies in mkiv - announcement and WARNING!

2015-03-11 Thread Hans Hagen

On 3/11/2015 9:50 AM, Robert Blackstone wrote:


On 9 Mar 2015, at 21:28 , Alan BRASLAU alan.bras...@cea.fr
mailto:alan.bras...@cea.fr


ANNOUNCEMENT



We introduced into the core of MKIV a dataset subsystem, not
necessarily limited to the generation of bibliographic lists. This new
subsystem has been part of the distribution for some time and an early
first draft of its documentation had been made available.

After putting the new system to heavy use in a real,
bibliographic-intensive book project, and after much fighting
back-and-forth over specifications and design choices, the upcoming
beta standalone distribution will finally contain this completely
revamped subsystem.
Hans and Alan (also with the help of Thomas and Luigi).


Hi Alan and Hans,
Maybe it is a bit early to ask questions already about this new
bibliography tool. But it really interests me and I do need it.

First of all, I compiled the ME and added a number of my own .bib
entries and they all came out well. It looks as if I can just continue
use my existing BibTex database in the new system and continue using
BibDesk for new items, which is a very good thing. No need to generate
.bbl’s separately. (Though I hope that ConTeXt will keep the possibility
to process .bbl’s as before.)


you can load a bbl file and it will be converted into the internal 
format and can then be used, assuming the bbl is sane



My questions are:
1 The ME contains no setup, no indication of a particular Bibliography
style. What comes out in the ME looks like apa. Are there style files
connected with this system? If so are they accessible for tweaking (I
need some rather uncommon Bibliography style, sort of apa-like but
different in many details)?


You need to load apa explicitly but there are some simple defaults for 
article, book and a few more.


When you roll out you rown you can do two things (will b eexplained in 
manual):


- copy the 'apa' files to 'foo' files
- replace all apa by foo
- tweak
- use foo

or

- define a new one foo
- that defaults to apa
- and only implment changes (with foo setups)


2 The \cite-command turns out just some number in square brackets, no
info on what is cited. Is that a bug?


- it's the default cite rendering


3 In the old system I used \dcite[key] for footnotes but \dcite is not
recognized now. Is there another way?


we are unware of such footnote commands but we do provide mathods to 
construct registers and such


upto Alan to explain more

Hans

-
  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
-
___
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] Bibliographies in mkiv - announcement and WARNING!

2015-03-11 Thread Robert Blackstone

On 9 Mar 2015, at 21:28 , Alan BRASLAU alan.bras...@cea.fr

 ANNOUNCEMENT

 We introduced into the core of MKIV a dataset subsystem, not
 necessarily limited to the generation of bibliographic lists. This new
 subsystem has been part of the distribution for some time and an early
 first draft of its documentation had been made available.
 
 After putting the new system to heavy use in a real,
 bibliographic-intensive book project, and after much fighting
 back-and-forth over specifications and design choices, the upcoming
 beta standalone distribution will finally contain this completely
 revamped subsystem. 
 Hans and Alan (also with the help of Thomas and Luigi).
 
Hi Alan and Hans,
Maybe it is a bit early to ask questions already about this new bibliography 
tool. But it really interests me and I do need it.

First of all, I compiled the ME and added a number of my own .bib entries and 
they all came out well. It looks as if I can just continue use my existing 
BibTex database in the new system and continue using BibDesk for new items, 
which is a very good thing. No need to generate .bbl’s separately. (Though I 
hope that ConTeXt will keep the possibility to process .bbl’s as before.)

My questions are:
1 The ME contains no setup, no indication of a particular Bibliography style. 
What comes out in the ME looks like apa. Are there style files connected with 
this system? If so are they accessible for tweaking (I need some rather 
uncommon Bibliography style, sort of apa-like but different in many details)?
2 The \cite-command turns out just some number in square brackets, no info on 
what is cited. Is that a bug?
3 In the old system I used \dcite[key] for footnotes but \dcite is not 
recognized now. Is there another way?

Best regards,
Robert Blackstone

___
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] Bibliographies in mkiv - announcement and WARNING!

2015-03-09 Thread Alan BRASLAU
ANNOUNCEMENT

The MKII bibliography module (\usemodule[bib]), described in
http://wiki.contextgarden.net/Bibliography
has undergone, first a re-write, keeping up with MKIV, then a complete
re-conception of the handling of bibliographies.

We introduced into the core of MKIV a dataset subsystem, not
necessarily limited to the generation of bibliographic lists. This new
subsystem has been part of the distribution for some time and an early
first draft of its documentation had been made available.

After putting the new system to heavy use in a real,
bibliographic-intensive book project, and after much fighting
back-and-forth over specifications and design choices, the upcoming
beta standalone distribution will finally contain this completely
revamped subsystem. Note that it is not yet complete, but has been
stabilized enough to make this revision available. The rewritten
documentation is not quite ready yet either, but a completely rewritten
new draft will be made available in a very short time. We promise!

* WARNING *

As details of the interface have changed and the documentation is not
quite there yet, do not attempt to use this for any serious project for
the moment. And if you are presently using the pre-beta version of the
new subsystem that has been distributed with the standalone,
DO NOT UPDATE your standalone unless you are prepared to see some
changes.

Hans and Alan (also with the help of Thomas and Luigi).



MWE

Below is a minimal working example:

\startbuffer [test]
@Article{article,
  Title= {Article title},
  Author   = {ArticleLastnameA, FirstnameA}
  # { and ArticleLastnameB, FirstnameB}
  # { and ArticleLastnameC, FirstnameC}
  # { and ArticleLastnameD, FirstnameD}
  # { and ArticleLastnameE, FirstnameE}
  # { and ArticleLastnameF, FirstnameF}
  # { and ArticleLastnameG, FirstnameG},
  Journal  = {Journal name},
  Year = {},

  Note = {note...},
  Number   = {number},
  Pages= {ff--tt},
  Volume   = {volume},

  Doi  = {doi|-|specification},
  Keywords = {keyword1; keyword2; keyword3},
}

@Book{book,
  Title= {Book title},
  Title= {Title2},
  Author   = {BookAuthorLastnameA, Firstname
  and BookAuthorLastnameB, Firstname Middle
  and BookAuthorLastnameC, Firstname-Combined},
  Editor   = {EditorLastname, Firstname},
  Editor   = {EditorLastname2, Firstname},
  Publisher= {Publisher},
  Year = {},

  Address  = {Address},
  Edition  = {edition},
  Keywords = {book},
}
\stopbuffer

\usebtxdataset[test.buffer]

\starttext

\cite[article,book]

\startbackmatter

\startchapter[title=Bibliography]
\placelistofpublications
\stopchapter

\stopbackmatter

\stoptext

___
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] Bibliographies in mkiv - announcement and WARNING!

2015-03-09 Thread Hans Hagen

On 3/9/2015 6:47 PM, Pablo Rodriguez wrote:

On 03/09/2015 03:14 PM, Alan BRASLAU wrote:

* WARNING *

As details of the interface have changed and the documentation is not
quite there yet, do not attempt to use this for any serious project for
the moment. And if you are presently using the pre-beta version of the
new subsystem that has been distributed with the standalone,
DO NOT UPDATE your standalone unless you are prepared to see some
changes.


Hi Alan,

I guess the changes only affect to the bibliography subsystem.

I mean, if bibliographies aren’t used, updating to the new beta would be
as risky as any other update, wouldn’t it?


no, but as there has been some additions to other modules we need to 
beta in order to stay in sync .. it's not different from other betas 
apart from a change in the way one sets up a bibliography which can 
affect some users (no big deal once it's known how, hopefully easier)


the bibliographic subsystem itself is a complex thing using several 
other subsystems and it operates on multiple axis at the same time 
(datasets, renderings, lists, citations, standards like apa, fallbacks, 
clever searching, sorting, tracing, user control, etc) so it took some 
time (and a couple of test implementations) to see what way to set it up 
works best (it has to fit into the context way of doing); also we 
implemented a rather complete apa spec as test but the aps setup is not 
yet updated


-
  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
-
___
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
___