* Re: Bib module in mkiv
2009-04-17 9:32 ` Thomas A. Schmitz
@ 2009-04-17 10:08 ` Hans Hagen
2009-04-17 11:58 ` Wolfgang Schuster
2009-04-17 17:06 ` Hans Hagen
2009-04-17 17:37 ` Hans Hagen
2 siblings, 1 reply; 20+ messages in thread
From: Hans Hagen @ 2009-04-17 10:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thomas A. Schmitz wrote:
>
> On Apr 17, 2009, at 9:55 AM, Taco Hoekwater wrote:
>
>> Hi,
>>
>> Hans sent me a patch for the bib module so that it now should
>> work with the latest mkiv once again, but the code needs testing
>> before being included in the context distribution, so please
>> do so. You can get the new version of the module from
>>
>> http://modules.contextgarden.net/bib
>>
>> Note: you need the latest context beta, because the bib module
>> required a small extension to the core.
>>
>> Best wishes,
>> Taco
>
> Hi Taco,
>
> just to clarify things: on the download site in the garden, you write:
> "This release has support for the new mkiv structure code, but it needs
> a very new beta (2009.04.16 23:52)" The latest beta I could find was
> 2009.04.16 22:27, and with this, I still get the error
>
> ! Undefined control sequence.
> <argument> ... [\bibrefprefix ][\sectionseparator
> ]
> \expanded ...\long \xdef \@@expanded {\noexpand #1
> }\@@expanded
> \preparebibreflist ...refix ][\sectionseparator ]}
> \storeitem
> \expandrefs ...ibrefprefix \preparebibreflist {#1}
> \global
> \bibreffoundfalse ...
> \next2 #1,->\expandrefs {#1}
> \doprocesscommaitem
> \doprocesscommalist ...item \gobbleoneargument #1,
> ]\relax \global
> \advance \...
> ....
> l.182 ...lications[criterium=cite,option=continue]
>
> Should we wait for a still newer beta, or is this a typo and I need to
> dig deeper?
i'll look into it, but then need a zip with a minimal set of files that
i can use for testing
-----------------------------------------------------------------
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 10:08 ` Hans Hagen
@ 2009-04-17 11:58 ` Wolfgang Schuster
2009-04-17 17:05 ` Hans Hagen
2009-04-17 20:40 ` Peter Münster
0 siblings, 2 replies; 20+ messages in thread
From: Wolfgang Schuster @ 2009-04-17 11:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.04.2009 um 12:08 schrieb Hans Hagen:
> i'll look into it, but then need a zip with a minimal set of files
> that i can use for testing
With the filecontents environment you need only one file: http://wiki.contextgarden.net/Filecontents
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 11:58 ` Wolfgang Schuster
@ 2009-04-17 17:05 ` Hans Hagen
2009-04-17 17:20 ` Wolfgang Schuster
2009-04-17 20:40 ` Peter Münster
1 sibling, 1 reply; 20+ messages in thread
From: Hans Hagen @ 2009-04-17 17:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
>
> Am 17.04.2009 um 12:08 schrieb Hans Hagen:
>
>> i'll look into it, but then need a zip with a minimal set of files
>> that i can use for testing
>
> With the filecontents environment you need only one file:
> http://wiki.contextgarden.net/Filecontents
is this related to bibliographies?
-----------------------------------------------------------------
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 17:05 ` Hans Hagen
@ 2009-04-17 17:20 ` Wolfgang Schuster
2009-04-17 17:30 ` Hans Hagen
0 siblings, 1 reply; 20+ messages in thread
From: Wolfgang Schuster @ 2009-04-17 17:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.04.2009 um 19:05 schrieb Hans Hagen:
> Wolfgang Schuster wrote:
>> Am 17.04.2009 um 12:08 schrieb Hans Hagen:
>>> i'll look into it, but then need a zip with a minimal set of files
>>> that i can use for testing
>> With the filecontents environment you need only one file: http://wiki.contextgarden.net/Filecontents
>
> is this related to bibliographies?
No but you don't need multiple files for a example.
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 17:20 ` Wolfgang Schuster
@ 2009-04-17 17:30 ` Hans Hagen
2009-04-17 17:39 ` Wolfgang Schuster
2009-04-17 17:49 ` Thomas Prochaska
0 siblings, 2 replies; 20+ messages in thread
From: Hans Hagen @ 2009-04-17 17:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
>
> Am 17.04.2009 um 19:05 schrieb Hans Hagen:
>
>> Wolfgang Schuster wrote:
>>> Am 17.04.2009 um 12:08 schrieb Hans Hagen:
>>>> i'll look into it, but then need a zip with a minimal set of files
>>>> that i can use for testing
>>> With the filecontents environment you need only one file:
>>> http://wiki.contextgarden.net/Filecontents
>>
>> is this related to bibliographies?
>
> No but you don't need multiple files for a example.
runs ok here
-----------------------------------------------------------------
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 17:30 ` Hans Hagen
@ 2009-04-17 17:39 ` Wolfgang Schuster
2009-04-17 17:48 ` Hans Hagen
2009-04-17 17:49 ` Thomas Prochaska
1 sibling, 1 reply; 20+ messages in thread
From: Wolfgang Schuster @ 2009-04-17 17:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.04.2009 um 19:30 schrieb Hans Hagen:
> Wolfgang Schuster wrote:
>> Am 17.04.2009 um 19:05 schrieb Hans Hagen:
>>> Wolfgang Schuster wrote:
>>>> Am 17.04.2009 um 12:08 schrieb Hans Hagen:
>>>>> i'll look into it, but then need a zip with a minimal set of
>>>>> files that i can use for testing
>>>> With the filecontents environment you need only one file: http://wiki.contextgarden.net/Filecontents
>>>
>>> is this related to bibliographies?
>> No but you don't need multiple files for a example.
>
> runs ok here
that's not what I mean, here is a example, the bib entry comes from a
external
file but you need only one file for the example because the filecontents
environment creates the bib file at compile time.
% defintion of the filecontents environment
\unprotect
\definemessageconstant {filecontents}
\startmessages all library: filecontents
title: filecontents
1: Overwriting file --
2: Writing file --
\stopmessages
\def\startfilecontents
{\begingroup
\protectbuffersfalse
\dostartfilecontents}
\def\dostartfilecontents[#1]%
{\doiffileexistselse{#1}
{\showmessage\m!filecontents{1}{#1}}
{\showmessage\m!filecontents{2}{#1}}%
\beforesplitstring#1\at.\to\filename
\aftersplitstring #1\at.\to\extension
\let\f!temporaryextension\extension
\dostartbuffer[\filename][startfilecontents][stopfilecontents]}
\def\stopfilecontents
{\doifmode{mkiv}{\savebuffer[\filename]\ctxlua{file.copy("\jobname-
\filename.tmp","\filename.\f!temporaryextension")}}%
\endgroup}
\protect
% start of the real document
\startfilecontents[example.bib]
@manual{me,
author = "Taco Hoekwater",
title = "\CONTEXT\ Publication Module, The user documententation",
year = 2006,
note = "In case you didn't know: it's the document you are
reading now",
pages = 14
}
\stopfilecontents
\usemodule[bib]
\setupbibtex[database=example]
\starttext
\cite[me]
\placepublications
\stoptext
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 17:39 ` Wolfgang Schuster
@ 2009-04-17 17:48 ` Hans Hagen
0 siblings, 0 replies; 20+ messages in thread
From: Hans Hagen @ 2009-04-17 17:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
>
> Am 17.04.2009 um 19:30 schrieb Hans Hagen:
>
>> Wolfgang Schuster wrote:
>>> Am 17.04.2009 um 19:05 schrieb Hans Hagen:
>>>> Wolfgang Schuster wrote:
>>>>> Am 17.04.2009 um 12:08 schrieb Hans Hagen:
>>>>>> i'll look into it, but then need a zip with a minimal set of files
>>>>>> that i can use for testing
>>>>> With the filecontents environment you need only one file:
>>>>> http://wiki.contextgarden.net/Filecontents
>>>>
>>>> is this related to bibliographies?
>>> No but you don't need multiple files for a example.
>>
>> runs ok here
>
> that's not what I mean, here is a example, the bib entry comes from a
> external
> file but you need only one file for the example because the filecontents
> environment creates the bib file at compile time.
ah, ok; although figuring out how to make a bib file and how to use it
is not something that i've ever done before, i only looked into a big
one when i wrote the parser -)
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 17:30 ` Hans Hagen
2009-04-17 17:39 ` Wolfgang Schuster
@ 2009-04-17 17:49 ` Thomas Prochaska
2009-04-20 10:30 ` Thomas Prochaska
1 sibling, 1 reply; 20+ messages in thread
From: Thomas Prochaska @ 2009-04-17 17:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 3563 bytes --]
Am Freitag, 17. April 2009 19:30:10 schrieb Hans Hagen:
> Wolfgang Schuster wrote:
> > Am 17.04.2009 um 19:05 schrieb Hans Hagen:
> >> Wolfgang Schuster wrote:
> >>> Am 17.04.2009 um 12:08 schrieb Hans Hagen:
> >>>> i'll look into it, but then need a zip with a minimal set of files
> >>>> that i can use for testing
> >>>
> >>> With the filecontents environment you need only one file:
> >>> http://wiki.contextgarden.net/Filecontents
> >>
> >> is this related to bibliographies?
> >
> > No but you don't need multiple files for a example.
>
> runs ok here
>
>
> -----------------------------------------------------------------
> 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
> ___________________________________________________________________________
>________
hi!
can you please test the attached example? (context dipla.tex)
it doesn't work with the latest beta and fails with the following without
using the new t-bib module:
structure : section @ level 3 : (0.1.1) .. -> Biometrische Systeme
! Undefined control sequence.
\preparebibrefprefix ...lltoclevels \alltoclevels
\let \savedcurrentlevel
\c...
\expandrefs #1->\bgroup \preparebibrefprefix
\preparebibreflist {#1}\global ...
\next1 #1,->\expandrefs {#1}
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
]\relax \global \advance
\...
\bibnumref ...y \processcommalist [#1]\expandrefs
\sortcommacommand
[\theref...
\docite ...alue {bib\@@currentalternative ref}[#2]
\else \processcommalist
[#...
l.5 ...es System\cite[extras={, vgl. S. 3-11}][ki]
\ldots
?
and with the new t-bib module with this:
structure : section @ level 3 : (0.1.1) .. -> Biometrische Systeme
! Undefined control sequence.
<argument> ... [\bibrefprefix ][\sectionseparator
]
\expanded ...\long \xdef \@@expanded {\noexpand #1
}\@@expanded
\preparebibreflist ...refix ][\sectionseparator ]}
\storeitem
\expandrefs ...ibrefprefix \preparebibreflist {#1}
\global \bibreffoundfalse ...
\next1 #1,->\expandrefs {#1}
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
]\relax \global \advance
\...
...
l.5 ...es System\cite[extras={, vgl. S. 3-11}][ki]
\ldots
?
thank you,
regards thomas prochaska
[-- Attachment #2: bib-test.zip --]
[-- Type: application/zip, Size: 1194 bytes --]
[-- Attachment #3: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 17:49 ` Thomas Prochaska
@ 2009-04-20 10:30 ` Thomas Prochaska
2009-04-20 10:55 ` Taco Hoekwater
0 siblings, 1 reply; 20+ messages in thread
From: Thomas Prochaska @ 2009-04-20 10:30 UTC (permalink / raw)
To: ntg-context
Am Freitag, 17. April 2009 19:49:22 schrieb Thomas Prochaska:
> Am Freitag, 17. April 2009 19:30:10 schrieb Hans Hagen:
> > Wolfgang Schuster wrote:
> > > Am 17.04.2009 um 19:05 schrieb Hans Hagen:
> > >> Wolfgang Schuster wrote:
> > >>> Am 17.04.2009 um 12:08 schrieb Hans Hagen:
> > >>>> i'll look into it, but then need a zip with a minimal set of files
> > >>>> that i can use for testing
> > >>>
> > >>> With the filecontents environment you need only one file:
> > >>> http://wiki.contextgarden.net/Filecontents
> > >>
> > >> is this related to bibliographies?
> > >
> > > No but you don't need multiple files for a example.
> >
> > runs ok here
> >
> >
> > -----------------------------------------------------------------
> > 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
> > _________________________________________________________________________
> >__ ________
>
> hi!
>
> can you please test the attached example? (context dipla.tex)
> it doesn't work with the latest beta and fails with the following without
> using the new t-bib module:
>
> structure : section @ level 3 : (0.1.1) .. -> Biometrische Systeme
> ! Undefined control sequence.
> \preparebibrefprefix ...lltoclevels \alltoclevels
> \let \savedcurrentlevel
> \c...
> \expandrefs #1->\bgroup \preparebibrefprefix
> \preparebibreflist {#1}\global
> ... \next1 #1,->\expandrefs {#1}
> \doprocesscommaitem
> \doprocesscommalist ...item \gobbleoneargument #1,
> ]\relax \global \advance
> \...
> \bibnumref ...y \processcommalist [#1]\expandrefs
> \sortcommacommand
> [\theref...
> \docite ...alue {bib\@@currentalternative ref}[#2]
> \else \processcommalist
> [#...
> l.5 ...es System\cite[extras={, vgl. S. 3-11}][ki]
> \ldots
> ?
>
> and with the new t-bib module with this:
> structure : section @ level 3 : (0.1.1) .. -> Biometrische Systeme
> ! Undefined control sequence.
> <argument> ... [\bibrefprefix ][\sectionseparator
> ]
> \expanded ...\long \xdef \@@expanded {\noexpand #1
> }\@@expanded
> \preparebibreflist ...refix ][\sectionseparator ]}
> \storeitem
> \expandrefs ...ibrefprefix \preparebibreflist {#1}
> \global \bibreffoundfalse
> ... \next1 #1,->\expandrefs {#1}
> \doprocesscommaitem
> \doprocesscommalist ...item \gobbleoneargument #1,
> ]\relax \global \advance
> \...
> ...
> l.5 ...es System\cite[extras={, vgl. S. 3-11}][ki]
> \ldots
> ?
>
>
> thank you,
> regards thomas prochaska
hi!
what is the latest status on this? is this example sufficient or is there
another thing i can do to get this resolved?
regards
thomas prochaska
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-20 10:30 ` Thomas Prochaska
@ 2009-04-20 10:55 ` Taco Hoekwater
2009-04-20 11:43 ` Thomas A. Schmitz
0 siblings, 1 reply; 20+ messages in thread
From: Taco Hoekwater @ 2009-04-20 10:55 UTC (permalink / raw)
To: dev, mailing list for ConTeXt users
Hi Thomas,
Thomas Prochaska wrote:
>>
>> and with the new t-bib module with this:
>> structure : section @ level 3 : (0.1.1) .. -> Biometrische Systeme
>> ! Undefined control sequence.
>> <argument> ... [\bibrefprefix ][\sectionseparator
...
> what is the latest status on this? is this example sufficient or is there
> another thing i can do to get this resolved?
Hans replied to Thomas Schmitz with:
> as i'm clueless about what the code does, can you add this to t-bib.mkiv
>
> \def\preparebibreflist#1%
> {\let\bibreflist\empty}
>
> and see if it solves the problem?
Thomas has not reported back yet, so can you try that please?
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-20 10:55 ` Taco Hoekwater
@ 2009-04-20 11:43 ` Thomas A. Schmitz
2009-04-20 11:46 ` Taco Hoekwater
0 siblings, 1 reply; 20+ messages in thread
From: Thomas A. Schmitz @ 2009-04-20 11:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Apr 20, 2009, at 12:55 PM, Taco Hoekwater wrote:
> Hans replied to Thomas Schmitz with:
>
>> as i'm clueless about what the code does, can you add this to t-
>> bib.mkiv
>> \def\preparebibreflist#1%
>> {\let\bibreflist\empty}
>> and see if it solves the problem?
>
> Thomas has not reported back yet, so can you try that please?
>
> Best wishes,
> Taco
Oh, I'm very sorry, I was under the impression that this had been
superseded by newer developments... So: with this \def, the success is
striking: no more error messages - and no bibliography either :-)
All best
Thomas
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-20 11:43 ` Thomas A. Schmitz
@ 2009-04-20 11:46 ` Taco Hoekwater
0 siblings, 0 replies; 20+ messages in thread
From: Taco Hoekwater @ 2009-04-20 11:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thomas A. Schmitz wrote:
>
> On Apr 20, 2009, at 12:55 PM, Taco Hoekwater wrote:
>
>> Hans replied to Thomas Schmitz with:
>>
>>> as i'm clueless about what the code does, can you add this to t-bib.mkiv
>>> \def\preparebibreflist#1%
>>> {\let\bibreflist\empty}
>>> and see if it solves the problem?
>>
>> Thomas has not reported back yet, so can you try that please?
>>
>> Best wishes,
>> Taco
>
> Oh, I'm very sorry, I was under the impression that this had been
> superseded by newer developments... So: with this \def, the success is
> striking: no more error messages - and no bibliography either :-)
I would call that a great success, then! :)
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 11:58 ` Wolfgang Schuster
2009-04-17 17:05 ` Hans Hagen
@ 2009-04-17 20:40 ` Peter Münster
2009-04-18 12:16 ` Hans Hagen
1 sibling, 1 reply; 20+ messages in thread
From: Peter Münster @ 2009-04-17 20:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Fri, 17 Apr 2009, Wolfgang Schuster wrote:
> With the filecontents environment you need only one file:
> http://wiki.contextgarden.net/Filecontents
Hello Hans,
It would be great, if this piece of code could find its way into the
distribution!
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact/
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 9:32 ` Thomas A. Schmitz
2009-04-17 10:08 ` Hans Hagen
@ 2009-04-17 17:06 ` Hans Hagen
2009-04-17 17:37 ` Hans Hagen
2 siblings, 0 replies; 20+ messages in thread
From: Hans Hagen @ 2009-04-17 17:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thomas A. Schmitz wrote:
>
> On Apr 17, 2009, at 9:55 AM, Taco Hoekwater wrote:
>
>> Hi,
>>
>> Hans sent me a patch for the bib module so that it now should
>> work with the latest mkiv once again, but the code needs testing
>> before being included in the context distribution, so please
>> do so. You can get the new version of the module from
>>
>> http://modules.contextgarden.net/bib
>>
>> Note: you need the latest context beta, because the bib module
>> required a small extension to the core.
>>
>> Best wishes,
>> Taco
>
> Hi Taco,
>
> just to clarify things: on the download site in the garden, you write:
> "This release has support for the new mkiv structure code, but it needs
> a very new beta (2009.04.16 23:52)" The latest beta I could find was
> 2009.04.16 22:27, and with this, I still get the error
>
> ! Undefined control sequence.
> <argument> ... [\bibrefprefix ][\sectionseparator
probably that whole bit of code should be disabled in mkiv as there is
no need for it
-----------------------------------------------------------------
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 9:32 ` Thomas A. Schmitz
2009-04-17 10:08 ` Hans Hagen
2009-04-17 17:06 ` Hans Hagen
@ 2009-04-17 17:37 ` Hans Hagen
2009-04-17 17:52 ` Taco Hoekwater
2 siblings, 1 reply; 20+ messages in thread
From: Hans Hagen @ 2009-04-17 17:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thomas A. Schmitz wrote:
>
> On Apr 17, 2009, at 9:55 AM, Taco Hoekwater wrote:
>
>> Hi,
>>
>> Hans sent me a patch for the bib module so that it now should
>> work with the latest mkiv once again, but the code needs testing
>> before being included in the context distribution, so please
>> do so. You can get the new version of the module from
>>
>> http://modules.contextgarden.net/bib
>>
>> Note: you need the latest context beta, because the bib module
>> required a small extension to the core.
>>
>> Best wishes,
>> Taco
>
> Hi Taco,
>
> just to clarify things: on the download site in the garden, you write:
> "This release has support for the new mkiv structure code, but it needs
> a very new beta (2009.04.16 23:52)" The latest beta I could find was
> 2009.04.16 22:27, and with this, I still get the error
>
> ! Undefined control sequence.
> <argument> ... [\bibrefprefix ][\sectionseparator
as i'm clueless about what the code does, can you add this to t-bib.mkiv
\def\preparebibreflist#1%
{\let\bibreflist\empty}
and see if it solves the problem?
-----------------------------------------------------------------
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 17:37 ` Hans Hagen
@ 2009-04-17 17:52 ` Taco Hoekwater
2009-04-17 18:28 ` Hans Hagen
0 siblings, 1 reply; 20+ messages in thread
From: Taco Hoekwater @ 2009-04-17 17:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hans Hagen wrote:
>> just to clarify things: on the download site in the garden, you write:
>> "This release has support for the new mkiv structure code, but it
>> needs a very new beta (2009.04.16 23:52)" The latest beta I could find
>> was 2009.04.16 22:27, and with this, I still get the error
>>
>> ! Undefined control sequence.
>> <argument> ... [\bibrefprefix ][\sectionseparator
>
> as i'm clueless about what the code does, can you add this to t-bib.mkiv
There is actually a pretty elaborate documentation string in the code :(
> \def\preparebibreflist#1%
> {\let\bibreflist\empty}
>
> and see if it solves the problem?
Unlikely. It will remove the error message, though. ;)
Here is the relevant bit of docs:
%D \macros{preparebibrefprefix}
%D
%D The reference list only writes bare references when the criterium
%D is `all'. Otherwise, a prefix is added to make sure that pdfTeX
%D does not encounter duplicate named references. On the generation
%D side, this is not a big problem. \type{\preparebibrefprefix}
%D creates a suitable string to prepend if a prefix is needed.
Or, in pseudo-input:
\chapter{...}
\section{...}
\placepublications[section]
\section{..}
\placepublications[section]
\section{All chapter refs}
\placepublications[chapter]
Can now work without crossreference key clashes, even though
each of the publication lists contains the same items (which
would all result in the same key names begin defined as cross-
reference labels if that prefix trickery was not in place)
But:
%D \macros{preparebibreflist}
%D
%D But this optional prefixing is a bit of a problem on the
%D other side. We would like to do \type{\goto{}[article-full]}
%D but can't do it like that, because the actual label may be
%D \type{1:2:0:3:4:article-full]} or so. The problem is solved
%D by building a commalist that looks like this:
%D \starttyping
%D \def\bibreflist%
%D {1:2:0:3:4:article-full,
%D 1:2:0:3:article-full,
%D 1:2:0:article-full,
%D 1:2:article-full,
%D 1:article-full,
%D article-full}
%D \stoptyping
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Bib module in mkiv
2009-04-17 17:52 ` Taco Hoekwater
@ 2009-04-17 18:28 ` Hans Hagen
0 siblings, 0 replies; 20+ messages in thread
From: Hans Hagen @ 2009-04-17 18:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
Taco Hoekwater wrote:
> Hans Hagen wrote:
>>> just to clarify things: on the download site in the garden, you
>>> write: "This release has support for the new mkiv structure code, but
>>> it needs a very new beta (2009.04.16 23:52)" The latest beta I could
>>> find was 2009.04.16 22:27, and with this, I still get the error
>>>
>>> ! Undefined control sequence.
>>> <argument> ... [\bibrefprefix ][\sectionseparator
>>
>> as i'm clueless about what the code does, can you add this to t-bib.mkiv
>
> There is actually a pretty elaborate documentation string in the code :(
>
>> \def\preparebibreflist#1%
>> {\let\bibreflist\empty}
>>
>> and see if it solves the problem?
>
> Unlikely. It will remove the error message, though. ;)
we use lists instead of references so it's probably ok
-----------------------------------------------------------------
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] 20+ messages in thread