* beta
@ 2009-03-30 16:40 Hans Hagen
2009-03-30 19:52 ` beta Aditya Mahajan
0 siblings, 1 reply; 25+ messages in thread
From: Hans Hagen @ 2009-03-30 16:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
i uploaded a beta ... this one matches the latest check-in of luatex
this is also the last non-xp version as i'm going to merge the cont-xp
code into th emain version now
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: beta
2009-03-30 16:40 beta Hans Hagen
@ 2009-03-30 19:52 ` Aditya Mahajan
2009-03-30 20:27 ` New bib module (was: beta) Wolfgang Schuster
` (3 more replies)
0 siblings, 4 replies; 25+ messages in thread
From: Aditya Mahajan @ 2009-03-30 19:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, 30 Mar 2009, Hans Hagen wrote:
> Hi,
>
> i uploaded a beta ... this one matches the latest check-in of luatex
>
> this is also the last non-xp version as i'm going to merge the cont-xp code
> into th emain version now
Currently, the bib module does not work with cont-xp. Taco has said that
it is easier to redo the bib module in lua than to get it to work with xp.
A few weeks back Taco said that a lua based bib module is at least a few
months away
(http://archive.contextgarden.net/message/20090312.084338.8be52e4c.en.html).
Is that still the case? Without the bib module, I will not be able to use
MKIV in real projects, and would basically be stuck at the current beta.
Aditya
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* New bib module (was: beta)
2009-03-30 19:52 ` beta Aditya Mahajan
@ 2009-03-30 20:27 ` Wolfgang Schuster
2009-03-30 20:40 ` beta Jesse Alama
` (2 subsequent siblings)
3 siblings, 0 replies; 25+ messages in thread
From: Wolfgang Schuster @ 2009-03-30 20:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 30.03.2009 um 21:52 schrieb Aditya Mahajan:
> On Mon, 30 Mar 2009, Hans Hagen wrote:
>
>> this is also the last non-xp version as i'm going to merge the cont-
>> xp code into th emain version now
>
> Currently, the bib module does not work with cont-xp. Taco has said
> that it is easier to redo the bib module in lua than to get it to
> work with xp.
Will this new module also provide BibX support?
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: beta
2009-03-30 19:52 ` beta Aditya Mahajan
2009-03-30 20:27 ` New bib module (was: beta) Wolfgang Schuster
@ 2009-03-30 20:40 ` Jesse Alama
2009-03-30 21:26 ` beta Hans Hagen
2009-03-30 22:11 ` New bib module (was: beta) Wolfgang Schuster
3 siblings, 0 replies; 25+ messages in thread
From: Jesse Alama @ 2009-03-30 20:40 UTC (permalink / raw)
To: ntg-context
Aditya Mahajan <adityam@umich.edu> writes:
> On Mon, 30 Mar 2009, Hans Hagen wrote:
>
>> Hi,
>>
>> i uploaded a beta ... this one matches the latest check-in of luatex
>>
>> this is also the last non-xp version as i'm going to merge the
>> cont-xp code into th emain version now
>
> Currently, the bib module does not work with cont-xp. Taco has said
> that it is easier to redo the bib module in lua than to get it to work
> with xp.
>
> A few weeks back Taco said that a lua based bib module is at least a
> few months away
> (http://archive.contextgarden.net/message/20090312.084338.8be52e4c.en.html). Is
> that still the case? Without the bib module, I will not be able to use
> MKIV in real projects, and would basically be stuck at the current
> beta.
+1 (I'm currently wrapping up my dissertation using mkiv.)
That said, a lua version of the bib module would, of course, be welcome.
Jesse
--
Jesse Alama (alama@stanford.edu)
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: beta
2009-03-30 19:52 ` beta Aditya Mahajan
2009-03-30 20:27 ` New bib module (was: beta) Wolfgang Schuster
2009-03-30 20:40 ` beta Jesse Alama
@ 2009-03-30 21:26 ` Hans Hagen
2009-03-31 7:35 ` beta Taco Hoekwater
2009-03-30 22:11 ` New bib module (was: beta) Wolfgang Schuster
3 siblings, 1 reply; 25+ messages in thread
From: Hans Hagen @ 2009-03-30 21:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
Aditya Mahajan wrote:
> On Mon, 30 Mar 2009, Hans Hagen wrote:
>
>> Hi,
>>
>> i uploaded a beta ... this one matches the latest check-in of luatex
>>
>> this is also the last non-xp version as i'm going to merge the cont-xp
>> code into th emain version now
>
> Currently, the bib module does not work with cont-xp. Taco has said that
> it is easier to redo the bib module in lua than to get it to work with xp.
>
> A few weeks back Taco said that a lua based bib module is at least a few
> months away
> (http://archive.contextgarden.net/message/20090312.084338.8be52e4c.en.html).
> Is that still the case? Without the bib module, I will not be able to
> use MKIV in real projects, and would basically be stuck at the current
> beta.
hm, can you check what fails?
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: beta
2009-03-30 21:26 ` beta Hans Hagen
@ 2009-03-31 7:35 ` Taco Hoekwater
2009-03-31 9:02 ` beta Hans Hagen
0 siblings, 1 reply; 25+ messages in thread
From: Taco Hoekwater @ 2009-03-31 7:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hans Hagen wrote:
>>
>> A few weeks back Taco said that a lua based bib module is at least a
>> few months away
>> (http://archive.contextgarden.net/message/20090312.084338.8be52e4c.en.html).
>> Is that still the case? Without the bib module, I will not be able to
>> use MKIV in real projects, and would basically be stuck at the current
>> beta.
>
> hm, can you check what fails?
! Undefined control sequence.
<argument> \alltoclevels
That is because the publication list is a <list> and it has to redefine
some of the internal filtering routines so you can say
\placepublicationlist[criterium=]
There are two big bad macros. First, there is this redefinition
of \dosetfilterlevel (that became needed after some point due to
changes in context).
%%%%%%%%%%%%%%%%%%%%%%%%5
\def\patcheddosetfilterlevel#1#2% beware: this one is \let
{\bgroup
\ignoresectionconversion % this is vital for bib !
\edef\askedlevel{#1}%
\edef\askedfilter{#2}%
\ifx\askedlevel\v!current
\dosetcurrentlevel\askedlevel
\else\ifx\askedlevel\v!previous
\dosetpreviouslevel\askedlevel
\else\ifx\askedlevel\v!all
\global\chardef\alltoclevels\plusone
\else\ifx\askedlevel\v!text
\global\chardef\alltoclevels\plusone
\else
\edef\byaskedlevel{\csname\??by\askedlevel\endcsname}%
\ifx\byaskedlevel\v!text
\dosettextlevel\askedlevel
\else
\dosetotherlevel\askedlevel
\fi
\fi\fi\fi\fi
\ifx\askedfilter\empty \else
\xdef\currentlevel
{\currentlevel\sectionseparator\askedfilter}%
\fi
\egroup}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The second is this macro, which does the actual filtering:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\filllocalpublist%
{\let\dosetfilterlevel\patcheddosetfilterlevel
\dosettoclevel\??li{pubs}%
\let\dosetfilterlevel\normaldosetfilterlevel
\global\let\glocalpublist\empty
\doloop
{\doifdefinedelse
{\r!cross cite-\jobname-\recurselevel}
{\doifreferencefoundelse
{cite-\jobname-\recurselevel}
{\@EA\doifreglevelelse\@EA[\currentlocationreference]
{\@EA\doglobal\@EA\addtocommalist\@EA
{\currenttextreference}\glocalpublist}{}}
{}}%
{\exitloop}}%
\let\localpublist\glocalpublist}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* New bib module (was: beta)
2009-03-30 19:52 ` beta Aditya Mahajan
` (2 preceding siblings ...)
2009-03-30 21:26 ` beta Hans Hagen
@ 2009-03-30 22:11 ` Wolfgang Schuster
2009-03-31 7:27 ` New bib module Taco Hoekwater
3 siblings, 1 reply; 25+ messages in thread
From: Wolfgang Schuster @ 2009-03-30 22:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 30.03.2009 um 21:52 schrieb Aditya Mahajan:
> On Mon, 30 Mar 2009, Hans Hagen wrote:
>
>> this is also the last non-xp version as i'm going to merge the cont-
>> xp code into th emain version now
>
> Currently, the bib module does not work with cont-xp. Taco has said
> that it is easier to redo the bib module in lua than to get it to
> work with xp.
Will this new module also provide BibX support?
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: New bib module
2009-03-30 22:11 ` New bib module (was: beta) Wolfgang Schuster
@ 2009-03-31 7:27 ` Taco Hoekwater
2009-03-31 7:40 ` Hans Hagen
2009-03-31 10:25 ` Wolfgang Schuster
0 siblings, 2 replies; 25+ messages in thread
From: Taco Hoekwater @ 2009-03-31 7:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
>
> Am 30.03.2009 um 21:52 schrieb Aditya Mahajan:
>
>> On Mon, 30 Mar 2009, Hans Hagen wrote:
>>
>>> this is also the last non-xp version as i'm going to merge the
>>> cont-xp code into th emain version now
>>
>> Currently, the bib module does not work with cont-xp. Taco has said
>> that it is easier to redo the bib module in lua than to get it to work
>> with xp.
>
> Will this new module also provide BibX support?
Perhaps ;)
On the input side, the new module will load bibliographies from disk
into an internal XML structure and then use lpath queries to fetch
bibliographic data. It will use separate loaders to do so, so in
the end, anything can be plugged in as long as it can be converted
to the internal structure.
I have not decided yet how to handle the output (layout) side.
Best wishes,
Taco
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: New bib module
2009-03-31 7:27 ` New bib module Taco Hoekwater
@ 2009-03-31 7:40 ` Hans Hagen
2009-03-31 10:25 ` Wolfgang Schuster
1 sibling, 0 replies; 25+ messages in thread
From: Hans Hagen @ 2009-03-31 7:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
Taco Hoekwater wrote:
>
> Wolfgang Schuster wrote:
>> Am 30.03.2009 um 21:52 schrieb Aditya Mahajan:
>>
>>> On Mon, 30 Mar 2009, Hans Hagen wrote:
>>>
>>>> this is also the last non-xp version as i'm going to merge the
>>>> cont-xp code into th emain version now
>>> Currently, the bib module does not work with cont-xp. Taco has said
>>> that it is easier to redo the bib module in lua than to get it to work
>>> with xp.
>> Will this new module also provide BibX support?
>
> Perhaps ;)
>
> On the input side, the new module will load bibliographies from disk
> into an internal XML structure and then use lpath queries to fetch
> bibliographic data. It will use separate loaders to do so, so in
> the end, anything can be plugged in as long as it can be converted
> to the internal structure.
>
> I have not decided yet how to handle the output (layout) side.
easiest is to use setups
\startxmlsetups bibtex:somename
... fetch this ...
... fetch that ...
and then have something
\setupbibtex[setups=bibtex:somename]
with someplace
\xmlsetup{\bibtexparameter{setups}}{#1}
etc etc
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: New bib module
2009-03-31 7:27 ` New bib module Taco Hoekwater
2009-03-31 7:40 ` Hans Hagen
@ 2009-03-31 10:25 ` Wolfgang Schuster
2009-04-01 2:06 ` Bruce D'Arcus
1 sibling, 1 reply; 25+ messages in thread
From: Wolfgang Schuster @ 2009-03-31 10:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 31.03.2009 um 09:27 schrieb Taco Hoekwater:
>> Will this new module also provide BibX support?
>
> Perhaps ;)
>
> On the input side, the new module will load bibliographies from disk
> into an internal XML structure and then use lpath queries to fetch
> bibliographic data. It will use separate loaders to do so, so in
> the end, anything can be plugged in as long as it can be converted
> to the internal structure.
Why not just a lua table to save the data?
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: New bib module
2009-03-31 10:25 ` Wolfgang Schuster
@ 2009-04-01 2:06 ` Bruce D'Arcus
2009-04-01 6:20 ` Taco Hoekwater
2009-04-01 7:39 ` Hans Hagen
0 siblings, 2 replies; 25+ messages in thread
From: Bruce D'Arcus @ 2009-04-01 2:06 UTC (permalink / raw)
To: ntg-context
Wolfgang Schuster <schuster.wolfgang <at> googlemail.com> writes:
> Am 31.03.2009 um 09:27 schrieb Taco Hoekwater:
>
> >> Will this new module also provide BibX support?
> >
> > Perhaps ;)
> >
> > On the input side, the new module will load bibliographies from disk
> > into an internal XML structure and then use lpath queries to fetch
> > bibliographic data. It will use separate loaders to do so, so in
> > the end, anything can be plugged in as long as it can be converted
> > to the internal structure.
>
> Why not just a lua table to save the data?
Yes, I was wondering the same thing. This is typically how the various CSL
implementations work; parse the input data (XML, RDF, BibTeX, etc.) into some
internal structure.
Bruce
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: New bib module
2009-04-01 2:06 ` Bruce D'Arcus
@ 2009-04-01 6:20 ` Taco Hoekwater
2009-04-01 14:07 ` Bruce D'Arcus
2009-04-01 7:39 ` Hans Hagen
1 sibling, 1 reply; 25+ messages in thread
From: Taco Hoekwater @ 2009-04-01 6:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
Bruce D'Arcus wrote:
> Wolfgang Schuster <schuster.wolfgang <at> googlemail.com> writes:
>
>> Am 31.03.2009 um 09:27 schrieb Taco Hoekwater:
>>
>>>> Will this new module also provide BibX support?
>>> Perhaps ;)
>>>
>>> On the input side, the new module will load bibliographies from disk
>>> into an internal XML structure and then use lpath queries to fetch
>>> bibliographic data. It will use separate loaders to do so, so in
>>> the end, anything can be plugged in as long as it can be converted
>>> to the internal structure.
>> Why not just a lua table to save the data?
>
> Yes, I was wondering the same thing. This is typically how the various CSL
> implementations work; parse the input data (XML, RDF, BibTeX, etc.) into some
> internal structure.
I was't clear enough. "internal XML structure" actually is a lua
table structure. It just follows a bunch of special rules that
make lpath queries work.
Best wisehes,
Taco
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: New bib module
2009-04-01 6:20 ` Taco Hoekwater
@ 2009-04-01 14:07 ` Bruce D'Arcus
0 siblings, 0 replies; 25+ messages in thread
From: Bruce D'Arcus @ 2009-04-01 14:07 UTC (permalink / raw)
To: ntg-context
Taco Hoekwater <taco <at> elvenkind.com> writes:
> Bruce D'Arcus wrote:
> > Wolfgang Schuster <schuster.wolfgang <at> googlemail.com> writes:
> >
> >> Am 31.03.2009 um 09:27 schrieb Taco Hoekwater:
> >>
> >>>> Will this new module also provide BibX support?
> >>> Perhaps ;)
> >>>
> >>> On the input side, the new module will load bibliographies from disk
> >>> into an internal XML structure and then use lpath queries to fetch
> >>> bibliographic data. It will use separate loaders to do so, so in
> >>> the end, anything can be plugged in as long as it can be converted
> >>> to the internal structure.
> >> Why not just a lua table to save the data?
> >
> > Yes, I was wondering the same thing. This is typically how the various CSL
> > implementations work; parse the input data (XML, RDF, BibTeX, etc.) into some
> > internal structure.
>
> I was't clear enough. "internal XML structure" actually is a lua
> table structure. It just follows a bunch of special rules that
> make lpath queries work.
So it's a native Lua mapping of an XML model? E.g. something like, say, element
tree provides for Python?
Does that suggest that the input data is always XML?
Bruce
PS - Frank Bennett has been doing a lot of promising work on a rewrite of
Zotero's javscript-based CSL processor:
<http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/citeproc-js/trunk/>.
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: New bib module
2009-04-01 2:06 ` Bruce D'Arcus
2009-04-01 6:20 ` Taco Hoekwater
@ 2009-04-01 7:39 ` Hans Hagen
1 sibling, 0 replies; 25+ messages in thread
From: Hans Hagen @ 2009-04-01 7:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
Bruce D'Arcus wrote:
> Wolfgang Schuster <schuster.wolfgang <at> googlemail.com> writes:
>
>> Am 31.03.2009 um 09:27 schrieb Taco Hoekwater:
>>
>>>> Will this new module also provide BibX support?
>>> Perhaps ;)
>>>
>>> On the input side, the new module will load bibliographies from disk
>>> into an internal XML structure and then use lpath queries to fetch
>>> bibliographic data. It will use separate loaders to do so, so in
>>> the end, anything can be plugged in as long as it can be converted
>>> to the internal structure.
>> Why not just a lua table to save the data?
>
> Yes, I was wondering the same thing. This is typically how the various CSL
> implementations work; parse the input data (XML, RDF, BibTeX, etc.) into some
> internal structure.
just because the xml subsystem has some nice filtering and fetching
built in (kind of xpath); internally the xml tree is of course a table,
so it's no big deal to directly build that table without having xml, but
ther ei sno need to invent yet another interface to such a datastructure
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 25+ messages in thread
* bib and bibltx problems
@ 2006-10-24 11:37 Matthias Wächter
2006-10-24 13:13 ` Taco Hoekwater
0 siblings, 1 reply; 25+ messages in thread
From: Matthias Wächter @ 2006-10-24 11:37 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1386 bytes --]
Hi Taco,
I ran into the following problems:
1. see attached files. Three bib entries with different authors, but the resulting references are the same for two of them (!). Appearantly, without sorting the bib entries, the extra label numbering does not work correctly. Changing \setupbibtex to "sort=short" fixes the issue (appending "a" and "b") as well does changing "ITERATE {presort.none}" to "ITERATE {presort.clabel}" in cont-no.bst. But is this a once-and-for-all fix?
2. see attached files. In \setuppublications, numbering is given as "short", but the resulting list of references is only as good as "yes" - I only get the numbers, not the short references in the list. Hmmm, what's the cause for this? Any ideas? Or is it My Fault(TM)?
3. In general: If I'd use bib handwriting \{start,stop}publication without bibltx, would I have to care about the uniqueness of the "short" document names (the "s=" option to \startpublication)? Really? Considering hundreds of possible bibliography entries, this would double the effort: Not only the key (the "k=" option) but also the short name must be unique for correct references.
4. Sometimes, the build process ("texexec --pdf test") breaks after changing some text in the bibliography. Appearantly, sometimes the .bbl file is not updated. removing the .bbl file fixes the build. No recipy available, sorry.
Thanks,
- Matthias
[-- Attachment #2: test.tex --]
[-- Type: text/plain, Size: 239 bytes --]
\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=mybibs,sort=no]
\setuppublications[refcommand=short,numbering=short]
\starttext For all times, \cite[TRUE] is right and \cite[FALSE] is wrong.
\completepublications
\stoptext
[-- Attachment #3: mybibs.bib --]
[-- Type: text/plain, Size: 384 bytes --]
@techreport{TRUE,
Title = "True Values",
Author = "True Author",
Year = "2005",
}
@techreport{GNUS,
Title = "Gnus in the Wild",
Author = "Another Doctor",
Year = "2005",
}
@techreport{FALSE,
Title = "False values",
Author = "False Author",
Year = "2005",
}
[-- Attachment #4: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: bib and bibltx problems
2006-10-24 11:37 bib and bibltx problems Matthias Wächter
@ 2006-10-24 13:13 ` Taco Hoekwater
2006-11-04 16:50 ` new bib module Taco Hoekwater
0 siblings, 1 reply; 25+ messages in thread
From: Taco Hoekwater @ 2006-10-24 13:13 UTC (permalink / raw)
Hi Matthias,
I goofed somewhere, that's for sure. Are you in a real hurry, or can
I take a day or two staring at it?
Taco
Matthias Wächter wrote:
> Hi Taco,
>
> I ran into the following problems:
>
> 1. see attached files. Three bib entries with different authors, but the
> resulting references are the same for two of them (!). Appearantly,
> without sorting the bib entries, the extra label numbering does not work
> correctly. Changing \setupbibtex to "sort=short" fixes the issue
> (appending "a" and "b") as well does changing "ITERATE {presort.none}"
> to "ITERATE {presort.clabel}" in cont-no.bst. But is this a
> once-and-for-all fix?
>
> 2. see attached files. In \setuppublications, numbering is given as
> "short", but the resulting list of references is only as good as "yes" -
> I only get the numbers, not the short references in the list. Hmmm,
> what's the cause for this? Any ideas? Or is it My Fault(TM)?
>
> 3. In general: If I'd use bib handwriting \{start,stop}publication
> without bibltx, would I have to care about the uniqueness of the "short"
> document names (the "s=" option to \startpublication)? Really?
> Considering hundreds of possible bibliography entries, this would double
> the effort: Not only the key (the "k=" option) but also the short name
> must be unique for correct references.
>
> 4. Sometimes, the build process ("texexec --pdf test") breaks after
> changing some text in the bibliography. Appearantly, sometimes the .bbl
> file is not updated. removing the .bbl file fixes the build. No recipy
> available, sorry.
>
> Thanks,
> - Matthias
>
>
> ------------------------------------------------------------------------
>
> \usemodule[bib]
> \usemodule[bibltx]
> \setupbibtex[database=mybibs,sort=no]
> \setuppublications[refcommand=short,numbering=short]
> \starttext For all times, \cite[TRUE] is right and \cite[FALSE] is wrong.
> \completepublications
> \stoptext
>
>
> ------------------------------------------------------------------------
>
> @techreport{TRUE,
> Title = "True Values",
> Author = "True Author",
> Year = "2005",
> }
>
> @techreport{GNUS,
> Title = "Gnus in the Wild",
> Author = "Another Doctor",
> Year = "2005",
> }
>
> @techreport{FALSE,
> Title = "False values",
> Author = "False Author",
> Year = "2005",
> }
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 25+ messages in thread
* new bib module
2006-10-24 13:13 ` Taco Hoekwater
@ 2006-11-04 16:50 ` Taco Hoekwater
2006-11-04 17:37 ` Thomas A. Schmitz
0 siblings, 1 reply; 25+ messages in thread
From: Taco Hoekwater @ 2006-11-04 16:50 UTC (permalink / raw)
Hi,
I just uploaded a new bib module to http://modules.contextgarden.net
Fixes:
* \setuppublications[numbering=short]
* \setuppublications[numbering=bib]
* grid snapping of the publication list
* some spurious spaces
Added:
* \setupbibtex[bibtex=bibtex]
For Matthias: I know this does not quite fix all the problems
you had with short item keys when they are not generated by
\setupbibtex[sort=short], but at least you can have a normal
list of referenced items now.
Cheers, Taco
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: new bib module
2006-11-04 16:50 ` new bib module Taco Hoekwater
@ 2006-11-04 17:37 ` Thomas A. Schmitz
2006-11-04 17:43 ` Taco Hoekwater
0 siblings, 1 reply; 25+ messages in thread
From: Thomas A. Schmitz @ 2006-11-04 17:37 UTC (permalink / raw)
Thanks Taco! Right now, I get a 404 error when I try to download.
Server error?
Best
Thomas
On Nov 4, 2006, at 5:50 PM, Taco Hoekwater wrote:
> Hi,
>
> I just uploaded a new bib module to http://modules.contextgarden.net
>
> Fixes:
> * \setuppublications[numbering=short]
> * \setuppublications[numbering=bib]
> * grid snapping of the publication list
> * some spurious spaces
>
> Added:
> * \setupbibtex[bibtex=bibtex]
>
> For Matthias: I know this does not quite fix all the problems
> you had with short item keys when they are not generated by
> \setupbibtex[sort=short], but at least you can have a normal
> list of referenced items now.
>
> Cheers, Taco
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: new bib module
2006-11-04 17:37 ` Thomas A. Schmitz
@ 2006-11-04 17:43 ` Taco Hoekwater
2006-11-04 19:28 ` gnwiii
0 siblings, 1 reply; 25+ messages in thread
From: Taco Hoekwater @ 2006-11-04 17:43 UTC (permalink / raw)
Thomas A. Schmitz wrote:
> Thanks Taco! Right now, I get a 404 error when I try to download.
Sorry, re-uploaded (I gave the wrong revision id). Should be ok now.
Taco
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: new bib module
2006-11-04 17:43 ` Taco Hoekwater
@ 2006-11-04 19:28 ` gnwiii
2006-11-04 21:41 ` Thomas A. Schmitz
0 siblings, 1 reply; 25+ messages in thread
From: gnwiii @ 2006-11-04 19:28 UTC (permalink / raw)
On 11/4/06, Taco Hoekwater <taco@elvenkind.com> wrote:
> Thomas A. Schmitz wrote:
> > Thanks Taco! Right now, I get a 404 error when I try to download.
>
> Sorry, re-uploaded (I gave the wrong revision id). Should be ok now.
I was able to download the new version, but it is failing on the simple
example document from the wiki (I called it try-ctx) -- does it need a
very recent context (I have "ConTeXt ver: 2006.08.08 21:51 fmt:
2006.11.4 int: english mes: english")?
$ texmfstart texexec try-ctx
[...]
Completed box being shipped out [1.1]
Memory usage before: 1751&690230; after: 397&690074; still untouched: 939301
title : - References
)
! Incomplete \iffalse; all text was ignored after line 23.
<inserted text>
\fi
<*> try-ctx.tex
emergencyend
?
--
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: new bib module
2006-11-04 19:28 ` gnwiii
@ 2006-11-04 21:41 ` Thomas A. Schmitz
2006-11-04 22:24 ` Taco Hoekwater
0 siblings, 1 reply; 25+ messages in thread
From: Thomas A. Schmitz @ 2006-11-04 21:41 UTC (permalink / raw)
On Nov 4, 2006, at 8:28 PM, gnwiii@gmail.com wrote:
> $ texmfstart texexec try-ctx
> [...]
> Completed box being shipped out [1.1]
> Memory usage before: 1751&690230; after: 397&690074; still
> untouched: 939301
> title : - References
> )
> ! Incomplete \iffalse; all text was ignored after line 23.
> <inserted text>
> \fi
> <*> try-ctx.tex
> emergencyend
> ?
>
I got the same error; I think a \fi is missing in line 935?
Best
Thomas
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: new bib module
2006-11-04 21:41 ` Thomas A. Schmitz
@ 2006-11-04 22:24 ` Taco Hoekwater
2006-11-05 12:12 ` gnwiii
2006-11-05 14:04 ` Hans Hagen
0 siblings, 2 replies; 25+ messages in thread
From: Taco Hoekwater @ 2006-11-04 22:24 UTC (permalink / raw)
Thomas A. Schmitz wrote:
> On Nov 4, 2006, at 8:28 PM, gnwiii@gmail.com wrote:
>
>
>>$ texmfstart texexec try-ctx
>>[...]
>>Completed box being shipped out [1.1]
>>Memory usage before: 1751&690230; after: 397&690074; still
>>untouched: 939301
>>title : - References
>>)
>>! Incomplete \iffalse; all text was ignored after line 23.
>><inserted text>
>> \fi
>><*> try-ctx.tex
>> emergencyend
>>?
>>
>
>
> I got the same error; I think a \fi is missing in line 935?
>
Absolutely correct, sorry again. Not my best day, this.
New version uploaded
Taco
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: new bib module
2006-11-04 22:24 ` Taco Hoekwater
@ 2006-11-05 12:12 ` gnwiii
2006-11-05 13:52 ` Taco Hoekwater
2006-11-05 14:04 ` Hans Hagen
1 sibling, 1 reply; 25+ messages in thread
From: gnwiii @ 2006-11-05 12:12 UTC (permalink / raw)
On 11/4/06, Taco Hoekwater <taco@elvenkind.com> wrote:
> Thomas A. Schmitz wrote:
> > On Nov 4, 2006, at 8:28 PM, gnwiii@gmail.com wrote:
> >
> >
> >>$ texmfstart texexec try-ctx
> >>[...]
> >>Completed box being shipped out [1.1]
> >>Memory usage before: 1751&690230; after: 397&690074; still
> >>untouched: 939301
> >>title : - References
> >>)
> >>! Incomplete \iffalse; all text was ignored after line 23.
> >><inserted text>
> >> \fi
> >><*> try-ctx.tex
> >> emergencyend
> >>?
> >>
> >
> >
> > I got the same error; I think a \fi is missing in line 935?
> >
>
> Absolutely correct, sorry again. Not my best day, this.
>
> New version uploaded
Now I get (running on linux):
$ texmfstart texexec try-ctx >texmfstart.log 2>&1
[gwhite@cerberus bibtex]$ grep bibtex texmfstart.log
publications : file try-ctx.bbl not found, waiting for bibtex
TeXUtil | running bibtex\ try-ctx
sh: bibtex try-ctx: command not found
publications : file try-ctx.bbl not found, waiting for bibtex
publications : file try-ctx.bbl not found, waiting for bibtex
[gwhite@cerberus bibtex]$ bibtex try-ctx
This is BibTeX, Version 0.99c (Web2C 7.5.5)
The top-level auxiliary file: try-ctx.aux
The style file: cont-no.bst
Database file #1: xampl.bib
It seems that linux looks for the program "bibtex try-ctx" due to the
escaped "space".
--
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: new bib module
2006-11-05 12:12 ` gnwiii
@ 2006-11-05 13:52 ` Taco Hoekwater
2006-11-05 17:30 ` gnwiii
0 siblings, 1 reply; 25+ messages in thread
From: Taco Hoekwater @ 2006-11-05 13:52 UTC (permalink / raw)
gnwiii@gmail.com wrote:
>
> It seems that linux looks for the program "bibtex try-ctx" due to the
> escaped "space".
Never give up, never surrender!
(new release uploaded)
Taco
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: new bib module
2006-11-05 13:52 ` Taco Hoekwater
@ 2006-11-05 17:30 ` gnwiii
0 siblings, 0 replies; 25+ messages in thread
From: gnwiii @ 2006-11-05 17:30 UTC (permalink / raw)
On 11/5/06, Taco Hoekwater <taco@elvenkind.com> wrote:
> gnwiii@gmail.com wrote:
> >
> > It seems that linux looks for the program "bibtex try-ctx" due to the
> > escaped "space".
>
> Never give up, never surrender!
>
> (new release uploaded)
Thanks. If you haven't had days like that you haven't done enough
programming yet.
I've already tested
\expanded{\installprogram{\@@pbbibtex\ \jobname}}}} -->
\expanded{\installprogram{\@@pbbibtex\space\jobname}}}}
and it "works for me" with the defaults and with
\setupbibtex[database=xampl,bibtex=bibtex8]
on linux, but it will be a couple weeks before I'm near Win32 long
enough for further tests.
--
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: new bib module
2006-11-04 22:24 ` Taco Hoekwater
2006-11-05 12:12 ` gnwiii
@ 2006-11-05 14:04 ` Hans Hagen
1 sibling, 0 replies; 25+ messages in thread
From: Hans Hagen @ 2006-11-05 14:04 UTC (permalink / raw)
Taco Hoekwater wrote:
> Thomas A. Schmitz wrote:
>
>> On Nov 4, 2006, at 8:28 PM, gnwiii@gmail.com wrote:
>>
>>
>>
>>> $ texmfstart texexec try-ctx
>>> [...]
>>> Completed box being shipped out [1.1]
>>> Memory usage before: 1751&690230; after: 397&690074; still
>>> untouched: 939301
>>> title : - References
>>> )
>>> ! Incomplete \iffalse; all text was ignored after line 23.
>>> <inserted text>
>>> \fi
>>> <*> try-ctx.tex
>>> emergencyend
>>> ?
>>>
>>>
>> I got the same error; I think a \fi is missing in line 935?
>>
>>
>
> Absolutely correct, sorry again. Not my best day, this.
>
come on, you're timesharing between luatex dev, metapost dev, context
dev, company work ... permit yourself some occasional bugs -)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2009-04-01 14:07 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-30 16:40 beta Hans Hagen
2009-03-30 19:52 ` beta Aditya Mahajan
2009-03-30 20:27 ` New bib module (was: beta) Wolfgang Schuster
2009-03-30 20:40 ` beta Jesse Alama
2009-03-30 21:26 ` beta Hans Hagen
2009-03-31 7:35 ` beta Taco Hoekwater
2009-03-31 9:02 ` beta Hans Hagen
2009-03-30 22:11 ` New bib module (was: beta) Wolfgang Schuster
2009-03-31 7:27 ` New bib module Taco Hoekwater
2009-03-31 7:40 ` Hans Hagen
2009-03-31 10:25 ` Wolfgang Schuster
2009-04-01 2:06 ` Bruce D'Arcus
2009-04-01 6:20 ` Taco Hoekwater
2009-04-01 14:07 ` Bruce D'Arcus
2009-04-01 7:39 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2006-10-24 11:37 bib and bibltx problems Matthias Wächter
2006-10-24 13:13 ` Taco Hoekwater
2006-11-04 16:50 ` new bib module Taco Hoekwater
2006-11-04 17:37 ` Thomas A. Schmitz
2006-11-04 17:43 ` Taco Hoekwater
2006-11-04 19:28 ` gnwiii
2006-11-04 21:41 ` Thomas A. Schmitz
2006-11-04 22:24 ` Taco Hoekwater
2006-11-05 12:12 ` gnwiii
2006-11-05 13:52 ` Taco Hoekwater
2006-11-05 17:30 ` gnwiii
2006-11-05 14:04 ` Hans Hagen
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).