On Tue, 21 Feb 2017 18:46:18 -0500
Rik Kabel <cont...@rik.users.panix.com> wrote:

> I have a few questions about the new bibliography system. The
> following example code illustrates the problems.
> 
>     \startbuffer[TestBib]
>     @OTHER{Author1975a,
>        author = {An Author},
>        title = {A title},
>        year = {1975},
>     }
>     @OTHER{Author1975b,
>        author = {Author, An},
>        title = {Another title},
>        year = {1975},
>     }
>     @OTHER{Else1975a,
>        author = {Somebody Else},
>        title = {A third title},
>        year = {1975},
>     }
>     @OTHER{Else1975b,
>        author = {Somebody Else},
>        title = {A last title},
>        year = {1975},
>     }
> 
>     @FILM{Movie,
>        producer     = {Normal Name},
>        director     = {Funny Name},
>        title        = {Who Knew?},
>        year         = {2010},
>        publisher    = {Producer},
>        address      = {Hollywood}
>     }
> 
>     @INBOOK{Subtitle,
>        author       = {Sally Subtitle-Spacing},
>        title        = {Another Country},
>        year         = {1958},
>        publisher    = {Publisher},
>        address      = {City},
>        volume       = {16},
>        booktitle    = {On the road},
>        booksubtitle = {Books and essays written while traveling under
>     cover},
>     }
> 
>     \stopbuffer
>       \loadbtxdefinitionfile[apa]
>       \usebtxdefinitions    [apa]
>       \usebtxdataset        [TestBib.buffer]
>       \definebtxrendering   [Pubs][apa]
> 
>     \starttext
> 
>     \nocite[*]
> 
>     \placelistofpublications[Pubs]
> 
>     \stoptext
> 
> How can I get “An Author” treated like “Author, An” as in the OTHER 
> examples? The result should like like that of “Somebody Else”. Bibtex 
> databases have both forms and it would be nice if the work was done
> by ConTeXt automatically.

Context, like bibtex, interprets "An Author" as "First Last", "Author,
An" being the explicit form, useful when the last name contains several
components.

The APA style, that you use, abbreviates the first names. Thus, "An
Author" gets rendered correctly as Author, A. and "Somebody Else" as
Else, S.

> The manual suggests that fields like director (see the FILM example)
> can be induced to be treated as author/editor names by sufficiently
> advanced users. Would such a user please share the method?

producer= and director= are treated as names for @film{} in the APA
specification.

> In the INBOOK example, can we get a BOOKSUBTITLE field to complement
> the BOOKTITLE? My real bibliography has some very long titles, and I
> would rather have only the main part appear with
> \cite[booktitle][entry], yet have the title with subtitle in the
> bibliography.

We can easily add a booksubtitle field to the specification, to be
handled like title/subtitle.

> Also in the INBOOK example, I notice that the spacing after “Vol.” is
> a sentence space, and it should not be. The spacing after
> abbreviations in the bibliography should not depend on setting
> frenchspacing.

The abbreviation is followed by a space. You suggest that they should
be treated specially, not like the end of a sentence. This does not
only pertain to bibliographies. How is this generally done in
TeX/Context for any abbreviations anywhere? (I wouldn't know... ;-)

Alan
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to