[NTG-context] urls longer than 57 characters fail in the bibliography

taco taco at elvenkind.com
Thu May 27 22:40:34 CEST 2010


Michael Saunders wrote:
> \usemodule[bib]
> 
> \newcommand{\myurl}[2]{\useURL[#1][#2][][\hyphenatedurl{#2}]{\ss\from[#1]}}
> 
> \starttext
> \cite[test]
> \placepublications[criterium=all]
> \stoptext
> 
> works with:
> 
> @BOOK{test,
>   title = {test title},
>   publisher = {test title},
>   year = {2010},
>   author = {test author},
>   note = {\myurl{testurl}{123456789012345678901234567890123456789012345678901234567}}
> }
> 
> 
> but fails with:
> 
> note = {\myurl{testurl}{1234567890123456789012345678901234567890123456789012345678}}
> 
> however, this \myurl statement works in the body.

this is a bibtex bug (just look at the generated bbl file and you will 
see what happened). I don't think there is anything that can be done
about the bibtex output, so you will probably have to define the url
as a macro outside of the bib file

Best wishes,
Taco


More information about the ntg-context mailing list