ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <homerow@lavabit.com>
To: ntg-context@ntg.nl
Subject: Re: Bibliography, unicode strings, @ELECTRONIC, sorting and bibtex
Date: Tue, 18 Sep 2012 14:25:33 +0200	[thread overview]
Message-ID: <20120918142533.24fb2c53@homerow> (raw)
In-Reply-To: <CC28CFCA-FF01-4EA1-ABD5-F5821A2AC2C8@uni-bonn.de>

2012-09-18 "Schmitz Thomas A." <thomas.schmitz@uni-bonn.de>:

Hi Thomas

> The problem is that users of bibtex in ConTeXt are a minority, and
> users of such precooked styles a tiny minority

With a handful of up-to-date working common citation styles
citations would be much more easy. But I get your point.

> I use bibtex quite often, but wouldn't know how to fix these
> styles and have never used them. So if you're sure about what to
> do, fix them and send Hans a patch.

Frankly, I'm no expert in those things. The bibliographies I created
so far were quick and dirty, I didn't have the time to create proper
styles or repair the shipped ones. I will see what I can do to at
least improve the existing ones after the current project is done.

> > Maybe someone has already prepared a working file for the APA
> > style?
> 
> Possible. I have @ELECTRONIC definitions in my own private style
> files, but have never used APA.

Same here.

> > \setuppublications [alternative=apa, criterium=cite, sort=author]
> 
> You haven't read carefully enough, it's sorttype=author

This doesn't work, either:

\setupbibtex       [database=sample]
\setuppublications [alternative=apa, criterium=cite, sorttype=author]
\starttext
  \cite[hh2010a]
  \cite[Eijkhout1991]
  \placepublications
\stoptext

> > \completepublications produces an empty page. Is that intended?
> > 
> http://archive.contextgarden.net/message/20110923.091734.6b388a11.en.html

Using criterium=text fixed it.

> > What is BibTeX used for in ConTeXt? As far as I can see, it reads
> > the .bib database and generates a .bbl file which then is read in by
> > ConTeXt. Why do we need an external tool for this? Why does ConTeXt
> > not read in the .bib database and directly save it as a Lua table?
> 
> Because nobody has coded that part yet? This may not be as easy as
> you make it sound because quite a few heuristics go into parsing
> bibtex files (e.g., look at the way in which bibtex divides names
> into first name, last name, von-part, jr-part).

I'm aware of that. So it basically boils down to the fact that
bibliographies are not popular among ConTeXt users (including Hans)
and therefore much functionality is not properly implemented or
cared for. And BibTeX is used since it understands the semantics of
bib files, although a pure ConTeXt/Lua solution would be possible.
Without BibTeX this functionality would be missing since no one is
willing to implement a parser for .bib databases.

If I only had time…


Marco

___________________________________________________________________________________
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:[~2012-09-18 12:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18 10:28 Marco Patzer
2012-09-18 11:41 ` Schmitz Thomas A.
2012-09-18 12:25   ` Marco Patzer [this message]
2012-09-18 13:28     ` Philipp Gesang
2012-09-18 14:19       ` Marco Patzer
2012-09-18 15:34         ` Philipp Gesang
2012-09-18 13:48     ` Schmitz Thomas A.
2012-09-18 14:11       ` Marco Patzer
2012-09-18 15:15   ` Alan BRASLAU

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=20120918142533.24fb2c53@homerow \
    --to=homerow@lavabit.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).