Re: [NTG-context] m-bib module

2006-08-09 Thread Sanjoy Mahajan
> Try 'authoryear' or 'authoryears' if you want to have both, the author
> and the year.
> 
> Could you try
>\setupcite[authoryears][authoretallimit=2]
>\setupcite[authoryear][authoretallimit=2]
> maybe it works. (I still have an older ConTeXt and no time to test.)

Thanks, the

  \setupcite[authoryears][authoretallimit=2]

fixes it.  (And in the latest bib module, Taco has fixed the need for
that line.)

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2006-08-09 Thread Taco Hoekwater
Sanjoy Mahajan wrote:
>>No, it is all my fault, sorry. For a quick fix, please add this
>>   \setupcite[authoryears][authoretallimit=2]
>>to your document. I will upload a fixed version asap.
> 
> 
> Thanks, that fixes it.

Great.

Meanwhile I have also uploaded a fixed version, but the \setupcite
statement is a user-level command that is there to stay so there
is no real reason to update right now.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2006-08-09 Thread Sanjoy Mahajan
> No, it is all my fault, sorry. For a quick fix, please add this
>\setupcite[authoryears][authoretallimit=2]
> to your document. I will upload a fixed version asap.

Thanks, that fixes it.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2006-08-09 Thread Tobias Burnus
Hi,

> I have the same problem with the latest ConTeXt (ver:2006.08.08 21:51,
> fmt: 2006.8.8).  The following example produces (Pound, 1959) as the
> citation in the text rather than giving (Pound and Rebka, 1959).

> If I
> use \cite[author][Pound-Rebka:1959] to make sure the style is
> 'author', then I get (Pound) in the text, with no year.  Probably I'm
> doing something silly?
>   
Try 'authoryear' or 'authoryears' if you want to have both, the author
and the year.

Could you try
   \setupcite[authoryears][authoretallimit=2]
   \setupcite[authoryear][authoretallimit=2]
maybe it works. (I still have an older ConTeXt and no time to test.)

Tobias
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2006-08-09 Thread Taco Hoekwater


Sanjoy Mahajan wrote:
>>>I have just installed the latest version of m-bib. Where I had before a 
>>>citation "alpher and bethe" with \cite[author] for a bib-item with two 
>>>authors I get only the first now. What has to be changed in order to get 
>>>two authors in the text while for more than two there will be "alpher et 
>>>al."?
>>
>>You have to update your base context distribution as well.
> 
> 
> I have the same problem with the latest ConTeXt (ver:2006.08.08 21:51,
> fmt: 2006.8.8).  The following example produces (Pound, 1959) as the
> citation in the text rather than giving (Pound and Rebka, 1959).  If I
> use \cite[author][Pound-Rebka:1959] to make sure the style is
> 'author', then I get (Pound) in the text, with no year.  Probably I'm
> doing something silly?

No, it is all my fault, sorry. For a quick fix, please add this

   \setupcite[authoryears][authoretallimit=2]

to your document. I will upload a fixed version asap.

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2006-08-09 Thread Sanjoy Mahajan
> > I have just installed the latest version of m-bib. Where I had before a 
> > citation "alpher and bethe" with \cite[author] for a bib-item with two 
> > authors I get only the first now. What has to be changed in order to get 
> > two authors in the text while for more than two there will be "alpher et 
> > al."?
> 
> You have to update your base context distribution as well.

I have the same problem with the latest ConTeXt (ver:2006.08.08 21:51,
fmt: 2006.8.8).  The following example produces (Pound, 1959) as the
citation in the text rather than giving (Pound and Rebka, 1959).  If I
use \cite[author][Pound-Rebka:1959] to make sure the style is
'author', then I get (Pound) in the text, with no year.  Probably I'm
doing something silly?


\usemodule[bib]

\setuppublicationlist[samplesize={Mid91},totalnumber=1]

\startpublication[k=Pound-Rebka:1959,t=article,
a={{Pound},{Rebka}},y=1959,n=1,s=PR59]
\artauthor[]{R.~V.}[R.~V.]{}{Pound}
\artauthor[]{G.~A.}[G.~A.]{}{Rebka}
\pubyear{1959}
\arttitle{Gravitational red-shift in nuclear resonance}
\journal{Physical Review Letters}
\volume{3}
\pages{439--441}
\stoppublication

