* bib module - urgent!
@ 2015-01-19 23:16 Idris Samawi Hamid ادريس سماوي حامد
2015-01-20 13:07 ` Keith Schultz
0 siblings, 1 reply; 5+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2015-01-19 23:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 1956 bytes --]
Dear gang,
I am currently writing an article (mkiv) with lots of bibliographical
references. But t-bib.tex seems to have disappeared, and the following
simple file fails:
============
\starttext
\usemodule[bib]
\startpublication[k=haq,
t=book,
a=Haq,
y=1994,
s=Haq94]
\author[]{Syed Nomanul}[S.]{}{Haq}
\title{Names, Natures, and Things}
\pubname{Kluwer}
\city{Dordrecht}
\pubyear{1994}
\stoppublication
\cite[haq]
\stoptext
============
C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: attempt to
call field 'markasupdated' (a nil value)
stack traceback:
C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: in
function 'addbtxentry'
[\directlua]:1: in main chunk
4 \startpublication[k=haq,
5 t=book,
6 a=Haq,
7 y=1994,
8 s=Haq94]
9 \author[]{Syed Nomanul}[S.]{}{Haq}
10 \title{Names, Natures, and Things}
11 \pubname{Kluwer}
12 \city{Dordrecht}
13 \pubyear{1994}
14 >> \stoppublication
15
16 \cite[haq]
17
18 \stoptext
?
============
Now my understanding is that the new biblio system does not use bbl files
yet. But I stopped using .bib files the moment Taco released the original
bibliography module. Biblio databases are all in .bbl format.
I also set up an extensive bib environment (attached) to take care of all
sorts of things.
If this is broken, can it be fixed asap? Please don't make me have to
convert bbl to bib; that will be beyond depressing. Also don't want to
lose my environment commands.
This is urgent because there is only a short time to finish this article,
and I really want to spend more time writing the content than debugging
Context! :-) :-) :-)
Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
[-- Attachment #2: bib-env.tex --]
[-- Type: application/x-tex, Size: 2597 bytes --]
[-- Attachment #3: 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] 5+ messages in thread
* Re: bib module - urgent!
2015-01-19 23:16 bib module - urgent! Idris Samawi Hamid ادريس سماوي حامد
@ 2015-01-20 13:07 ` Keith Schultz
2015-01-20 14:23 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 1 reply; 5+ messages in thread
From: Keith Schultz @ 2015-01-20 13:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Irdis,
The answer to your question is quite simple,
You are missing \setuppublications
Here the MWE:
setuppublications[alternative=apa]
\starttext
\startpublication[k=haq,
t=book,
a=Haq,
y=1994,
s=Haq94]
\author[]{Syed Nomanul}[S.]{}{Haq}
\title{Names, Natures, and Things}
\pubname{Kluwer}
\city{Dordrecht}
\pubyear{1994}
\stoppublication
this is a cite from \cite[haq]
\stoptext
regards
Keith.
> Am 20.01.2015 um 00:16 schrieb Idris Samawi Hamid ادريس سماوي حامد <ishamid@colostate.edu>:
>
> Dear gang,
>
> I am currently writing an article (mkiv) with lots of bibliographical references. But t-bib.tex seems to have disappeared, and the following simple file fails:
>
> ============
> \starttext
> \usemodule[bib]
>
> \startpublication[k=haq,
> t=book,
> a=Haq,
> y=1994,
> s=Haq94]
> \author[]{Syed Nomanul}[S.]{}{Haq}
> \title{Names, Natures, and Things}
> \pubname{Kluwer}
> \city{Dordrecht}
> \pubyear{1994}
> \stoppublication
>
> \cite[haq]
>
> \stoptext
> ============
> C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: attempt to call field 'markasupdated' (a nil value)
> stack traceback:
> C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: in function 'addbtxentry'
> [\directlua]:1: in main chunk
>
> 4 \startpublication[k=haq,
> 5 t=book,
> 6 a=Haq,
> 7 y=1994,
> 8 s=Haq94]
> 9 \author[]{Syed Nomanul}[S.]{}{Haq}
> 10 \title{Names, Natures, and Things}
> 11 \pubname{Kluwer}
> 12 \city{Dordrecht}
> 13 \pubyear{1994}
> 14 >> \stoppublication
> 15
> 16 \cite[haq]
> 17
> 18 \stoptext
> ?
> ============
>
> Now my understanding is that the new biblio system does not use bbl files yet. But I stopped using .bib files the moment Taco released the original bibliography module. Biblio databases are all in .bbl format.
>
> I also set up an extensive bib environment (attached) to take care of all sorts of things.
>
> If this is broken, can it be fixed asap? Please don't make me have to convert bbl to bib; that will be beyond depressing. Also don't want to lose my environment commands.
>
> This is urgent because there is only a short time to finish this article, and I really want to spend more time writing the content than debugging Context! :-) :-) :-)
>
> Best wishes
> Idris
> --
> Idris Samawi Hamid
> Professor of Philosophy
> Colorado State University
> Fort Collins, CO 80523<bib-env.tex>___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 5+ messages in thread
* Re: bib module - urgent!
2015-01-20 13:07 ` Keith Schultz
@ 2015-01-20 14:23 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 0 replies; 5+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2015-01-20 14:23 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
[-- Attachment #1: Type: text/plain, Size: 1472 bytes --]
Hi Keith,
On Tue, 20 Jan 2015 06:07:23 -0700, Keith Schultz
<keithjschultz@icloud.com> wrote:
> setuppublications[alternative=apa]
Thank you very much. The strange thing is that that exact line is in the
previously attached bib-env.tex (forgot to put it in the minimal file I
sent to the list) but I was still getting an error. Yet now it seems to
work. There must have been something else I was doing wrong in the
original file.
The \usemodule[bib] is just ignored -- ' > modules > 'bib' is not found'
--, so that was not causing it (per Robert's suggestion). Anyway, it seems
I'm back in business. Here is a complete working file (output attached):
===============
\starttext
% \usemodule[bib]
\input bib-env
\startpublication[k=haq,
t=book,
a=Haq,
y=1994,
s=Haq94]
\author[]{Syed Nomanul}[S.]{}{Haq}
\title{Names, Natures, and Things}
\pubname{Kluwer}
\city{Dordrecht}
\pubyear{1994}
\stoppublication
\cite[haq]
\citepage[haq][p.~20]
\citeypage[haq][p.~20]
\citeapypage[haq][p.~20]
\citeyear[haq]
\citeauthor[haq]
\citeauthorp[haq]
\stoptext
===============
Note the extra cite definitions. Perhaps Alan and Hans could add similar
functionality (with better names of course) to the upcoming new bib
mechanism. Thanks again, Keith and Robert, and
Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
[-- Attachment #2: test-bib.pdf --]
[-- Type: application/pdf, Size: 5944 bytes --]
[-- Attachment #3: 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] 5+ messages in thread
[parent not found: <mailman.202.1421745392.2429.ntg-context@ntg.nl>]
* Re: bib module - urgent!
[not found] <mailman.202.1421745392.2429.ntg-context@ntg.nl>
@ 2015-01-20 10:20 ` Robert Blackstone
2015-01-20 12:29 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 1 reply; 5+ messages in thread
From: Robert Blackstone @ 2015-01-20 10:20 UTC (permalink / raw)
To: ntg-context
On 20 Jan 2015, at 10:16 , Idris Samawi Hamid ادريس سماوي حامد wrote
>
> I also set up an extensive bib environment (attached) to take care of all
> sorts of things.
>
> If this is broken, can it be fixed asap? Please don't make me have to
> convert bbl to bib; that will be beyond depressing. Also don't want to
> lose my environment commands.
>
> This is urgent because there is only a short time to finish this article,
> and I really want to spend more time writing the content than debugging
> Context! :-) :-) :-)
>
> Best wishes
What happens if you do not load the bib-module, in other words, omit \usemodule[bib], and input only your existing .bbl-files and your bibliograhy setups?
This is what I always do and it still works with the standalone that I installed on january 13 this year.
Best regards,
Robert Blackstone
___________________________________________________________________________________
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] 5+ messages in thread
* Re: bib module - urgent!
2015-01-20 10:20 ` Robert Blackstone
@ 2015-01-20 12:29 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 0 replies; 5+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2015-01-20 12:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Robert,
On Tue, 20 Jan 2015 03:20:10 -0700, Robert Blackstone
<blackstone.robert@gmail.com> wrote:
> On 20 Jan 2015, at 10:16 , Idris Samawi Hamid ادريس سماوي حامد wrote
>>
>> I also set up an extensive bib environment (attached) to take care of
>> all
>> sorts of things.
>>
>> If this is broken, can it be fixed asap? Please don't make me have to
>> convert bbl to bib; that will be beyond depressing. Also don't want to
>> lose my environment commands.
>>
>> This is urgent because there is only a short time to finish this
>> article,
>> and I really want to spend more time writing the content than debugging
>> Context! :-) :-) :-)
>>
>> Best wishes
>
> What happens if you do not load the bib-module, in other words, omit
> \usemodule[bib], and input only your existing .bbl-files and your
> bibliograhy setups?
> This is what I always do and it still works with the standalone that I
> installed on january 13 this year.
>
> Best regards,
> Robert Blackstone
I get the exact same lua error.
Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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] 5+ messages in thread
end of thread, other threads:[~2015-01-20 14:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-19 23:16 bib module - urgent! Idris Samawi Hamid ادريس سماوي حامد
2015-01-20 13:07 ` Keith Schultz
2015-01-20 14:23 ` Idris Samawi Hamid ادريس سماوي حامد
[not found] <mailman.202.1421745392.2429.ntg-context@ntg.nl>
2015-01-20 10:20 ` Robert Blackstone
2015-01-20 12:29 ` Idris Samawi Hamid ادريس سماوي حامد
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).