Re: [NTG-context] \setuppublications problem

2011-03-12 Thread Thomas Schmitz

On Sat, 12 Mar 2011 08:37:28 +0100
 Jean Magnan de Bornier jm.born...@free.fr wrote:


Fair enough. Here:
.
\setupbibtex [database=/home/jean/biblio]
\setuppublications[alternative=apa]

\starttext


{\bf Bibliography}

\nocite[hh2010a,hh2010b,Eijkhout1991]
\placepublications
\stoptext



Have you tried \placepublications[criterium=all] or 
\placepublications[criterium=text]?
 

biblio.bib is a file already known to some:


So it's sample.bib. It would have made helping easier if 
you had said that.


Thomas
___
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] \setuppublications problem

2011-03-12 Thread Jean Magnan de Bornier
Le 12 mars à 11:09:55 Thomas Schmitz tschm...@uni-bonn.de écrit notamment:

| On Sat, 12 Mar 2011 08:37:28 +0100
|  Jean Magnan de Bornier jm.born...@free.fr wrote:

| Fair enough. Here:
|  .
|  \setupbibtex [database=/home/jean/biblio]
|  \setuppublications[alternative=apa]
| 
|  \starttext
| 
| 
|  {\bf Bibliography}
| 
|  \nocite[hh2010a,hh2010b,Eijkhout1991]
|  \placepublications
|  \stoptext
|  

| Have you tried \placepublications[criterium=all] or
| \placepublications[criterium=text]?

These are working, thanks.


-- 
Jean
___
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] \setuppublications problem

2011-03-12 Thread Florian Wobbe
 Have you tried \placepublications[criterium=all] or 
 \placepublications[criterium=text]?

Hi Thomas,

you gave me exactly the same hint last week. We should add criterium=cite and 
criterium=text to the Wiki (Bibliography MKIV page: 
http://wiki.contextgarden.net/Bibliography_mkiv).

In the beginning it was not clear to me, that 
http://wiki.contextgarden.net/Bibliography refers to the MKII implementation of 
Taco. Therefore, I would suggest to rename Bibliography to Bibliography_mkii 
and create an alias Bibliography that redirects to Bibliography_mkiv instead. 
In the wiki pages Bibliography_mkiv and Bibliography_mkii the first sentence 
should state that the page is related to mkii/mkiv only and link to the other 
page. Do you think this is reasonable?

I would like to add a section on customising bibstyle files and add space for 
sharing reference styles of different journals. What do you think?

In general I find it difficult to differentiate between mkiv and mkii related  
information in the wiki. How could we better structure the wiki to make it 
easier for the reader? Disambiguation pages, mkiv/mkii sections, independent 
pages with mkiv/mkii in headerline?

Best,
Florian

___
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] \setuppublications problem

2011-03-12 Thread Thomas Schmitz

Hi Florian,

On Sat, 12 Mar 2011 11:45:16 +0100
 Florian Wobbe florian.wo...@awi.de wrote:
Have you tried \placepublications[criterium=all] or 
\placepublications[criterium=text]?


Hi Thomas,

you gave me exactly the same hint last week. 


Not only that, but someone gave exactly the same hint to 
Jean in December...


We should
add criterium=cite and criterium=text to the Wiki 
(Bibliography MKIV page: 
http://wiki.contextgarden.net/Bibliography_mkiv).


You are of course right, but I assume Hans is working on 
bibliographies right now (he promised to finish something 
which I need for a project in March, so that leaves him 
another two weeks ;-), so we should maybe wait a bit. 
criterium=cite should work as well, but doesn't right now.


In the beginning it was not clear to me, that 
http://wiki.contextgarden.net/Bibliography refers to the 
MKII implementation of Taco. Therefore, I would suggest 
to rename Bibliography to Bibliography_mkii and create an 
alias Bibliography that redirects to Bibliography_mkiv 
instead. In the wiki pages Bibliography_mkiv and 
Bibliography_mkii the first sentence should state that 
the page is related to mkii/mkiv only and link to the 
other page. Do you think this is reasonable?


I had begun rewriting the page. There is now 
http://wiki.contextgarden.net/Bibliographies which links 
to the other pages, and which is linked to on the front 
page. But another context-related project kept me away 
from this and I never finished this, so fell free to 
shuffle and rewrite things!


I would like to add a section on customising bibstyle 
files and add space for sharing reference styles of 
different journals. What do you think?


Again, that's a very good idea, but we should maybe wait 
just a bit till the dust settles a bit.
 
In general I find it difficult to differentiate between 
mkiv and mkii related  information in the wiki. How could 
we better structure the wiki to make it easier for the 
reader? Disambiguation pages, mkiv/mkii sections, 
independent pages with mkiv/mkii in headerline?
 
Just my 2 cents on this: difficult, because you won't be 
able to make everybody happy. Every now and then, I see a 
new user on the list who asks about installing mkiv and 
doesn't realize that it is not really something which you 
have to install additionally. We shouldn't scare those 
users because in so many cases, mkii and mkiv are exactly 
identical, so that would be an arguments against a too 
stric separation. But of course you're also right that 
it's frustrating for users if they can't find relevant 
information for the areas where the two differ. As long as 
mkiv hasn't settled, this is not easy...


All best

Thomas
___
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] \setuppublications problem