\starttext
An incredibly tiny effect!  To find out how it was measured, see their
paper:
\cite[Pound-Rebka:1959].
\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2006-08-09 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote:
> Hi there,
> 
> I have just installed the latest version of m-bib. Where I had before a 
> citation "alpher and bethe" with \cite[author] for a bib-item with two 
> authors I get only the first now. What has to be changed in order to get 
> two authors in the text while for more than two there will be "alpher et 
> al."?

You have to update your base context distribution as well.

Cheers,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2004-10-29 Thread Adam Lindsay
Martin_Kolarik said this at Fri, 29 Oct 2004 08:52:14 +0200:

>Yes, I can see my test file :-) -- you should get the list in the test file
>if you state
>
>\setuppublicationlist
>  [criterium=all]
>
>or
>
>\setuppublicationlist
>  [criterium=section]
>
>for the list of pubs from the current section only.

o!
Thanks so much for spelling this out. I was getting very confused because
it wasn't matching up with my last major m-bib-using project, and I
didn't notice that option under \setuppublicationlist.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2004-10-29 Thread Taco Hoekwater

Hi Martin/Adam,

Thank you for investigating this, you have saved me an enormous amount of 
debugging work, I think. 

It is not completely clear to me if I really should change to the module. 
I could insert a 'criterium=all' as default for the list, but since it 
suddenly stopped working, it looks like there is a ConTeXt bug involded 
somewhere. That probably merits investigation as well.

Greetings, Taco

On Fri, 29 Oct 2004 08:52:14 +0200
Martin Kolarik <[EMAIL PROTECTED]> wrote:

> Yes, I can see my test file :-) -- you should get the list in the test file
> if you state
> 
> \setuppublicationlist
>   [criterium=all]
> 
> or
> 
> \setuppublicationlist
>   [criterium=section]
> 
> for the list of pubs from the current section only.
> 
> I succeeded after this,
> 
> have a nice day,
> 
> Martin
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Adam Lindsay
> Sent: Thursday, October 28, 2004 11:01 PM
> To: [EMAIL PROTECTED]; mailing list for ConTeXt users; Taco Hoekwater
> Subject: Re: [NTG-context] m-bib module
> 
> 
> Martin Kolarik said this at Thu, 28 Oct 2004 20:14:55 +0200:
> 
> >2. if I used simply \placepublications (or \placelist[pubs]) I got nothing.
> >And after some tracing I found that I did not set criterium=something.
> 
> Hum. Thanks for the response, but I tried a minimal file, and it all
> became clear.
> 
> If there's a \section in my test file, \placelist[pubs] and its variants
> doesn't work. If I take it out, the list appears just fine.
> 
> Huh?
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
>  Lancaster University, InfoLab21+44(0)1524/510.514
>  Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> ___
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> ___
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] m-bib module

2004-10-28 Thread Martin Kolarik
Yes, I can see my test file :-) -- you should get the list in the test file
if you state

\setuppublicationlist
  [criterium=all]

or

\setuppublicationlist
  [criterium=section]

for the list of pubs from the current section only.

I succeeded after this,

have a nice day,

Martin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Adam Lindsay
Sent: Thursday, October 28, 2004 11:01 PM
To: [EMAIL PROTECTED]; mailing list for ConTeXt users; Taco Hoekwater
Subject: Re: [NTG-context] m-bib module


Martin Kolarik said this at Thu, 28 Oct 2004 20:14:55 +0200:

>2. if I used simply \placepublications (or \placelist[pubs]) I got nothing.
>And after some tracing I found that I did not set criterium=something.

Hum. Thanks for the response, but I tried a minimal file, and it all
became clear.

If there's a \section in my test file, \placelist[pubs] and its variants
doesn't work. If I take it out, the list appears just fine.

Huh?
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2004-10-28 Thread Adam Lindsay
Martin Kolarik said this at Thu, 28 Oct 2004 20:14:55 +0200:

>2. if I used simply \placepublications (or \placelist[pubs]) I got nothing.
>And after some tracing I found that I did not set criterium=something. 

Hum. Thanks for the response, but I tried a minimal file, and it all
became clear.

If there's a \section in my test file, \placelist[pubs] and its variants
doesn't work. If I take it out, the list appears just fine.

