[NTG-context] New bib module release

2006-08-04 Thread Taco Hoekwater
Hi all,

I have just uploaded a new version of the bib module to

   http://modules.contextgarden.net/bib

It should become automatically included in the next ConTeXt
release, as always.

New features:

* Added support for configuration of \completepublicationlist,
   using \setuppublicationlist[title=\chapter]
* The module now uses the expansion of \headtext{pubs}, so that
   PDF bookmarks should come out alright.
* A hook is added for support of repeated author suppression in
   the publication list:
 \setuppublicationlist[artauthorcommand=\threeargs]
   (see the manual for a bit more information)
* The bracketed arguments of \artauthor, \author and \editor
   (bbl commands) are now optional.
* Minor updates to the documentation

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


Re: [NTG-context] New bib module release (2006.07.13)

2006-07-18 Thread Taco Hoekwater

Hi Tobias,

Your bugs are a bit bizarre. It is not as hot now as it was
yesterday evening, so  I can think better now.

Tobias Burnus wrote:
 However, I still have some problems (see attached testcase):

Testfile runs fine here: no empty braces except for 'url',
which is correct.

 \cite[doi][Slater1954] % produces [  http://dx.doi.org//1498];
 with superfluous space and DOI-URL not DOI.
 Expected: shows 10.1103/Phys not http://; ...

This would have fixed it:

   \setupcite[doi][interaction=stop]

But my next version makes this automatic by checking the value
of the global interaction mode.

 (The superfluous space disappears when using
 \setupinteraction[state=start].)

There is no superfluous space when I try it, so I cannot reproduce
the problem. Are you sure your local system is loading the right files?

 I have another feature with for \cite[author*][...]: I'd like to limit
 the displayed name to the family name of the first author. Currently, I
 have:   (Firstauthor and Lastauthor,1954) or (Firstauthor et al.,2005),
 however to save space I'd like to have only (Firstauthor,2005). I see
 andtext, otherstext, but miss the authoretallimit, which I would set to one.

My next upload (momentarily) will support:

   \setupcite[author][authoretallimit=1,
  otherstext=]

Just wait five minutes or so

 Does APA really uses several authors for authoryear?

I do not think so (the bib module doesnt)

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


Re: [NTG-context] New bib module release (2006.07.13)

2006-07-18 Thread Tobias Burnus
Hi Taco,

Taco Hoekwater schrieb:
 Your bugs are a bit bizarre.
Fully granted. And (at least with today's t-bib) I cannot reproduce them
anymore ...

 My next upload (momentarily) will support:
\setupcite[author][authoretallimit=1,
   otherstext=]
   
Thanks! It now works as wanted :-)

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


Re: [NTG-context] New bib module release (2006.07.13)

2006-07-17 Thread Tobias Burnus
Hello Taco et al.,

Taco Hoekwater wrote:
 After a fairly long list of betas, I have just uploaded a new
 release of the bibliographic module to contextgarden.net
   
I have two observations and one question.

If I use interactivity,
  \cite[year][myRef]
links to the \placepublications[criterium=all] list.
However, if I use  \cite[authoryear][myRef], it does not.

\cite[doi][Slater1954] shows something like
[Slater195410.1103/PhysRev.94.1498]
rather than 10.1103/PhysRev.94.1498

Has anyone an idea what goes wrong here:
   \def\onlinecite[#1]{\cite[left=,right=][#1]}
[...]
   \onlinecite[myRef] % does not work, shows []
Logfile: publications : warning: cite argument myRef unknown on 109

However, using \cite[left=,right=][myRef]  directly works.

Tobias

PS: This is with ConTeXt 2006.07.14 12:08 and t-bib 2006.07.14
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] New bib module release (2006.07.13)

2006-07-17 Thread Taco Hoekwater

Hi Tobias

Tobias Burnus wrote:
 
 I have two observations and one question.
 
 If I use interactivity,
   \cite[year][myRef]
 links to the \placepublications[criterium=all] list.
 However, if I use  \cite[authoryear][myRef], it does not.

This one is a case of NIY: If you really need interactivity, use

   \setupcite[authoryear][compress=no]

for now. I'll fix this in the next feature release (not impossible,
but needs a fair amount of juggling with \commalist-lists).

 \cite[doi][Slater1954] shows something like
 [Slater195410.1103/PhysRev.94.1498]
 rather than 10.1103/PhysRev.94.1498

