ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Bibliography
Date: Wed, 01 Jul 2015 10:35:03 +0200	[thread overview]
Message-ID: <op.x0254phbtpjj8f@lpr> (raw)

[-- Attachment #1: Type: text/plain, Size: 1440 bytes --]

Hello,

I have a bibliography database in Lua.
I suppose to use this DB to create a list of publications with Lua and \startpublication ... \stoppublication.
So I will get something like:

----
% Will be generated by Lua, but for now >>
\startpublication
   [k=me,
    t=article,
    a=LPr,
    y=2000,
    s=Shr,
    n=1,
   ]
   \city{Prg}
\stoppublication
% Will be generated by Lua, but for now <<

\setuppublications[alternative=apa]

\starttext
   Hello \cite[me] -- \cite[Shr] -- \cite[1].

   \placepublications[criterium=all]
\stoptext
----

The problem is that \cite produces "(Xxxxxxxxxx, 0000)" and no list of publications is generated.

What am I doing wrong?

NB: I learned from
	http://wiki.contextgarden.net/Bibliography_mkiv
	and
	http://www.let.rug.nl/alfa/texmf/tetex30/context/bib/bibmod-doc.pdf

My one-off is that I have not a .bib file and I would like to avoid .bib generation and use of BibTeX if possible.
I guess that having a biblio DB in Lua is handy enough as Lua can convert the DB in whatever format - eg. via

context.startpublication(...)
  ...
context.stoppublication()

So, how to "handle" the bibliography in a best manner?

Than you in advance,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

[-- Attachment #2: Bib.test.mkiv --]
[-- Type: application/octet-stream, Size: 273 bytes --]

\startpublication
  [k=me,
   t=article,
   a=LPr,
   y=2000,
   s=Shr,
   n=1,
  ]
  \city{Prg}
\stoppublication

\setuppublications[alternative=apa]

\starttext
  Hello \cite[me] -- \cite[Shr] -- \cite[1].

  \placepublications[criterium=all]
\stoptext

[-- Attachment #3: Bib.test.pdf --]
[-- Type: application/pdf, Size: 5646 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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-07-01  8:35 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01  8:35 Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2015-07-08 14:06 ` Bibliography (bug compiling "components-001.tex"?) Procházka Lukáš Ing. - Pontex s. r. o.
2015-07-08 18:53   ` Hans Hagen
2015-07-08 20:21     ` Lukáš Procházka
2015-07-09 18:30       ` Alan BRASLAU
2015-07-10  6:47         ` Bibliography (bug compiling "components-001.tex"?) (now with sample files) Procházka Lukáš Ing. - Pontex s. r. o.
2015-07-10  8:29           ` Alan BRASLAU
2015-07-10  9:29             ` Procházka Lukáš Ing. - Pontex s. r. o.
2015-07-11 13:50               ` Alan BRASLAU
2015-07-11 20:42                 ` Bibliography - biblio error with the latest beta Lukáš Procházka
2015-07-12 12:27                   ` Alan BRASLAU
  -- strict thread matches above, loose matches on Subject: below --
2022-02-22 21:36 Bibliography Willi Egger via ntg-context
2017-02-05 17:09 Encoding reserved characters in URI query strings Aditya Mahajan
2017-02-07 12:24 ` Bibliography Jean-Pierre Delange
2017-02-07 15:12   ` Bibliography Alan Braslau
2010-11-29 18:30 bibliography Hans Hagen
2000-11-28 18:37 bibliography David Hansen
2000-11-28 18:47 ` bibliography David Hansen
2000-11-28 19:11 ` bibliography Christopher Tipper
2000-11-29  2:03   ` bibliography Uwe Koloska
2000-11-29  9:02   ` bibliography Hans Hagen
2000-11-29 10:05 ` bibliography tburnus
2000-05-02 12:20 Bibliography Michal Kvasnicka
2000-05-02 19:36 ` Bibliography Robert F. Beeger
2000-04-21 15:42 bibliography pragma
2000-04-23 12:36 ` bibliography Robert F. Beeger
2000-04-23 20:40   ` bibliography Tobias Burnus
2000-04-26 14:20     ` bibliography Robert F. Beeger
2000-04-26 14:45       ` bibliography Taco Hoekwater

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=op.x0254phbtpjj8f@lpr \
    --to=lpr@pontex.cz \
    --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).