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
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? Thomas
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
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
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
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
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
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
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/
Peter Münster wrote:
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!
as we're talking mkiv here ... remind me to look at it later, once we have completely split the tex end of the buffer code 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 -----------------------------------------------------------------
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 -----------------------------------------------------------------
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
participants (6)
-
Hans Hagen
-
Peter Münster
-
Taco Hoekwater
-
Thomas A. Schmitz
-
Thomas Prochaska
-
Wolfgang Schuster