ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* New bib module release (2006.07.13)
@ 2006-07-13  8:47 Taco Hoekwater
  2006-07-13 15:49 ` Thomas A. Schmitz
  2006-07-17 15:54 ` Tobias Burnus
  0 siblings, 2 replies; 10+ messages in thread
From: Taco Hoekwater @ 2006-07-13  8:47 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New bib module release (2006.07.13)
  2006-07-13  8:47 New bib module release (2006.07.13) Taco Hoekwater
@ 2006-07-13 15:49 ` Thomas A. Schmitz
  2006-07-13 16:44   ` Hans Hagen
  2006-07-17 15:54 ` Tobias Burnus
  1 sibling, 1 reply; 10+ messages in thread
From: Thomas A. Schmitz @ 2006-07-13 15:49 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New bib module release (2006.07.13)
  2006-07-13 15:49 ` Thomas A. Schmitz
@ 2006-07-13 16:44   ` Hans Hagen
  2006-07-14  8:19     ` Taco Hoekwater
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2006-07-13 16:44 UTC (permalink / raw)


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=yes<space>
>                     ]
>   
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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New bib module release (2006.07.13)
  2006-07-13 16:44   ` Hans Hagen
@ 2006-07-14  8:19     ` Taco Hoekwater
  2006-07-14 10:28       ` Thomas A. Schmitz
  0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2006-07-14  8:19 UTC (permalink / raw)




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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New bib module release (2006.07.13)
  2006-07-14  8:19     ` Taco Hoekwater
@ 2006-07-14 10:28       ` Thomas A. Schmitz
  0 siblings, 0 replies; 10+ messages in thread
From: Thomas A. Schmitz @ 2006-07-14 10:28 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New bib module release (2006.07.13)
  2006-07-13  8:47 New bib module release (2006.07.13) Taco Hoekwater
  2006-07-13 15:49 ` Thomas A. Schmitz
@ 2006-07-17 15:54 ` Tobias Burnus
  2006-07-17 17:31   ` Taco Hoekwater
  1 sibling, 1 reply; 10+ messages in thread
From: Tobias Burnus @ 2006-07-17 15:54 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New bib module release (2006.07.13)
  2006-07-17 15:54 ` Tobias Burnus
@ 2006-07-17 17:31   ` Taco Hoekwater
  2006-07-17 19:46     ` Tobias Burnus
  0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2006-07-17 17:31 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New bib module release (2006.07.13)
  2006-07-17 17:31   ` Taco Hoekwater
@ 2006-07-17 19:46     ` Tobias Burnus
  2006-07-18 10:31       ` Taco Hoekwater
  0 siblings, 1 reply; 10+ messages in thread
From: Tobias Burnus @ 2006-07-17 19:46 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2312 bytes --]

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

[-- Attachment #2: mytest.tex --]
[-- Type: application/x-tex, Size: 2243 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New bib module release (2006.07.13)
  2006-07-17 19:46     ` Tobias Burnus
@ 2006-07-18 10:31       ` Taco Hoekwater
  2006-07-18 13:58         ` Tobias Burnus
  0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2006-07-18 10:31 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New bib module release (2006.07.13)
  2006-07-18 10:31       ` Taco Hoekwater
@ 2006-07-18 13:58         ` Tobias Burnus
  0 siblings, 0 replies; 10+ messages in thread
From: Tobias Burnus @ 2006-07-18 13:58 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-07-18 13:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-13  8:47 New bib module release (2006.07.13) Taco Hoekwater
2006-07-13 15:49 ` Thomas A. Schmitz
2006-07-13 16:44   ` Hans Hagen
2006-07-14  8:19     ` Taco Hoekwater
2006-07-14 10:28       ` Thomas A. Schmitz
2006-07-17 15:54 ` Tobias Burnus
2006-07-17 17:31   ` Taco Hoekwater
2006-07-17 19:46     ` Tobias Burnus
2006-07-18 10:31       ` Taco Hoekwater
2006-07-18 13:58         ` Tobias Burnus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).