ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bib module -- \maybeyear
@ 2007-01-09 12:40 Robin.Kirkham
  2007-01-10  8:39 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Robin.Kirkham @ 2007-01-09 12:40 UTC (permalink / raw)


Hi all,

I'm using numerical citations and reference lists, and I have the bib module doing almost everything I want, except that the years in the reference list have a, b, c ... appended.

On this mailing list, it was suggested that "maybeyear=off" as an argument to \setuppublicationslist should do it, but it does not seem to. The discussion on that topic seems unresolved.

I've also tried \def\maybeyear#1{} in a few places, which does not help either.

I'm using ConTeXt  ver: 2007.01.02 13:44 MK II  fmt: 2007.1.8  int: english/english. It's my first ConTeXt project. Am I doing something wrong? Program below.

Robin


\enableregime[utf]
\setupoutput[pdf]

\usemodule[bib]

\setuppublications[
    refcommand=num,
    sorttype=bbl,
    criterium=all,
    numbering=short
]
\setupbibtex[database={../references},sort=author]
\setuppublicationlist[
    authoretallimit=100,
    artauthoretallimit=100,
    maybeyear=off
]

\starttext

\placepublications

\stoptext

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

* Re: bib module -- \maybeyear
  2007-01-09 12:40 bib module -- \maybeyear Robin.Kirkham
@ 2007-01-10  8:39 ` Taco Hoekwater
  2007-01-10 13:56   ` Robin.Kirkham
  0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2007-01-10  8:39 UTC (permalink / raw)



Hi,

Robin.Kirkham@csiro.au wrote:
> \setuppublicationlist[
>     authoretallimit=100,
>     artauthoretallimit=100,
>     maybeyear=off
> ]

The solution is really simple. Move the closing
bracket to the previous line, like so:

   \setuppublicationlist[
     authoretallimit=100,
     artauthoretallimit=100,
     maybeyear=off]

otherwise you assign the value "off<nl>" to maybeyear.
This is true throughout context: you have to be careful
about whitespace in arguments.

Best, Taco

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

* Re: bib module -- \maybeyear
  2007-01-10  8:39 ` Taco Hoekwater
@ 2007-01-10 13:56   ` Robin.Kirkham
  0 siblings, 0 replies; 3+ messages in thread
From: Robin.Kirkham @ 2007-01-10 13:56 UTC (permalink / raw)


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

Taco wrote:
> Robin.Kirkham@csiro.au wrote:
> > \setuppublicationlist[
> >     authoretallimit=100,
> >     artauthoretallimit=100,
> >     maybeyear=off
> > ]
> 
> The solution is really simple. Move the closing
> bracket to the previous line, like so:
> 
>    \setuppublicationlist[
>      authoretallimit=100,
>      artauthoretallimit=100,
>      maybeyear=off]
> 
> otherwise you assign the value "off<nl>" to maybeyear.
> This is true throughout context: you have to be careful
> about whitespace in arguments.

OK ... or terminate the argument with a % or a , ... of course I should have guessed this!

Many thanks,

Robin



[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 2735 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] 3+ messages in thread

end of thread, other threads:[~2007-01-10 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-09 12:40 bib module -- \maybeyear Robin.Kirkham
2007-01-10  8:39 ` Taco Hoekwater
2007-01-10 13:56   ` Robin.Kirkham

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).