ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Schmitz Thomas A." <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bibliography, unicode strings, @ELECTRONIC, sorting and bibtex
Date: Tue, 18 Sep 2012 13:41:56 +0200	[thread overview]
Message-ID: <CC28CFCA-FF01-4EA1-ABD5-F5821A2AC2C8@uni-bonn.de> (raw)
In-Reply-To: <20120918122858.265bbad1@homerow>


On Sep 18, 2012, at 12:28 PM, Marco Patzer <homerow@lavabit.com> wrote:

> Hi,
> 
> I have some questions regarding the bibliography.
> 
> 1)
> The style files bibl-ams.tex, bibl-ssa.tex, etc contain strings like
> ``, ~. This does not make sense to me. The `` ends up like that in
> the output and the tilde might interfere with the \asciimode
> setting. Wouldn't it be better to use the proper Unicode glyphs
> (U+201C, U+00A0, etc.) nowadays? I assume the files are old MkII
> files and not being updated since. Example:
> 
> \setupbibtex       [database=sample]
> \setuppublications [alternative=ssa]
> \starttext
>  \cite[hh2010a]
>  \cite[Eijkhout1991]
>  \cite[hh2010]
>  \placepublications [criterium=cite]
> \stoptext
> 
You're right, this is old code that needs to be fixed. The problem is that users of bibtex in ConTeXt are a minority, and users of such precooked styles a tiny minority - 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.

> 2)
> The @ELECTRONIC type does not work (already mentioned in the wiki).
> It does not show up in the references list. I guess no one bothered
> adding them and it's up to me to add the corresponding entries.
> 
> 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.

> 
> 3)
> How to sort the bibliography by author? According to the bib manual
> I expected this to work:
> 
> \setupbibtex       [database=sample]
> \setuppublications [alternative=apa, criterium=cite, sort=author]

You haven't read carefully enough, it's sorttype=author

> \starttext
>  \cite[hh2010a]
>  \cite[Eijkhout1991]
>  \placepublications
> \stoptext
> 
> 4)
> \completepublications produces an empty page. Is that intended?
> 
> \setupbibtex       [database=sample]
> \setuppublications [alternative=ssa, criterium=cite]
> \starttext
> \cite[hh2010a]
> \completepublications
> \stoptext
> 
http://archive.contextgarden.net/message/20110923.091734.6b388a11.en.html

> 5) (side question)
> 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). Over the years, I have read and heard many complaints about bibtex and many announcements that something infinitely better is just around the corner, to be delivered in all its glory "real soon now." For the time being, I don't see any real replacement, but I may be wrong.


Thomas

___________________________________________________________________________________
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 11:41 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. [this message]
2012-09-18 12:25   ` Marco Patzer
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=CC28CFCA-FF01-4EA1-ABD5-F5821A2AC2C8@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --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).