Huh?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] m-bib module

2004-10-28 Thread Martin Kolarik
Hi all,

first I must apologize for delayed (and now induced by Adam too :-)
response. What I have found:

1. startpublication stores data in a stream of data written as is without
any processing. It was my first error -- I use XML and I created publication
full of \XMLops and \XMLflushes, so in the time of usage of the publication
all these macros expanded to empty string. So I have to rewrite XML handler
:-)

2. if I used simply \placepublications (or \placelist[pubs]) I got nothing.
And after some tracing I found that I did not set criterium=something. After
correcting this, publications appeared correctly. I did not continue to
check code after this success, but it seems to me the criterium parameter is
NOT set for publication list by default. My mistake was I did not trust the
bib module documentation, as I expected (myself :-) it is a good habit in
the ConTeXt to set defaults of parameters to the values which allow user for
the first hit catch reasonable output.

So maybe this helps,

have a nice day,

Martin

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Adam Lindsay
> Sent: Thursday, October 28, 2004 7:44 PM
> To: mailing list for ConTeXt users; Taco Hoekwater
> Subject: Re: [NTG-context] m-bib module
>
>
> Taco Hoekwater said this at Tue, 19 Oct 2004 16:44:14 +0200:
>
> >It works here, but I am not sure if that means anything. Can you try
> >
> > texexec --version
> >
> >and perhaps e-mail me a small (wrong) file as well?
>
> I just discovered this didn't work for me, either!
>
> Latest ConTeXt, just-downloaded m-bib-2004-08-30.zip.
>
> The key is here:
> (./ReportLindsay.tuo)
> system : pubs not found/processed
>
> It simply doesn't find the pubs list, but it's in the .tuo file!
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
>  Lancaster University, InfoLab21+44(0)1524/510.514
>  Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> ___
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2004-10-28 Thread Adam Lindsay
Taco Hoekwater said this at Tue, 19 Oct 2004 16:44:14 +0200:

>It works here, but I am not sure if that means anything. Can you try
>
>   texexec --version
>
>and perhaps e-mail me a small (wrong) file as well?

I just discovered this didn't work for me, either!

Latest ConTeXt, just-downloaded m-bib-2004-08-30.zip.

The key is here:
(./ReportLindsay.tuo)
system : pubs not found/processed

It simply doesn't find the pubs list, but it's in the .tuo file!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2004-10-19 Thread Taco Hoekwater
Martin Kolarik wrote:
Hi Taco,
I am in doubt with \placepublications (\completepublications) -- it seems to
me it does not work now. If I define publication in the text
(\startpublication...) I am able to cite it (\cite), but \placepublications
does not generate any output.
It works here, but I am not sure if that means anything. Can you try
texexec --version
and perhaps e-mail me a small (wrong) file as well?
Greetings, Taco
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] m-bib module

2004-10-19 Thread Martin Kolarik
Hi Taco,

I am in doubt with \placepublications (\completepublications) -- it seems to
me it does not work now. If I define publication in the text
(\startpublication...) I am able to cite it (\cite), but \placepublications
does not generate any output.

Maybe it is some new stuff -- I remember the publications in the bib module
documentation (your PDF in bib module distribution zip) in the middle of
August, but now the PDF the last \completepublications does not contain.

Thanks for any hints,

Martin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Taco Hoekwater
Sent: Monday, October 18, 2004 1:46 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] m-bib module



Hi Fabrice,

Sorry, I forgot to migrate my alpha bib module when the context alpha
became the 'current distribution'. My latest module is/was still here:

http://tex.aanhet.net/bib/alpha/

I will fix the website a.s.a.p.

On Mon, 18 Oct 2004 13:40:34 +0200, Fabrice wrote:

> I guess the new module is the one using t-bib.tex and t-list.tex.
>


--
groeten,

Taco
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] m-bib module

2004-10-18 Thread Fabrice Popineau
> Sorry, I forgot to migrate my alpha bib module when the context alpha
> became the 'current distribution'. My latest module is/was still here:
> 
>   http://tex.aanhet.net/bib/alpha/
> 
> I will fix the website a.s.a.p.

Many thanks !

Fabrice

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2004-10-18 Thread Taco Hoekwater

Hi Fabrice,

