ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jörg Weger" <joerg73.muc@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: Formatting bibliographic inline references and publications list
Date: Sat, 17 Jan 2015 07:23:57 +0100	[thread overview]
Message-ID: <54B9FFFD.9010005@googlemail.com> (raw)
In-Reply-To: <20150116141830.51dfb3c7@iram-ha-003587.extra.cea.fr>

Hi Alan


What I am trying to achieve is the following (of which typesetting the 
author’s name is only a detail): setting up an environment that I can 
use for all papers and works that I have to write during my academic 
studies. With the basic layout I am almost done. The main remaining 
problem is to get the bibliographic information details in the 
publications list into the right order for every possible type of 
publication according to the standards demanded by my university 
department which differ from APA style.

You ask what I am looking for:

It would be great to be able at the same time to format every detail of 
information while defining said order.

Defining that order could be done by giving a kind of “maximum case” 
with the exact order of the desired variables and the punctuation and 
blanks between them for every particular type of publication cited. Out 
of that “maximum case” the underlying mechanism would ignore everything 
not needed in the particular case of a certain publication.

In the case of publication type “book” it could be something like:

\setpublicationstyleforlist [type:book] 
[{invertedauthor1}{/}{invertedauthor2}{/}{invertedauthor3}{et al.}{ 
(}{year}{): }{title}{. }{address}{: }{publisher}{.}]

The underlying mechanism would ignore author 2 and 3 if there was only 
one single author. In case of more than 3 authors given the “et al.” 
would be used after naming the first 3 authors.

That system would be perfect, if you could do do the desired typographic 
formatting directly inside that definition:

\setpublicationstyleforlist [type:book] [{\letterspace{\sc 
{invertedauthor}{/}{invertedauthor}{/}{invertedauthor}}{et al.}}{ 
(}{\oldstyle{year}}{): }{\it{title}}{. }{adress}{: }{publisher}{.}]

Accordingly for the inline references:

\setupcitestyle[{\letterspace{\sc{authorlastname}{ et al.}}}{ 
}{\oldstyle{year}}]

There should be a possibility to invoke a certain citation style you 
have defined from a text file so you would not have to type 
(respectively copy/paste) everything again every time.

The advantage of such a system would be that everybody could define 
exactly what he/she needs.

Would that be very difficult to implement?

Then there are the cases where the definition work has already be done 
in the form of special XML files: Over 7,000 CSL (= citation style 
language) files are listed for download at the citationstyles.org 
website. Pandoc seems to have a way to use CSL files to filter, order 
and format the information from BibTeX files. It would be great if you 
could do that directly inside ConTeXt as well.


\ConTeXtualGreetings :)

Jörg


PS: I have (as I wrote) defaulted oldstyle numbers for my whole 
environment, so I am not mixing old and normal style.

On 16.01.2015 14:18, Alan BRASLAU wrote:
> We have completely rewritten the bibliography subsystem of ConTeXt
> which is not quite production-ready. It should become easier to create
> custom renderings of bibliography references and publication lists.
>
> Do you wish to mix old style numbers for the years with normal style
> numbers for volume, number, chapter, page, etc.? If so, would such a mix
> look strange?
>
> Do you want only the author names in small capitals, or also the
> editor? What about the title, journal, publisher, ... ?
> I suppose all names, but not other text.
>
> I do not have any suggestion with the use of the "old" bibliography
> module, and the new system is, as I said, not quite ready. But please
> clarify what you are looking for so that we can make this somehow
> possible.
>
> Alan
>
> On Fri, 16 Jan 2015 06:08:36 +0100
> Jörg Weger <joerg73.muc@googlemail.com> wrote:
>
>> Hello everybody,
>>
>>
>> I am rather new to ConTeXt and I am momentarily stuck with the
>> following:
>>
>> How can I further format the way an inline reference and a
>> bibliographic reference in the publications list are displayed? For
>> example I would like to display the author(s) in spaced-out small
>> caps (I am using the “letterspace” module). The year should be in
>> oldstyle numbers both in the inline reference and in the publications
>> list. An inline-reference should like this (simulated without BibTeX,
>> letterspacing slightly exaggerated):
>>
>>
>> % ====== MWE ===============================
>>
>> \usemodule[t][letterspace]				
>> \defineletterspace [LSsmcp]			
>> \setupletterspace [LSsmcp][factor=.08, spaceskip=.4em,
>> suppresskern=no,]
>>
>> \starttext
>>
>> \input knuth ({\LSsmcp {\sc Knuth}} {\os 1991})
>>
>> \input zapf
>>
>> \stoptext
>>
>> % ==========================================
>>
>> I have defaulted oldstyle numbers my environment but I would like to
>> get the the small caps working for the author(s) name(s).
>>
>> I messed around with \setuppublications and \setupcite without
>> success. Is there a way to invoke such formatting in those setups?
>>
>>
>> Greetings
>>
>> Joerg
>
___________________________________________________________________________________
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:[~2015-01-17  6:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-16  5:08 Jörg Weger
2015-01-16 13:18 ` Alan BRASLAU
2015-01-17  6:23   ` Jörg Weger [this message]
2015-01-19 18:44     ` Hans Hagen
2015-01-23  6:26       ` Alan BRASLAU
2015-01-25 19:10         ` Jörg Weger
2015-01-25 19:13           ` Jörg Weger
2015-01-27  3:59             ` Alan BRASLAU
2015-01-27 17:57               ` Jörg Weger
2015-01-26 10:56           ` Hans Hagen
2015-01-19 17:39 ` Jörg Weger
2015-01-19 18:45   ` 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=54B9FFFD.9010005@googlemail.com \
    --to=joerg73.muc@googlemail.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).