2011-03-12 Thread John Haltiwanger
On Sat, Mar 12, 2011 at 6:08 AM, Thomas Schmitz tschm...@uni-bonn.dewrote:

 Hi Florian,


 On Sat, 12 Mar 2011 11:45:16 +0100
  Florian Wobbe florian.wo...@awi.de wrote:

 Have you tried \placepublications[criterium=all] or
 \placepublications[criterium=text]?



 We should

 add criterium=cite and criterium=text to the Wiki (Bibliography MKIV page:
 http://wiki.contextgarden.net/Bibliography_mkiv).


 You are of course right, but I assume Hans is working on bibliographies
 right now (he promised to finish something which I need for a project in
 March, so that leaves him another two weeks ;-), so we should maybe wait a
 bit. criterium=cite should work as well, but doesn't right now.


This is exciting. I think it's very important that we throw out BibTeX
altogether in MkIV, and I hope that this work Hans is doing right now is
somehow related to it. If it were ever possible to implement bibliography
styles with something akin to string.format Lua calls, well, who wouldn't
love that kind of flexibility?
___
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] \setuppublications problem

2011-03-11 Thread Thomas A. Schmitz


On Mar 10, 2011, at 3:38 PM, Jean Magnan de Bornier wrote:

Using the last mkiv from the minimals, \setuppublications seems out  
of order.


If I write:
..
\setupbibtex [database=/home/jean/biblio]
\setuppublications[alternative=apa]

\starttext


{\bf Bibliography}

\nocite[foo, bla, blu]
\placepublications
\stoptext
...

the pub list is empty. But if comment out this line the bibliography  
is

printed; it works also ok with

\setuppublications[]



Difficult to answer, I don't have the file /home/jean/biblio. Maybe  
make a real example?


Thomas
___
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] \setuppublications problem

2011-03-11 Thread Jean Magnan de Bornier
Le 11 mars à 13:00:51 Thomas A. Schmitz thomas.schm...@uni-bonn.de écrit 
notamment:

| On Mar 10, 2011, at 3:38 PM, Jean Magnan de Bornier wrote:

|  Using the last mkiv from the minimals, \setuppublications seems out
|  of order.
| 
|  If I write:
|  ..
|  \setupbibtex [database=/home/jean/biblio]
|  \setuppublications[alternative=apa]
| 
|  \starttext
| 
| 
|  {\bf Bibliography}
| 
|  \nocite[foo, bla, blu]
|  \placepublications
|  \stoptext
|  ...
| 
|  the pub list is empty. But if comment out this line the bibliography
|  is
|  printed; it works also ok with
| 
|  \setuppublications[]
| 

| Difficult to answer, I don't have the file /home/jean/biblio. Maybe
| make a real example?

Fair enough. Here:
.
\setupbibtex [database=/home/jean/biblio]
\setuppublications[alternative=apa]

\starttext


{\bf Bibliography}

\nocite[hh2010a,hh2010b,Eijkhout1991]
\placepublications
\stoptext


biblio.bib is a file already known to some:


@STRING{hh = {Hans Hagen}}

@ELECTRONIC{hh2010,
  author = hh,
  year = {2010},
  title = {Metafun. \CONTEXT\ mkiv},
  url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf},
}

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

@ARTICLE{hh2010b,
  author = hh,
  title = {Grouping in Hybrid Environments},
  journal = {MAPS},
  year = {2010},
  volume = {40},
  pages = {67-71},
  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},
}
...

With mkiv I get an output without the bibliography; but dropping
alternative=apa everything is fine (I tried other alternatives).

tia,
-- 
Jean
___
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
___