Sorry, I forgot to migrate my alpha bib module when the context alpha
became the 'current distribution'. My latest module is/was still here:

http://tex.aanhet.net/bib/alpha/

I will fix the website a.s.a.p. 

On Mon, 18 Oct 2004 13:40:34 +0200, Fabrice wrote:

> I guess the new module is the one using t-bib.tex and t-list.tex.
> 


-- 
groeten,

Taco
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] m-bib module

2004-10-18 Thread Fabrice Popineau
> this is related to the low level interface that is now english, so, one
> needs the latest bib module
> 
>http://tex.aanhet.net/bib/
> 

Unfortunately, I'm already using it. So either the real new one is hidden
somewhere else or there is still a problem.

system : macros of module bib loaded

(c:\Documents and Settings\popineau\My
Documents/texmf/tex/context/bib/t-bib.tex
! Undefined control sequence.
l.332 \definieerlijst
 [pubs][pubs]
? 
system : macros of module list loaded

(c:\Documents and Settings\popineau\My
Documents/texmf/tex/context/bib/t-list.tex)
! Undefined control sequence.
 \c!nummercommando 
 =\bibleftnumber

I guess the new module is the one using t-bib.tex and t-list.tex.

Fabrice


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2004-10-18 Thread Hans Hagen
Fabrice Popineau wrote:
I get an error recently with the m-bib module, probably due to some misuse
of it:
(c:\Documents and Settings\popineau\My
Documents/texmf/tex/context/bib/t-bib.tex
! Undefined control sequence.
l.332 \definieerlijst
 [pubs][pubs]
?
system : macros of module list loaded
(c:\Documents and Settings\popineau\My
Documents/texmf/tex/context/bib/t-list.tex)
! Undefined control sequence.
 \c!nummercommando
 =\bibleftnumber
\xprocesscommaitem #1,#2->\if ,#1
 ,[EMAIL PROTECTED] \xprocesscommaitem \else \if
[EMAIL PROTECTED]
 ...mmando =\bibleftnumber , \c!variant
  =,\c!variant =apa
\xdogetparameters #1]->\xprocesscommaitem #1
,],[EMAIL PROTECTED]@
\dosetuppublications ...tnumber , \c!variant =,#1]
  \doifsomething
{\@@pbvaria...
l.1215[\c!variant=apa]
?
Any clue how to fix this ?
this is related to the low level interface that is now english, so, one 
needs the latest bib module

  http://tex.aanhet.net/bib/
Sorry for the inconvenience
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] m-bib module

2004-10-18 Thread Fabrice Popineau
I get an error recently with the m-bib module, probably due to some misuse
of it:


(c:\Documents and Settings\popineau\My
Documents/texmf/tex/context/bib/t-bib.tex
! Undefined control sequence.
l.332 \definieerlijst
 [pubs][pubs]
?
system : macros of module list loaded

(c:\Documents and Settings\popineau\My
Documents/texmf/tex/context/bib/t-list.tex)
! Undefined control sequence.
 \c!nummercommando
 =\bibleftnumber
\xprocesscommaitem #1,#2->\if ,#1
 ,[EMAIL PROTECTED] \xprocesscommaitem \else \if
[EMAIL PROTECTED]
 ...mmando =\bibleftnumber , \c!variant
  =,\c!variant =apa
\xdogetparameters #1]->\xprocesscommaitem #1
,],[EMAIL PROTECTED]@
\dosetuppublications ...tnumber , \c!variant =,#1]
  \doifsomething
{\@@pbvaria...
l.1215[\c!variant=apa]

?

Any clue how to fix this ?

Thanks in advance,

Fabrice 



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib module

2004-09-07 Thread Taco Hoekwater

Hi art,

You need to delete the files indicated below, since they are left over from 
an old version of the bib module. The bib style files in your tex/context/bib 
dir are newer and use commands that are not in the older m-bib that gets
loaded by context.

> (/usr/local/teTeX/share/texmf.local/tex/context/extra/m-bib/m-bib.tex
> (/usr/local/teTeX/share/texmf.local/tex/context/extra/m-bib/m-list.tex


This confusion is my fault in a way, because the newer release uses t-XXX.tex 
filenames instead of m-XXX.tex (different module prefix) and I forgot to 
advertise that. Apparently context searches for m- files before t- files.


Greetings, Taco

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context