ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bibliography
@ 2015-07-01  8:35 Procházka Lukáš Ing. - Pontex s. r. o.
  2015-07-08 14:06 ` Bibliography (bug compiling "components-001.tex"?) Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 1 reply; 11+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-07-01  8:35 UTC (permalink / raw)
  To: ConTeXt

[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-07-12 12:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-01  8:35 Bibliography Procházka Lukáš Ing. - Pontex s. r. o.
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

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).