This is a bug introduced by the new reference system that I will
fix soon (hopefully tomorrow). If I am not mistaen, \cite[url]
has a related problem.

 Has anyone an idea what goes wrong here:
\def\onlinecite[#1]{\cite[left=,right=][#1]}
 [...]
\onlinecite[myRef] % does not work, shows []
 Logfile: publications : warning: cite argument myRef unknown on 109
 
 However, using \cite[left=,right=][myRef]  directly works.

That maes absolutely no sense at all. Do you have a minimal
file to play with?

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


Re: [NTG-context] New bib module release (2006.07.13)

2006-07-17 Thread Tobias Burnus
Hi Taco,

Taco Hoekwater wrote:
 This one is a case of NIY: If you really need interactivity, use
\setupcite[authoryear][compress=no]
 for now.
That is fine with me, (I think) I won't have one author with several
years thus compression is not important in this case.

 \cite[doi][Slater1954] shows something like
  [Slater195410.1103/PhysRev.94.1498]
  rather than 10.1103/PhysRev.94.1498
Ups, this is seemingly a bug in my environment file (which I recycled
from 2004). One definition clashes with t-bib.tex's gotoDOI. But there
is nontheless a bug (see below).

 Has anyone an idea what goes wrong here:
\def\onlinecite[#1]{\cite[left=,right=][#1]}
 [...]
\onlinecite[myRef] % does not work, shows []
 Logfile: publications : warning: cite argument myRef unknown on 109
 
Hmm, I don't know why, but this part works now :-/
I should definitely better test.

However, I still have some problems (see attached testcase):

\setuppublications[alternative=apa]

\cite[author][Slater1954] % produces ()

\cite[year][Slater1954] % produces ()

\cite[...][Slater1954]  with ... key, serial, page and type produces
[] (some might be ok, though)

\cite[doi][Slater1954] % produces [  http://dx.doi.org//1498];
with superfluous space and DOI-URL not DOI.
Expected: shows 10.1103/Phys not http://; ...
(The superfluous space disappears when using
\setupinteraction[state=start].)

And using \setuppublications[alternative=aps], I find:

Looks in principle ok, except for the same [doi] as above.

-

I have another feature with for \cite[author*][...]: I'd like to limit
the displayed name to the family name of the first author. Currently, I
have:   (Firstauthor and Lastauthor,1954) or (Firstauthor et al.,2005),
however to save space I'd like to have only (Firstauthor,2005). I see
andtext, otherstext, but miss the authoretallimit, which I would set to one.

Frankly, I have never seen references of the form (Several authors,
year); I do know, however, references of the form several authors
(year). Does APA really uses several authors for authoryear? The name
suggest not, only for authorsyear I would expect it.

If you default to one author for authoryear and author, I'd not mind
to have a authors beside author.

Tobias


mytest.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] New bib module release (2006.07.13)

2006-07-14 Thread Taco Hoekwater


Hans Hagen wrote:
thanks for the new version! I didn't have time to play with your  
latest beta, but the new release appears to have a problem: numbered  
references don't seem to work! I found an older post to the list by  

Hans' comment below this point was right, but in this case it really
didn't work. I've just finished uploading a new version that should
be better.

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


Re: [NTG-context] New bib module release (2006.07.13)

2006-07-14 Thread Thomas A. Schmitz

On Jul 14, 2006, at 10:19 AM, Taco Hoekwater wrote:

 Hans' comment below this point was right, but in this case it really
 didn't work. I've just finished uploading a new version that should
 be better.

 Cheers, Taco

Of course Hans was right, but the problem persisted. Thanks for the  
new version, Taco, it works beautifully now! I'm still experiencing  
some problems with the structure of my projects (I have split up a  
lengthy book into several components and frontmatter, bodymatter, and  
backmatter: references are OK when I have component foo in the  
backmatter yet disappear when I put the same component into the  
frontmatter or bodymatter block), but you had warned me that the  
module may not work with such projects, and I may simply have to copy  
everything into one big file at the end of the editing process.

Thanks, and best

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


[NTG-context] New bib module release (2006.07.13)

2006-07-13 Thread Taco Hoekwater
Hi all,

After a fairly long list of betas, I have just uploaded a new
release of the bibliographic module to contextgarden.net

This release fixes three bugs that were still in beta 5:

* removed two incorrect spaces from bibl-num.tex
* reset the interaction style within \type{\cite}, so that
   font  switches from \type{\setupcite} stay in effect
* a guard is added against loading bbl files multiple times

It should be included automatically in the next context release.

Happy TeXing,

Taco

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


Re: [NTG-context] New bib module release (2006.07.13)

2006-07-13 Thread Thomas A. Schmitz

On Jul 13, 2006, at 10:47 AM, Taco Hoekwater wrote:

 Hi all,

 After a fairly long list of betas, I have just uploaded a new
 release of the bibliographic module to contextgarden.net

 This release fixes three bugs that were still in beta 5:

 * removed two incorrect spaces from bibl-num.tex
 * reset the interaction style within \type{\cite}, so that
font  switches from \type{\setupcite} stay in effect
 * a guard is added against loading bbl files multiple times

 It should be included automatically in the next context release.

 Happy TeXing,

 Taco


Hi Taco,

thanks for the new version! I didn't have time to play with your  
latest beta, but the new release appears to have a problem: numbered  
references don't seem to work! I found an older post to the list by  
Marten and I can confirm that it doesn't work. Here's a minimal test  
file:

%%%

\usemodule[bib]

\setuppublications[refcommand=num,
numbering=yes
]

\startpublication[k=austinhow,t=book,
a={{Austin}},y=1975a,
n=12,s=Aus75a]
\author[]{John~Langshaw}[J.~L.]{}{Austin}
\pubyear{1975\maybeyear{a}}
\title{How To Do Things with Words}
\city{Cambridge, MA}
\pubname{Harvard University Press}
\edition{2}
\stoppublication

\starttext

As can be seen in \cite[austinhow].

\page

\placepublications

\stoptext

%%%

If I change refcommand to author or other values, it works; with num  
I get

publications: warning: cite argument austinhow unknown on 108
references  : unknown reference [][0]

in my log file. Sorry, I don't know when this problem cropped up, but  
I know that this used to work...

Best

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


Re: [NTG-context] New bib module release (2006.07.13)

2006-07-13 Thread Hans Hagen
Thomas A. Schmitz wrote:
 On Jul 13, 2006, at 10:47 AM, Taco Hoekwater wrote:

   
 Hi all,

 After a fairly long list of betas, I have just uploaded a new
 release of the bibliographic module to contextgarden.net

 This release fixes three bugs that were still in beta 5:

 * removed two incorrect spaces from bibl-num.tex
 * reset the interaction style within \type{\cite}, so that
font  switches from \type{\setupcite} stay in effect
 * a guard is added against loading bbl files multiple times

 It should be included automatically in the next context release.

 Happy TeXing,

 Taco

 

 Hi Taco,

 thanks for the new version! I didn't have time to play with your  
 latest beta, but the new release appears to have a problem: numbered  
 references don't seem to work! I found an older post to the list by  
 Marten and I can confirm that it doesn't work. Here's a minimal test  
 file:

 %%%

 \usemodule[bib]

 \setuppublications[refcommand=num,
 numbering=yes
   
numbering=yesspace
 ]
   
numbering=yes]

numbering=yes%
]

numbering=yes,
]

is correct 

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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context