From: "Idris Samawi Hamid ادريس سماوي حامد" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Citing a PhD dissertation
Date: Sun, 01 Feb 2015 18:48:38 -0700 [thread overview]
Message-ID: <op.xtepzcggfkrasx@ishamid-pc> (raw)
In-Reply-To: <op.xtdt99prfkrasx@ishamid-pc>
On Sun, 01 Feb 2015 07:24:00 -0700, Idris Samawi Hamid ادريس سماوي حامد
<ishamid@colostate.edu> wrote:
> Dear gang,
>
> ConTeXt currently follows archaic BibTeX conventions in labeling doctoral
> dissertations for bibliography. So we have the tag 'phdthesis' as in
>
> \startpublication[k=hamid98,
> t=phdthesis,
> a=Hamid,
> y=1998,
> s=ISH98]
> \author[]{Idris Samawi}[I.]{}{Hamid}
> \title{The Metaphysics and Cosmology of \TeX}
> \pubname{\TeX\ State University}
> \pubyear{1998}
> \stoppublication
>
> The tag gets mapped to 'PhD thesis' in the output. But current English
> style is to use 'thesis' for Masters degrees and 'dissertation' for
> doctoral degrees [See the Merriam-Webster Style Manual or even google
> 'phd
> thesis or dissertation' for lots of confirmation of this]. As development
> of a new mkiv module continues, I would suggest changing this to the
> standard usage. In the meantime: How can I change the label in the
> current
> bibliography system? I tried the following (also attached):
>
> ========
> \starttext
> \setuppublications[alternative=apa]
>
> \setupbtxlabeltext
> [en]
> [apa:phdthesis={Doctoral dissertation}]
>
> \startsetups btx:apa:phdthesis
> \setvariables[btx:temp][label=Doctoral Dissertation]
> \btxsetup{btx:apa:common:thesis}
> \stopsetups
>
> \startpublication[k=hamid98,
> t=phdthesis,
> a=Hamid,
> y=1998,
> s=ISH98]
> \author[]{Idris Samawi}[I.]{}{Hamid}
> \title{The Metaphysics and Cosmology of \TeX}
> \pubname{\TeX\ State University}
> \pubyear{1998}
> \stoppublication
>
> \placepublications [criterium=all] % inherits from \setuppublications
> % \completepublications[criterium=cite] % only works with criterium=all
>
> \stoptext
> ========
>
> But the output is still 'PhD thesis'. How do I get the changes in the btx
> labeltext passed on to ConTeXt so I can get the correct output?
Answer is in context/bib/bibl-apa.tex:
\setuppublicationlayout[phdthesis]{%
\insertauthors{}{ }{}%
\insertpubyear{(}{). }{}%
\inserttitle{\bgroup\it }{\egroup \insertseries{ (}{)}{}. }{}%
\insertbibtype{}{, }{Doctoral dissertation,}%
\insertpublisher{ }{.}{.}%
\insertpages{ }{ p. }{}%
\insertnote{ }{.}{}%
As Hans explained privately, this is hardwired so the btx labels don't
kick in as expected. May be decoupled at a later date, but till then this
is the key for anyone wanting to fix things.
Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2015-02-02 1:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-01 14:24 Idris Samawi Hamid ادريس سماوي حامد
2015-02-02 1:48 ` Idris Samawi Hamid ادريس سماوي حامد [this message]
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=op.xtepzcggfkrasx@ishamid-pc \
--to=ishamid@colostate.edu \
--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).