From: Pontus Lurcock <pont@talvi.net>
To: ConTeXt list <ntg-context@ntg.nl>
Subject: More bibl-apa.tex modifications
Date: Mon, 21 Mar 2011 13:16:59 +1300 [thread overview]
Message-ID: <20110321001659.GC29732@rae.vm.bytemark.co.uk> (raw)
Hello,
I have found another minor problem in the bibl-apa style (ConTeXt v.
2011.02.25 22:03), this time for Master's theses, which get an extra
space between the phrase ‘Master's Thesis,’ and the university's name
and address, thus:
Smith, A. B. (2000). A Thesis Title. Master's thesis, City, Country:
University of Something.
I think this would be better as:
Smith, A. B. (2000). A Thesis Title. Master's thesis. City, Country:
University of Something.
(This also changes the comma to a dot.) I have implemented this with
the following modifications to bibl-apa.tex (original lines commented
out, mine inserted afterwards):
----
\setuppublicationlayout[mastersthesis]{%
\insertauthors{}{ }{}%
\insertpubyear{(}{). }{}%
\inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
\insertbibtype{}{.}{Master's thesis.}%
% \insertbibtype{}{, }{Master's thesis, }%
\insertpublisher{ }{.}{.}%
% \insertpages{ }{p. }{}%
\insertpages{ }{ p. }{}%
\insertnote{ }{.}{}%
}
\setuppublicationlayout[phdthesis]{%
\insertauthors{}{ }{}%
\insertpubyear{(}{). }{}%
\inserttitle{\bgroup\it }{\egroup \insertseries{ (}{)}{}. }{}%
% \insertbibtype{}{, }{PhD thesis,}%
\insertbibtype{}{.}{PhD thesis.}%
\insertpublisher{ }{.}{.}%
\insertpages{ }{ p. }{}%
\insertnote{ }{.}{}%
}
----
This also incorporates three other changes: changing the comma after
‘PhD thesis’ to a dot; removing the space after the punctuation in
the PhD bibtype ‘after’ group (only used if type is specified);
and adding a space to the start of the pages ‘after’ group.
I hope that these can be incorporated, if they meet with agreement.
Aside: this still doesn't correspond to current official APA style
(though it's a bit closer), but I'm not sure how many people care
about that. In my case I only care that my bibliography doesn't show
obvious weirdness like double spaces.
Here's a minimal example to show the behaviour (the spacing=packed
makes it clearer where the extra space appears):
----
\startpublication[k=mcmillan1993abbotsford,t=phdthesis,
a={{McMillan}},y=1993,
n=150,s=McM93]
\author[]{S.~G.}[S.~G.]{}{McMillan}
\title{The Abbotsford Formation}
\pubyear{1993}
\pubname{University of Otago}
\city{Dunedin, New Zealand}
\stoppublication
\startpublication[k=vondobeneck1985gesteinsmagnetische,t=mastersthesis,
a={{von Dobeneck}},y=1985,
n=483,s=vD85]
\author[]{T.}[T.]{von}{Dobeneck}
\pubyear{1985}
\title{{Gesteinsmagnetische Untersuchungen an tiefseesedimenten des
Sudatlantiks}}
\pubname{Inst. Allg. und Angew. Geophys., Ludwig Maximilian University}
\city{München}
\stoppublication
\setuplanguage[en][spacing=packed]
\starttext
\placepublications[criterium=all]
\stoptext
----
Pont
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2011-03-21 0:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110321001659.GC29732@rae.vm.bytemark.co.uk \
--to=pont@talvi.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).