Hi Peter,
2007/8/30, Peter Schorsch
Hi,
first thanks for your help. I got it working at the basic-level. I put it into a module for the case that other beginner looking for the bibitem-replacement. But two questions are left before I think, that the module could be uploaded to the wiki:
- how to make the 12*broad flexible? \currentmoduleparamter{itemspace}*broad is not working :-( - how to make that the \item are right-aligned? itemalign=right is also not working
Here is the module-code followed by an appliance-example: -------the module:
\startmodule[biblist]
\unprotect
%\setupmodule[itemspace=12]
\defineitemgroup[bibliography] \setupitemgroup[bibliography][levels=1,left={[},right={]},stopper=] \setupitemgroup[bibliography][1][n,12*broad] %\setupitemgroup[bibliography][1][n \currentmoduleparameter{itemspace}*broad]
Replace this line with \expanded{\setupitemgroup[bibliography][1][n,\currentmoduleparameter{itemspace}*broad]} to force expansion of \currentmoduleparameter. You can also use \setupbibliography as a abbreviation for \setupitemgroup[bibliography] Wolfgang
\def\bibitem[#1]#2{\doifemptyelse{#2} {\item[#1]} {\sym{\cap{#2}}\textreference[#1]{\cap{#2}}}}
\def\bibref[#1]#2{\doifemptyelse{#2} {[\in[#1]]} {[\in[#1], #2]}}
\protect \stopmodule \endinput
-------how to use:
\usemodule[biblist]
\starttext
\section{hamha} asdfklsj fk~\bibref[keykeykey]{}
\section{dumdidim} asdfsaff alfs hfdsj~\bibref[aha]{Abs. 4.1/1}
\subject{Bibliography}
\subsubject{hamha} \startbibliography \bibitem[keykeykey]{Der Schlüssel} erstes \stopbibliography
\subsubject{dumdidim} \startbibliography[continue] \bibitem[aha]{} zweites \stopbibliography
\stoptext