ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mike O'Connor <ipso.vocat@gmail.com>
To: ntg-context@ntg.nl
Subject: Outputting custom types in MKiv bibliography
Date: Wed, 30 Mar 2016 22:17:03 +0800	[thread overview]
Message-ID: <60D682CA-6264-492A-8DC5-171F28B341D0@gmail.com> (raw)

Hello,

I’m trying to create my first publication using ConTeXt mkiv. All going well except for the bibliography formatting.

Previously I have used LaTeX, standard entry types in BibTeX, and custom output formats using Biblatex.

My publication cites lots of historical sources, viz.:
	(1) Newspaper articles — currently stored as ‘article’ types in BibTex.
	(2) Archival sources (historic letter, some leather-bound volume, a catalogued box of old photographs, etc.) — currently stored as ‘unpublished’ or ‘misc'.

I would prefer to store these (in BibTeX, buffer, lua, or xml) as custom types (eg. ‘newspaper’, ‘archivalItem’), create setups for how they are output and which fields I output.

I found a ’newspaper’ type (and other non-BibTeX types) defined in publ-imp-apa.mkiv as:

\startsetups btx:apa:list:newspaper
    \fastsetup{btx:apa:list:article}
\stopsetups

I hoped this would mean I could output something:
	Boxing. (1903, September 13). The Sunday Times, p.8  

However, if I create an item of type 'newspaper’ and \cite it I get an output of all stored fields:
	newspaper: [day: 13] [journal: {The Sunday Times}] [month: 09] [pages:8][title: {Boxing.}] [type: newspaper article] [year: 1903]
A similar thing happens if I try to cite the standard BibTeX type ‘misc’.

If I store the newspaper item as type ‘article’ I get:
		“Boxing.”, The Sunday Times, 8, 1903.   (missing day and month)

Is it relevant that there is a problem when I include \showbtxfields[rotation=30] in my document? The resulting table has ‘*’ for fields in ‘article’, ‘book’, ‘demo-a’, ‘demo-b’ but the columns for ‘newspaper’ and ‘misc’ are empty.

Any pointers gratefully received.

Cheers,

Mike O’Connor

P.S. I am working in TeXShop on OSX (10.11.3), and it reports:
	This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) 
	ConTeXt  ver: 2015.05.18 12:26 MKIV current  fmt: 2016.3.19  int: english/english

___________________________________________________________________________________
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:[~2016-03-30 14:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-30 14:17 Mike O'Connor [this message]
2016-05-05  8:39 ` luigi scarso
2018-08-15 10:27 ` XML to ConTeXt: converting date attribute from ISO date Mike O'Connor
2018-08-15 12:04   ` Hans Hagen
2020-03-11 13:14     ` Axel Kielhorn
2020-03-11 14:01       ` Hans Hagen
     [not found]         ` <B77FE72A-BC5E-4E34-A859-8CD860E9B978@axelkielhorn.de>
     [not found]           ` <faf46a0b-2726-9dd8-d62b-8288e7fb1849@xs4all.nl>
2020-03-11 14:38             ` Axel Kielhorn
2020-03-11 15:54               ` Axel Kielhorn
2020-03-11 19:22                 ` Hans Hagen

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=60D682CA-6264-492A-8DC5-171F28B341D0@gmail.com \
    --to=ipso.vocat@gmail.com \
    --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).