ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@MIT.EDU>
To: Hans Hagen <pragma@wxs.nl>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Broken bibliographies in 2014-03-07 beta
Date: Mon, 10 Mar 2014 16:35:42 -0400	[thread overview]
Message-ID: <87bnxdu6zl.fsf@approx.mit.edu> (raw)
In-Reply-To: <531DEA69.8080902@wxs.nl>

Hans Hagen <pragma@wxs.nl> writes:

> in bibl-tra.lua:
>
> local template = [[
> \citation{*}
> \bibstyle{cont-%s}
> \bibdata{%s}
> ]]

There was a "local template = utilities.strings.striplong([[ .." so I
got rid of the call to utilities.strings.striplong(), then ran
"context --make" but the bibliography still didn't come out.  The pdf
file just has "Hi [[error 2]]"

Here's the example:

======================== test10.tex ===============
\usemodule[bib]
\setupbibtex[database=testrefs, sort=author]
\setuppublications[alternative=num, sorttype=bbl]

\starttext

Hi \cite[Abelson:1996]

\blank
\placepublications[criterium=text]

\stoptext
======================== test10.tex ===============

and the bib file

============== testrefs.bib ================
@Book{Abelson:1996,
  author = 	 {Harold Abelson and Gerald Jay Sussman with Julie Sussman},
  title = 	 {Structure and Interpretation of Computer Programs},
  publisher = 	 {MIT Press},
  year = 	 1996,
  edition = 	 {2nd}}
============== testrefs.bib ================

The log file has:

publications    > loading database from 'test10.bbl'
(test10.bbl)
publications    > warning: unknown cite argument 'Abelson:1996' on line '4'

and test10.bbl is an empty file.

-Sanjoy
___________________________________________________________________________________
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:[~2014-03-10 20:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-09 18:07 Rik Kabel
2014-03-10 15:37 ` Sanjoy Mahajan
2014-03-10 16:38 ` Hans Hagen
2014-03-10 20:35   ` Sanjoy Mahajan [this message]
2014-03-28 12:29     ` Sanjoy Mahajan
2014-03-28 14:08       ` Hans Hagen
2014-04-23 13:56         ` Jelle Huisman
2014-04-23 17:15           ` Hans Hagen
2014-04-23 17:34             ` Jelle Huisman
  -- strict thread matches above, loose matches on Subject: below --
2014-03-09 18:05 Rik

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=87bnxdu6zl.fsf@approx.mit.edu \
    --to=sanjoy@mit.edu \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).